Description:
link failure
ccache distcc powerpc-linux-g++ -g -O -DDBUG_ON -DSAFE_MUTEX -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mcpu=powerpc -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized -rdynamic -o mysql_client_test_embedded mysql_client_test.o ../libmysqld.a -lrt -ldl -lpthread -lcrypt -lnsl -lm -lpthread -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -lz
../libmysqld.a(log_event.o)(.gnu.linkonce.t._ZN21Update_rows_log_event6CreateEP3THDP8st_tablemPK9st_bitmapb+0x68): In function `Update_rows_log_event::Create(THD*, st_table*, unsigned long, st_bitmap const*, bool)':
../sql/log_event.h:1405: undefined reference to `Update_rows_log_event::Update_rows_log_event[in-charge](THD*, st_table*, unsigned long, st_bitmap const*, bool)'
collect2: ld returned 1 exit status
distcc[26230] ERROR: compile (null) on localhost failed
make[3]: *** [mysqltest_embedded] Error 1
make[3]: *** Waiting for unfinished jobs....
../libmysqld.a(log_event.o)(.gnu.linkonce.t._ZN21Update_rows_log_event6CreateEP3THDP8st_tablemPK9st_bitmapb+0x68): In function `Update_rows_log_event::Create(THD*, st_table*, unsigned long, st_bitmap const*, bool)':
../sql/log_event.h:1405: undefined reference to `Update_rows_log_event::Update_rows_log_event[in-charge](THD*, st_table*, unsigned long, st_bitmap const*, bool)'
collect2: ld returned 1 exit status
distcc[26184] ERROR: compile (null) on localhost failed
make[3]: *** [mysql] Error 1
../libmysqld.a(log_event.o)(.gnu.linkonce.t._ZN21Update_rows_log_event6CreateEP3THDP8st_tablemPK9st_bitmapb+0x68): In function `Update_rows_log_event::Create(THD*, st_table*, unsigned long, st_bitmap const*, bool)':
../sql/log_event.h:1405: undefined reference to `Update_rows_log_event::Update_rows_log_event[in-charge](THD*, st_table*, unsigned long, st_bitmap const*, bool)'
collect2: ld returned 1 exit status
distcc[26463] ERROR: compile (null) on localhost failed
make[3]: *** [mysql_client_test_embedded] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/stewart/Documents/MySQL/5.1/wl2325/libmysqld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stewart/Documents/MySQL/5.1/wl2325'
make: *** [all] Error 2
How to repeat:
build with embedded server enabled (e.g. ./BUILD script)
Suggested fix:
don't fail to build