Failure when linking merge_small_tests-t with wsrep

Bug #1369918 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Invalid
Undecided
Unassigned
5.6
Confirmed
Undecided
Unassigned

Bug Description

Building codership-mysql fails as follows:

Build command:

cmake -DWITH_WSREP=1 -DCMAKE_BUILD_TYPE=Debug -DENABLE_DOWNLOADS=1 . && make

Linking CXX executable merge_small_tests-t
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_lock::Ticket_list::add_ticket(MDL_ticket*)':
/home/philips/git/codership-mysql/sql/mdl.cc:1405: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1416: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1433: undefined reference to `wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*)'
/home/philips/git/codership-mysql/sql/mdl.cc:1435: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1435: undefined reference to `sql_print_information(char const*, ...)'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `wsrep_thd_query'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `wsrep_thd_thread_id'
/home/philips/git/codership-mysql/sql/mdl.cc:1418: undefined reference to `sql_print_information(char const*, ...)'
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_lock::can_grant_lock(enum_mdl_type, MDL_context*, bool) const':
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1817: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1825: undefined reference to `wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*)'
/home/philips/git/codership-mysql/sql/mdl.cc:1828: undefined reference to `wsrep_log_conflicts'
/home/philips/git/codership-mysql/sql/mdl.cc:1831: undefined reference to `sql_print_information(char const*, ...)'
/home/philips/git/codership-mysql/sql/mdl.cc:1858: undefined reference to `wsrep_thd_is_BF(void*, char)'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `wsrep_thd_query'
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `wsrep_thd_thread_id'
/home/philips/git/codership-mysql/sql/mdl.cc:1820: undefined reference to `sql_print_information(char const*, ...)'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `wsrep_thd_query'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `wsrep_thd_thread_id'
/home/philips/git/codership-mysql/sql/mdl.cc:1861: undefined reference to `sql_print_information(char const*, ...)'
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_ticket::wsrep_report(bool)':
/home/philips/git/codership-mysql/sql/mdl.cc:3185: undefined reference to `wsrep_debug'
/home/philips/git/codership-mysql/sql/mdl.cc:3185: undefined reference to `sql_print_information(char const*, ...)'
collect2: error: ld returned 1 exit status
make[2]: *** [unittest/gunit/merge_small_tests-t] Error 1
make[1]: *** [unittest/gunit/CMakeFiles/merge_small_tests-t.dir/all] Error 2
make: *** [all] Error 2

affects: galera → codership-mysql
Revision history for this message
Teemu Ollakka (teemu-ollakka) wrote :

Does not seem to affect 5.5

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.