- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2021-3-8 09:07:16
|
显示全部楼层
[ 59%] Linking CXX executable ../../../../runtime_output_directory/protoc
/usr/bin/ld: ../../../../library_output_directory/libprotobuf.so.3.6.1: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: *** [extra/protobuf/protobuf-3.6.1/cmake/CMakeFiles/protoc.dir/build.make:87: runtime_output_directory/protoc] Error 1
make[1]: *** [CMakeFiles/Makefile2:1232: extra/protobuf/protobuf-3.6.1/cmake/CMakeFiles/protoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Linking CXX executable ../../../../runtime_output_directory/mysqlrouter_plugin_info
[ 59%] Built target mysqlrouter_plugin_info
[ 59%] Linking CXX executable ../../../runtime_output_directory/pfs_account-oom-t
/usr/bin/ld: ../libperfschema.a(pfs_digest.cc.o): in function `PFS_statements_digest_stat::reset_data(unsigned char*, unsigned int, char*)':
/usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../libperfschema.a(pfs_instr.cc.o): in function `init_instruments(PFS_global_param const*)':
/usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../libperfschema.a(pfs_instr.cc.o): in function `create_thread(PFS_thread_class*, void const*, unsigned long long)':
/usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: ../libperfschema.a(pfs_histogram.cc.o): in function `PFS_histogram::reset()':
/usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../libperfschema.a(pfs.cc.o): in function `pfs_end_statement_v2(PSI_statement_locker*, void*)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../../../archive_output_directory/libmysys.a(my_rdtsc.cc.o): in function `my_timer_microseconds()':
/usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: *** [storage/perfschema/unittest/CMakeFiles/pfs_account-oom-t.dir/build.make:99: runtime_output_directory/pfs_account-oom-t] Error 1
make[1]: *** [CMakeFiles/Makefile2:3253: storage/perfschema/unittest/CMakeFiles/pfs_account-oom-t.dir/all] Error 2
这个是mysql 8.0的兼容性问题,可以参考:https://bbs.vpser.net/thread-19261-1-1.html 试一下 |
|