Bug #80445 Initialization of transaction delegates failed. Please report a bug.
Submitted: 19 Feb 2016 14:39 Modified: 23 Feb 2016 15:31
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7.12 OS:Any
Assigned to: CPU Architecture:Any

[19 Feb 2016 14:39] Tor Didriksen
Description:
The build is broken on solaris 11, 32bit mode

How to repeat:
SunOS hypra08 5.11 11.1 sun4u sparc SUNW,SPARC-Enterprise

cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DWITH_DEBUG=1 

MySQL is unable to bootstrap.

Suggested fix:
in delegates_init()

MY_ALIGNOF(long) is wrong.
[23 Feb 2016 15:31] Paul DuBois
Noted in 5.7.12, 5.8.0 changelogs.

The MySQL server failed to start if built with the -m32 option on
Solaris/Sparc, due to improper static data alignment in
init_delegates().