Bug #73826 cannot build mysql with DTrace on Solaris 11.2
| Submitted: | 6 Sep 2014 17:35 | Modified: | 10 Oct 2014 21:37 |
|---|---|---|---|
| Reporter: | Eugene Zheganin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 5.6.20 | OS: | Solaris |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | dtrace compilation | ||
[6 Sep 2014 17:35]
Eugene Zheganin
[6 Sep 2014 21:11]
MySQL Verification Team
Please check for duplicate with http://bugs.mysql.com/bug.php?id=69639 . Thanks.
[7 Sep 2014 6:19]
Eugene Zheganin
Doesn't seem like the duplicate to the bug you showed. This is indeed, the bug about dtrace too, but mine is about linking errors, and #73826 is about dtrace template (.d) missing in some case, thus leading to object compilation errors, and everything else.
[9 Sep 2014 12:31]
MySQL Verification Team
Hello Eugene Zheganin, Thank you for the bug report. I'm able to reproduce this issue. Thanks, Umesh
[9 Sep 2014 12:32]
MySQL Verification Team
Build details
Attachment: 73826.txt (text/plain), 78.20 KiB.
[11 Sep 2014 10:32]
Bjørn Munch
The underlying cause of this failure is that dtrace now identifies itself as 'Oracle' instead of 'Sun'. This confuses cmake which makes the wrong assumptions about dtrace support. A workaround is to add -DHAVE_REAL_DTRACE_INSTRUMENTING=ON to the cmake command, this should force it to treat dtrace the proper way. At least it built for me when I used this.
[30 Sep 2014 15:36]
MySQL Verification Team
Patched results
Attachment: 73826_patched.txt (text/plain), 122.75 KiB.
[10 Oct 2014 21:37]
Paul DuBois
Noted in 5.6.22, 5.7.6 changelogs. In Solaris 11.2, "dtrace -V" output changed from "Sun D" to "Oracle D", causing detection of DTrace availability to failure during MySQL configuration.
[10 Dec 2014 13:19]
Laurynas Biveinis
$ bzr log -r 6190 ------------------------------------------------------------ revno: 6190 committer: Praveenkumar Hulakund <praveenkumar.hulakund@oracle.com> branch nick: mysql-5.6 timestamp: Tue 2014-10-07 15:39:51 +0530 message: Bug#19586917 - cannot build mysql with dtrace on solaris 11.2 On Solaris 11.2, "dtrace -V" output changed from "Sun D" to "Oracle D". Because of this detection of real dtrace was failing. Changed code in file dtrace.make to check "Sun D" or "Oracle D" from "dtrace -V" output to fix this issue.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.061 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.