MySQL Forums
Forum List  »  Source, Builds, Binaries

Failed to buil for ppc 32bits
Posted by: pedro pol
Date: November 18, 2016 06:27AM

I'm building mysql communitiy server from sources for a processor based on ppc 32 bits core e500mc.

I have this error with make

root@:~/fuentes/mysql-5.7.16/sql# make
[ 0%] Built target gen_lex_hash
[ 0%] Built target comp_sql
[ 0%] Built target GenSysSchema
[ 2%] Built target strings
[ 5%] Built target taocrypt
[ 8%] Built target yassl
[ 8%] Built target zlib
[ 16%] Built target mysys
[ 16%] Built target dbug
[ 19%] Built target mysys_ssl
[ 19%] Built target comp_err
[ 19%] Built target GenError
[ 19%] Built target archive
[ 19%] Built target blackhole
[ 22%] Built target heap
[ 22%] Built target federated
[ 22%] Built target csv
[ 25%] Built target lz4_lib
[ 38%] Built target innobase
[ 41%] Built target myisammrg
g[ 55%] Built target perfschema
[ 55%] Built target ngram_parser [ 55%] Built target partition
[ 61%] Built target myisam
[ 63%] Built target vio
[ 66%] Built target regex
[ 69%] Built target binlogevents_static
[ 69%] Built target GenServerSource
[ 69%] Built target gen_lex_token
[ 69%] Built target GenDigestServerSource
[ 69%] Built target GenBootstrapPriv
[ 97%] Built target sql
[ 97%] Built target slave
[ 97%] Built target rpl
[ 97%] Built target master
[100%] Built target binlog
[100%] Linking CXX executable mysqld
libsql.a(mysqld.cc.o): In function `Atomic_int64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
libsql.a(mysqld.cc.o): In function `my_atomic_store64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
libsql.a(mdl.cc.o): In function `MDL_lock::fast_path_state_cas(long long*, long long)':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
libsql.a(mdl.cc.o): In function `my_atomic_store64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
libsql.a(mdl.cc.o): In function `MDL_lock::fast_path_state_cas(long long*, long long)':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
libsql.a(mdl.cc.o): In function `my_atomic_cas64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
libsql.a(mdl.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(mdl.cc.o): In function `my_atomic_cas64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
libsql.a(mdl.cc.o):/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: more undefined references to `__atomic_compare_exchange_8' follow
libsql.a(mdl.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(mdl.cc.o): In function `my_atomic_cas64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
libsql.a(mdl.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(sp_head.cc.o): In function `my_atomic_load64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
libsql.a(sql_parse.cc.o): In function `next_query_id':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(sql_parse.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libbinlog.a(rpl_gtid_persist.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libbinlog.a(rpl_gtid_persist.cc.o): In function `my_atomic_store64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
libbinlog.a(log_event.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libbinlog.a(binlog.cc.o): In function `my_atomic_cas64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:30: undefined reference to `__atomic_compare_exchange_8'
libbinlog.a(binlog.cc.o): In function `my_atomic_load64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
libbinlog.a(binlog.cc.o): In function `Logical_clock::get_timestamp()':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
libbinlog.a(binlog.cc.o): In function `my_atomic_load64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
libbinlog.a(binlog.cc.o): In function `Logical_clock::get_timestamp()':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
../storage/innobase/libinnobase.a(handler0alter.cc.o): In function `ha_innobase::prepare_inplace_alter_table(TABLE*, Alter_inplace_info*)':
/home/root/fuentes/mysql-5.7.16/storage/innobase/handler/handler0alter.cc:5382: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(handler0alter.cc.o): In function `ha_innobase::commit_inplace_alter_table(TABLE*, Alter_inplace_info*, bool)':
/home/root/fuentes/mysql-5.7.16/storage/innobase/handler/handler0alter.cc:8162: undefined reference to `__atomic_fetch_sub_8'
/home/root/fuentes/mysql-5.7.16/storage/innobase/handler/handler0alter.cc:8807: undefined reference to `__atomic_fetch_sub_8'
../storage/innobase/libinnobase.a(handler0alter.cc.o): In function `rollback_inplace_alter_table(Alter_inplace_info*, TABLE const*, row_prebuilt_t*)':
/home/root/fuentes/mysql-5.7.16/storage/innobase/handler/handler0alter.cc:6604: undefined reference to `__atomic_fetch_sub_8'
../storage/innobase/libinnobase.a(os0file.cc.o): In function `os_file_pread':
/home/root/fuentes/mysql-5.7.16/storage/innobase/os/os0file.cc:5605: undefined reference to `__atomic_fetch_sub_8'
/home/root/fuentes/mysql-5.7.16/storage/innobase/os/os0file.cc:5600: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(os0file.cc.o): In function `os_file_pwrite':
/home/root/fuentes/mysql-5.7.16/storage/innobase/os/os0file.cc:5522: undefined reference to `__atomic_fetch_sub_8'
/home/root/fuentes/mysql-5.7.16/storage/innobase/os/os0file.cc:5517: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(row0merge.cc.o): In function `row_merge_tmpfile_if_needed':
/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0merge.cc:1455: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(row0merge.cc.o): In function `row_merge_file_create_if_needed':
/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0merge.cc:1477: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(row0merge.cc.o): In function `row_merge_build_indexes(trx_t*, dict_table_t*, dict_table_t*, bool, dict_index_t**, unsigned long const*, unsigned long, TABLE*, dtuple_t const*, unsigned long const*, unsigned long, ib_sequence_t&, bool, ut_stage_alter_t*, dict_add_v_col_t const*, TABLE*)':
/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0merge.cc:4616: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(row0log.cc.o): In function `row_log_tmpfile':
/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0log.cc:225: undefined reference to `__atomic_fetch_add_8'
../storage/innobase/libinnobase.a(row0log.cc.o):/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0log.cc:3204: more undefined references to `__atomic_fetch_add_8' follow
../storage/innobase/libinnobase.a(row0log.cc.o): In function `row_log_free(row_log_t*&)':
/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0log.cc:3216: undefined reference to `__atomic_fetch_sub_8'
../storage/innobase/libinnobase.a(row0log.cc.o): In function `row_log_tmpfile':
/home/root/fuentes/mysql-5.7.16/storage/innobase/row/row0log.cc:225: undefined reference to `__atomic_fetch_add_8'
../storage/perfschema/libperfschema.a(pfs_instr.cc.o): In function `PFS_atomic::add_u64(unsigned long long*, unsigned long long)':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(mysqld_thd_manager.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(bootstrap.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(sp_cache.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(sp_cache.cc.o): In function `my_atomic_load64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
libsql.a(sp_instr.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libsql.a(connection_handler_per_thread.cc.o): In function `Global_THD_manager::inc_thread_created()':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libslave.a(rpl_rli_pdb.cc.o): In function `my_atomic_load64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
libslave.a(rpl_mts_submode.cc.o): In function `my_atomic_store64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:86: undefined reference to `__atomic_store_8'
libslave.a(rpl_mts_submode.cc.o): In function `my_atomic_add64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:46: undefined reference to `__atomic_fetch_add_8'
libslave.a(rpl_mts_submode.cc.o): In function `my_atomic_load64':
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
/home/root/fuentes/mysql-5.7.16/include/atomic/gcc_atomic.h:71: undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make[2]: *** [sql/mysqld] Error 1
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2
make: *** [all] Error 2

Options: ReplyQuote


Subject
Views
Written By
Posted
Failed to buil for ppc 32bits
674
November 18, 2016 06:27AM


Sorry, you can't reply to this topic. It has been closed.

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.