Good day!
I have a server
And on that server works several jails. One named db_mysql has mysql57-{server,client}.
And I'm update ports in that jail with portmaster. It stops on Linking stage with error:
What cause that error?
I have a server
uname -a
Code:
FreeBSD db_mysql 11.2-STABLE FreeBSD 11.2-STABLE #0 r338358: Thu Aug 30 01:29:38 +05 2018 user@BSD-TENNIS:/usr/obj/usr/src/sys/BSDSERV i386
pkg info | grep mysql
Code:
mysql57-client-5.7.21_1 Multithreaded SQL database (client)
mysql57-server-5.7.21_1 Multithreaded SQL database (server)
Code:
[100%] Linking CXX executable mysqlpump
cd /var/ports/sharedfs/usr/ports/databases/mysql57-client/work/.build/client/dump && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mysqlpump.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -pipe -march=pentium4 -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -O2 -pipe -march=pentium4 -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DDBUG_OFF -fstack-protector CMakeFiles/mysqlpump.dir/program.cc.o -o mysqlpump -Wl,-rpath,/usr/local/lib: -pthread ../../archive_output_directory/libmysqlpump_lib.a ../../archive_output_directory/libboost_lib.a ../../archive_output_directory/libclient_base.a ../../archive_output_directory/libmysqlclient.a -lz -lm -lrt -lexecinfo -lssl -lcrypto /usr/local/lib/liblz4.so -pthread
CMakeFiles/mysqlpump.dir/program.cc.o: In function `Mysql::Tools::Dump::Program::error(Mysql::Tools::Base::Message_data const&)':
program.cc:(.text+0x40c): undefined reference to `__atomic_store_8'
CMakeFiles/mysqlpump.dir/program.cc.o: In function `Mysql::Tools::Dump::Program::get_error_code()':
program.cc:(.text+0x98f): undefined reference to `__atomic_load_8'
CMakeFiles/mysqlpump.dir/program.cc.o: In function `Mysql::Tools::Dump::Program::Program()':
program.cc:(.text+0x13c0): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(object_queue.cc.o): In function `Mysql::Tools::Dump::Object_queue::queue_thread()':
object_queue.cc:(.text+0x26a): undefined reference to `__atomic_store_8'
object_queue.cc:(.text+0x27e): undefined reference to `__atomic_load_8'
../../archive_output_directory/libmysqlpump_lib.a(object_queue.cc.o): In function `Mysql::Tools::Dump::Object_queue::stop_queue()':
object_queue.cc:(.text+0x384): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(object_queue.cc.o): In function `Mysql::Tools::Dump::Object_queue::~Object_queue()':
object_queue.cc:(.text+0x739): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(object_queue.cc.o): In function `Mysql::Tools::Dump::Object_queue::Object_queue(Mysql::I_callable<bool, Mysql::Tools::Base::Message_data const&>*, Mysql::Tools::Dump::Simple_id_generator*, unsigned int, Mysql::I_callable<void, bool>*, Mysql::Tools::Base::Abstract_program*)':
object_queue.cc:(.text+0xe41): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(object_queue.cc.o): In function `Mysql::Tools::Dump::Object_queue::Object_queue(Mysql::I_callable<bool, Mysql::Tools::Base::Message_data const&>*, Mysql::Tools::Dump::Simple_id_generator*, unsigned int, Mysql::I_callable<void, bool>*, Mysql::Tools::Base::Abstract_program*)':
object_queue.cc:(.text+0x108c): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(simple_id_generator.cc.o): In function `Mysql::Tools::Dump::Simple_id_generator::Simple_id_generator()':
simple_id_generator.cc:(.text+0x1a): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(simple_id_generator.cc.o): In function `Mysql::Tools::Dump::Simple_id_generator::create_id()':
simple_id_generator.cc:(.text+0x4a): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(standard_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Standard_progress_watcher::process_progress_step(Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data&)':
standard_progress_watcher.cc:(.text+0x3c): undefined reference to `__atomic_load_8'
standard_progress_watcher.cc:(.text+0x6d): undefined reference to `__atomic_load_8'
standard_progress_watcher.cc:(.text+0x9a): undefined reference to `__atomic_load_8'
standard_progress_watcher.cc:(.text+0xc4): undefined reference to `__atomic_load_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_chain_element.cc.o): In function `Mysql::Tools::Dump::Abstract_chain_element::Abstract_chain_element(Mysql::I_callable<bool, Mysql::Tools::Base::Message_data const&>*, Mysql::Tools::Dump::Simple_id_generator*)':
abstract_chain_element.cc:(.text+0x7c): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_chain_element.cc.o): In function `Mysql::Tools::Dump::Abstract_chain_element::Abstract_chain_element(Mysql::I_callable<bool, Mysql::Tools::Base::Message_data const&>*, Mysql::Tools::Dump::Simple_id_generator*)':
abstract_chain_element.cc:(.text+0x189): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_crawler.cc.o): In function `Mysql::Tools::Dump::Abstract_crawler::process_dump_task(Mysql::Tools::Dump::I_dump_task*)':
abstract_crawler.cc:(.text+0x29a): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::progress_changed()':
abstract_progress_watcher.cc:(.text+0x2c): undefined reference to `__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x152): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x203): undefined reference to `__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x230): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x241): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x25a): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x267): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x280): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x28d): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x2b8): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data::operator-(Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data const&)':
abstract_progress_watcher.cc:(.text+0x303): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x315): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x327): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x334): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x345): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x358): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x375): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x38a): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x39f): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x3bd): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x3d2): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x3e7): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data::operator=(Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data const&)':
abstract_progress_watcher.cc:(.text+0x42f): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x43e): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x458): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x465): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x480): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x48d): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::Abstract_progress_watcher(Mysql::I_callable<bool, Mysql::Tools::Base::Message_data const&>*, Mysql::Tools::Dump::Simple_id_generator*)':
abstract_progress_watcher.cc:(.text+0x514): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x526): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x538): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x54a): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o):abstract_progress_watcher.cc:(.text+0x55c): more undefined references to `__atomic_store_8' follow
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::object_processing_ended(Mysql::Tools::Dump::Item_processing_data*)':
abstract_progress_watcher.cc:(.text+0x70e): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::new_chain_created(Mysql::Tools::Dump::Item_processing_data*)':
abstract_progress_watcher.cc:(.text+0x7d7): undefined reference to `__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x7f0): undefined reference to `__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x809): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data::Progress_data(Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data const&)':
abstract_progress_watcher.cc:(.text+0x86f): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x87e): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x898): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x8a5): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x8c0): undefined reference to `__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x8cd): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher.cc.o): In function `Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data::Progress_data()':
abstract_progress_watcher.cc:(.text+0x90c): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x91e): undefined reference to `__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x930): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_simple_dump_task.cc.o): In function `Mysql::Tools::Dump::Abstract_simple_dump_task::set_completed()':
abstract_simple_dump_task.cc:(.text+0x24): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_simple_dump_task.cc.o): In function `Mysql::Tools::Dump::Abstract_simple_dump_task::is_completed() const':
abstract_simple_dump_task.cc:(.text+0x5a): undefined reference to `__atomic_load_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_simple_dump_task.cc.o): In function `Mysql::Tools::Dump::Abstract_simple_dump_task::Abstract_simple_dump_task()':
abstract_simple_dump_task.cc:(.text+0xcb): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(item_processing_data.cc.o): In function `Mysql::Tools::Dump::Item_processing_data::Item_processing_data(Mysql::Tools::Dump::Chain_data*, Mysql::Tools::Dump::I_dump_task*, Mysql::Tools::Dump::I_chain_element*, Mysql::I_callable<void, Mysql::Tools::Dump::Item_processing_data*> const*, Mysql::Tools::Dump::Item_processing_data*)':
item_processing_data.cc:(.text+0x3c): undefined reference to `__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(item_processing_data.cc.o): In function `Mysql::Tools::Dump::Item_processing_data::start_processing()':
item_processing_data.cc:(.text+0xbe): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(item_processing_data.cc.o): In function `Mysql::Tools::Dump::Item_processing_data::end_processing()':
item_processing_data.cc:(.text+0xee): undefined reference to `__atomic_fetch_add_8'
../../archive_output_directory/libmysqlpump_lib.a(item_processing_data.cc.o): In function `Mysql::Tools::Dump::Item_processing_data::call_completion_callback_at_end()':
item_processing_data.cc:(.text+0x17b): undefined reference to `__atomic_load_8'
../../archive_output_directory/libclient_base.a(mysql_query_runner.cc.o): In function `Mysql::Tools::Base::Mysql_query_runner::Mysql_query_runner(st_mysql*)':
mysql_query_runner.cc:(.text+0x53): undefined reference to `__atomic_store_8'
../../archive_output_directory/libclient_base.a(mysql_query_runner.cc.o): In function `Mysql::Tools::Base::Mysql_query_runner::run_query(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
mysql_query_runner.cc:(.text+0x5bd): undefined reference to `__atomic_compare_exchange_8'
mysql_query_runner.cc:(.text+0x607): undefined reference to `__atomic_store_8'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [client/dump/mysqlpump] Error code 1
make[4]: stopped in /var/ports/sharedfs/usr/ports/databases/mysql57-client/work/.build
1 error
make[4]: stopped in /var/ports/sharedfs/usr/ports/databases/mysql57-client/work/.build
*** [client/dump/CMakeFiles/mysqlpump.dir/all] Error code 2
make[3]: stopped in /var/ports/sharedfs/usr/ports/databases/mysql57-client/work/.build
1 error