Bug #81274 Add support for Solaris Studio 12.5 aka 5.14
Submitted: 2 May 2016 12:02 Modified: 9 May 2016 14:25
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[2 May 2016 12:02] Tor Didriksen
Description:
Adapt our cmake scripts to support Solaris Studio 12.5 aka 5.14
The compiler is currently in Beta, soon to be released.

How to repeat:
Build with tools from developerstudio12.5/bin

Suggested fix:
Build mysqlpump with Solaris Studio: add workaround for vtable bug.

Remove '-Xa' from COMMON_C_FLAGS (prefer ISO C rather than K&R C semantics)
It is not needed, and it cannot be used together with the -std=xxx flag.

Parse new output from 'CC -V'

Add libatomic.so to CMAKE_REQUIRED_LIBRARIES.
This allows us to use gcc atomics with Solaris Studio in InnoDB code.
[9 May 2016 14:25] Paul DuBois
Posted by developer:
 
Noted in 5.7.14 changelog.

CMake support for compiling with Solaris Studio 12.5 was added.