--enable-static --disable-shared build fails with linker error

Bug #1000417 reported by Jason Toffaletti on 2012-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Medium
Brian Aker

Bug Description

./configure --enable-static --disable-shared; make

  CXX libtest/libtest_unittest-unittest.o
  CXXLD libtest/unittest
  CXX libtest/skiptest.o
  CXXLD libtest/skiptest
  CC libmemcached-1.0/t/c_test.o
  CCLD libmemcached-1.0/t/c_test
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-memcached.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-options.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-options.o):(.eh_frame+0x10f): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-quit.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-result.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-server.o):(.eh_frame+0x12): more undefined references to `__gxx_personality_v0' follow
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-backtrace.o): In function `custom_backtrace()':
/home/jason/libmemcached-testing/b/test107/libmemcached-1.0.7/libmemcached/backtrace.cc:120: undefined reference to `__cxa_demangle'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-backtrace.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(lt1-libmemcached_libmemcached_la-behavior.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-callback.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-connect.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-do.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
libmemcached/.libs/libmemcached.a(libmemcached_libmemcached_la-error.o):(.eh_frame+0x12): more undefined references to `__gxx_personality_v0' follow
collect2: ld returned 1 exit status
make[1]: *** [libmemcached-1.0/t/c_test] Error 1

Related branches

Brian Aker (brianaker) on 2012-11-23
Changed in libmemcached:
assignee: nobody → Brian Aker (brianaker)
milestone: none → 1.0.15
importance: Undecided → Medium
status: New → In Progress
Brian Aker (brianaker) on 2012-12-23
Changed in libmemcached:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers