Bug #91214 ADD SUPPORT FOR SOLARIS STUDIO 12.6 AKA 5.15

Submitted: 11 Jun 2018 14:27 Modified: 13 Jun 2018 18:31
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[11 Jun 2018 14:27] Tor Didriksen
Description:
This is a followup to
Bug#27055190 ADD SUPPORT FOR SOLARIS STUDIO 12.6 AKA 5.15

There are a few lines that fail to compile with:
Error: Use of overloaded binary operator '<<' is ambiguous.

There are a few files that fail to compile with:
Error: Use of overloaded binary operator '+=' is ambiguous.

X plugin tests fail with:
mysqltest: At line 13: Query 'INSTALL COMPONENT "file://component_mysqlx_global_reset"' failed.
ERROR 3529 (HY000): Cannot load component from specified URN: 'file://component_mysqlx_global_reset'.
This is because the function 'list_components' is hidden and not found by dlsym()
nm plugin/x/CMakeFiles/component_mysqlx_global_reset.dir/src/components/global_status_reset.cc.o 
[15]    |                 576|                  60|FUNC |LOCL |0    |2      |list_components

How to repeat:
Build with /opt/developerstudio12.6/bin/CC

Suggested fix:
Use <var>.load() when printing atomic variables.

Add operator+=() for the failed/missing overload.

Move definition of list_components out of the anonymous namespace.
[11 Jun 2018 14:39] Tor Didriksen
Posted by developer:
 
This test still fails
main.ctype_latin2_ch                     [ fail ]

lots of these:
 select hex(weight_string('abc' as char(5)));
 hex(weight_string('abc' as char(5)))
-0304050103090A01030F1101030F1100
+0304050103040A0103041101030F1100
[13 Jun 2018 18:31] Paul DuBois
Posted by developer:
 
Fixed in 8.0.13.

On Solaris, MySQL can now be built with Developer Studio 12.6.

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

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