Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2018 14:21:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229605] mysql57-client fails to compile on 11.2-RELEASE (i386) (__atomic_load_8,__atomic_load_8 etc. unresolved)
Message-ID:  <bug-229605-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229605

            Bug ID: 229605
           Summary: mysql57-client fails to compile on 11.2-RELEASE (i386)
                    (__atomic_load_8,__atomic_load_8 etc. unresolved)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mmokhi@freebsd.org
          Reporter: gbromov@gmail.com
          Assignee: mmokhi@freebsd.org
             Flags: maintainer-feedback?(mmokhi@freebsd.org)

# uname -a
FreeBSD bsd 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:09:=
26
UTC 2018     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

/usr/ports/databases/mysql57-client# make MAKE_JOBS_UNSAFE=3Dyes
... snipped ..
[ 98%] Linking CXX executable ../mysqlpump
cd /usr/ports/databases/mysql57-client/work/.build/client/dump &&
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/mysqlpump.dir/link.txt
--verbose=3D1
/usr/bin/c++  -O2 -pipe -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 -fstack-protector
-isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/inclu=
de
-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 -ls=
sl
-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+0x40d): 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+0x25a): undefined reference to `__atomic_store_8'
object_queue.cc:(.text+0x271): 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+0x374): 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<v=
oid,
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<v=
oid,
bool>*, Mysql::Tools::Base::Abstract_program*)':
object_queue.cc:(.text+0x107c): 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+0x29): undefined reference to
`__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x113): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x1c0): undefined reference to
`__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x1f0): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x201): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x21d): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x22a): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x246): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x253): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x281): 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-(My=
sql::Tools::Dump::Abstract_progress_watcher::Progress_data
const&)':
abstract_progress_watcher.cc:(.text+0x2d3): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x2e5): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x2f7): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x304): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x315): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x328): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x348): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x35d): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x372): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x393): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x3a8): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x3bd): 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=3D(=
Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data
const&)':
abstract_progress_watcher.cc:(.text+0x402): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x411): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x42b): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x43c): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x457): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x468): 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(M=
ysql::I_callable<bool,
Mysql::Tools::Base::Message_data const&>*,
Mysql::Tools::Dump::Simple_id_generator*)':
abstract_progress_watcher.cc:(.text+0x4f4): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x506): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x518): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x52a): undefined reference to
`__atomic_store_8'
../../archive_output_directory/libmysqlpump_lib.a(abstract_progress_watcher=
.cc.o):abstract_progress_watcher.cc:(.text+0x53c):
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(Mys=
ql::Tools::Dump::Item_processing_data*)':
abstract_progress_watcher.cc:(.text+0x6ee): 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::To=
ols::Dump::Item_processing_data*)':
abstract_progress_watcher.cc:(.text+0x7b7): undefined reference to
`__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x7d0): undefined reference to
`__atomic_fetch_add_8'
abstract_progress_watcher.cc:(.text+0x7e9): 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_dat=
a(Mysql::Tools::Dump::Abstract_progress_watcher::Progress_data
const&)':
abstract_progress_watcher.cc:(.text+0x852): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x861): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x87b): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x88c): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x8a7): undefined reference to
`__atomic_load_8'
abstract_progress_watcher.cc:(.text+0x8b8): 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_dat=
a()':
abstract_progress_watcher.cc:(.text+0x8fc): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x90e): undefined reference to
`__atomic_store_8'
abstract_progress_watcher.cc:(.text+0x920): 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::Tool=
s::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_stor=
e_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_loa=
d_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<c=
har,
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 invocatio=
n)
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/databases/mysql57-client/work/.build
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/databases/mysql57-client/work/.build
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/databases/mysql57-client/work/.build
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql57-client
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql57-client

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229605-7788>