ff3b4 linking

Elan Ruusamäe glen at pld-linux.org
Tue Mar 25 07:43:35 CET 2008


hi

anyone can help why this linking fails on ac (apparently it succeeds on th as arekm removed the hack)
and how to fix. as it worked in < ffb4

ccache amd64-pld-linux-g++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-
privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fno-strict
-aliasing -Os -fPIC -shared -Wl,-z,defs -Wl,-h,libjemalloc.so -o libjemalloc.so  jemalloc.o     -lpthread   -Wl,-rpath-link,../../dist/bin   -ldl -lm
jemalloc.o(.text+0x187d): In function `choose_arena_hard':
jemalloc.c: undefined reference to `__tls_get_addr'
jemalloc.o(.text+0x35c0): In function `arena_ralloc':
jemalloc.c: undefined reference to `__tls_get_addr'
jemalloc.o(.text+0x4343): In function `malloc_init_hard':
jemalloc.c: undefined reference to `__tls_get_addr'
jemalloc.o(.text+0x43dd): In function `malloc':
jemalloc.c: undefined reference to `__tls_get_addr'
jemalloc.o(.text+0x4557): In function `calloc':
jemalloc.c: undefined reference to `__tls_get_addr'
jemalloc.o(.text+0x469c):jemalloc.c: more undefined references to `__tls_get_addr' follow
collect2: ld returned 1 exit status
gmake[4]: *** [libjemalloc.so] Error 1
gmake[4]: Leaving directory `/home/glen/rpm/pld/BUILD/mozilla-firefox-3.0b4/mozilla/obj-amd64/memory/jemalloc'


-- 
glen


More information about the pld-devel-en mailing list