Bug #59167 | Sunstudio12.2 and MySQL 5.5.8 GA compile bug on Solaris express 11 | ||
---|---|---|---|
Submitted: | 25 Dec 2010 15:03 | Modified: | 4 Mar 2013 16:46 |
Reporter: | Shailesh Tyagi | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 5.5.8, 5.5.13 | OS: | Solaris (solaris express 11) |
Assigned to: | CPU Architecture: | Any | |
Tags: | mysql-5.5.8, sunstudio12.2 |
[25 Dec 2010 15:03]
Shailesh Tyagi
[1 Feb 2011 8:01]
Valeriy Kravchuk
Please, send the output of: uname -a from your OS.
[2 Mar 2011 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[14 Jun 2011 12:20]
Martin Matuska
I can confirm this bug. It is reproducible on Solaris 10 and OpenSolaris. MySQL version: 5.5.13 Uname output; SunOS db8 5.10 Generic_144489-06 i86pc i386 i86pc Solaris Compiler: Oracle Solaris Studio 12.2 CFLAGS: -xO4 Error message: [ 12%] Building C object mysys/CMakeFiles/mysys.dir/my_rdtsc.c.o cd /usr/ports/mysql/build/mysql-5.5.13/mysys && /opt/solstudio12.2/bin/cc -DHAVE_RWLOCK_T -DDBUG_OFF -DHAVE_CONFIG_H -xO4 -I/usr/local/include -I/usr/ports/mysql/build/mysql-5.5.13/include -I/usr/ports/mysql/build/mysql-5.5.13/mysys -KPIC /usr/ports/mysql/build/mysql-5.5.13/mysys/my_timer_cycles.il -o CMakeFiles/mysys.dir/my_rdtsc.c.o -c /usr/ports/mysql/build/mysql-5.5.13/mysys/my_rdtsc.c ube: error: Invalid argument number '0' is used in GASM Inlining cc: ube failed for /usr/ports/mysql/build/mysql-5.5.13/mysys/my_rdtsc.c Workaround: do not use any -xO[0-4] optimization
[9 Sep 2011 13:55]
Laurynas Biveinis
For the record, Sun Studio 12.3 beta is able to proceed past that point with optimizations turned on.
[17 Dec 2011 18:56]
Valeriy Kravchuk
So, can we consider this a problem of Sun Studio 12.2 more than MySQL's code?
[19 Dec 2011 13:50]
Laurynas Biveinis
It seems so: http://wesunsolve.net/bugid/id/6984401
[4 Mar 2013 16:46]
Yngve Svendsen
Problem was due to issues with Sun Studio 12.2
[16 Jun 2013 5:00]
Colin MacKenzie
Verified. Error exists in SolStudio 12.2 but 12.3 compiles it fine! Thanks