Bug #74395 Alignment problems and wrong varargs usage
Submitted: 15 Oct 2014 11:12 Modified: 24 Oct 2014 16:19
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

[15 Oct 2014 11:12] Tor Didriksen
Description:
Misc coredumps and wrong output when building 32bit on solaris

How to repeat:
Build on sparc/solaris 
-DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32

Suggested fix:
Fix alignment problems.
Use correct arguments when calling vararg functions.
[24 Oct 2014 16:19] Paul DuBois
Noted in 5.7.6 changelog.

For 32-bit Solaris builds, alignment problems resulting from improper
use of varargs function arguments caused core dumps and incorrect
output.