Hi, Im trying to compile mysql-5.6.10 for Solaris10 for sparc, I used the following parameters for cmake to get it to work, but at 80% the compilation fails.
WITH_INNOBASE_STORAGE_ENGINE=1 DEFAULT_CHARSET=utf8 CMAKE_C_FLAGS="-m64" CMAKE_C_COMPILER=/opt/csw/bin/gcc CMAKE_CXX_FLAGS="-m64" CMAKE_CXX_COMPILER=/opt/csw/bin/g++ Other options are default. The error which is thrown to me is the following ========================>>>>>>>>>>>>>>>> [ 80%] Built target pfs_user-oom-t [ 80%] Built target mysqld_dtrace_all [ 80%] Built target mysqld [ 80%] Built target mysqlservices Linking CXX shared module semisync_master.so ld: fatal: file /export/home/builder/manual/mysql-5.6.10/mysql-5.6.10/plugin/semisync/CMakeFiles/semisync_master.dir/semisync_master_dtrace.o: wrong ELF class: ELFCLASS64 ld: fatal: file processing errors. No output written to semisync_master.so *** Error code 1 The following command caused the error: cd /export/home/builder/manual/mysql-5.6.10/mysql-5.6.10/plugin/semisync && /opt/csw/bin/cmake -E cmake_link_script CMakeFiles/semisync_master.dir/link.txt --verbose= make: Fatal error: Command failed for target `plugin/semisync/semisync_master.so' Current working directory /export/home/builder/manual/mysql-5.6.10/mysql-5.6.10 *** Error code 1 The following command caused the error: make -f plugin/semisync/CMakeFiles/semisync_master.dir/build.make plugin/semisync/CMakeFiles/semisync_master.dir/build make: Fatal error: Command failed for target `plugin/semisync/CMakeFiles/semisync_master.dir/all' Current working directory /export/home/builder/manual/mysql-5.6.10/mysql-5.6.10 *** Error code 1 The following command caused the error: make -f CMakeFiles/Makefile2 all make: Fatal error: Command failed for target `all' <<<<<<<<<<<<<<<<======================== >From my understanding I have an issue with "wrong ELF class: ELFCLASS64" and since the object is "semisync_master_dtrace.o: ELF 64-bit MSB relocatable SPARCV9 Version 1" my guess would be there is some mixup with 32 and 64bit somewhere, but to be honest I have no clue where to start to fix this issue, which is why I came here ;). Any help is greatly appreciated, thanks in advance, cheers Felix -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql