Bug #69639 mysql failed to build with dtrace Sun D 1.11

Submitted: 1 Jul 2013 18:12 Modified: 24 Apr 2018 11:52
Reporter: Sergei Glushchenko Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5, 5.6 OS:Other (Joyent SmartOS)
Assigned to: CPU Architecture:Any
Tags: DTrace, SmartOS

[1 Jul 2013 18:12] Sergei Glushchenko
Description:
MySQL Server fails to compile with error messages like:

Linking CXX static library libpartition.a
dtrace: failed to link script /var/ps/mysql-5.5.31/include/probes_mysql.d: No probe sites found for declared provider
ar: cannot open /var/ps/mysql-5.5.31/sql/CMakeFiles/partition.dir/partition_dtrace.o: No such file or directory
ar: /var/ps/mysql-5.5.31/sql/CMakeFiles/partition.dir/partition_dtrace.o not found
gmake[2]: *** [sql/libpartition.a] Error 1
gmake[1]: *** [sql/CMakeFiles/partition.dir/all] Error 2
gmake: *** [all] Error 2

additional info:
root@00-1c-42-41-f2-a1 /var/ps/mysql-5.5.31]# dtrace -V
dtrace: Sun D 1.11
[root@00-1c-42-41-f2-a1 /var/ps/mysql-5.5.31]# uname -a
SunOS 00-1c-42-41-f2-a1 5.11 joyent_20130613T201213Z i86pc i386 i86pc

How to repeat:
Get latest SmartOS image from Joyent, try to compile MySQL

Suggested fix:
Do not invoke `dtrace -G` for plugins which are not instrumented with DTrace. Fix --disable-dtrace option for configure script.
[10 Jul 2013 12:41] Alasdair Lumsden
We're also seeing this on the latest SmartOS images and would really appreciate a patch of some kind.
[24 Apr 2018 11:52] Yngve Svendsen
Unsupported platform.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 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.