Comments - 64bit compile of MariaDB 10.0.21 for Solaris 10 (sparc)
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
Re: 64bit compile of MariaDB 10.0.21 for Solaris 10 (sparc) I guess you had configured the build for 32 bits, but somehow got your settings changed to 64 bit builds, with some manual work I guess . Maybe you built 32 bit in the same directory before or something.
Please check the definition of SIZEOF_LONG , SIZEOF_VOIDP , SIZEOF_CHARP , SIZEOF_SIZE_T constants in my_config.h . They should be 8 in your case, but I suspect it is 4. My advice would be to dump the BUILD scripts entirely, and just do pure cmake, and a build from scratch, and do not build in the source directory. The whole procedure could look similar to the below
Thats it, this will create an optimized build, you might not really want -DBUILD_CONFIG=mysql_release