]>
Commit | Line | Data |
---|---|---|
0f881824 ER |
1 | in short: that '-z defs' makes tls symbols invisible on gcc 3.3.6 |
2 | ||
3 | gmake[1]: Entering directory `/home/glen/rpm/pld/BUILD/mozilla-firefox-3.0/mozilla/obj-amd64/memory/jemalloc' | |
4 | rm -f libjemalloc.so | |
5 | 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 -fPIC -shared -Wl,-z,defs -Wl,-h,libjemalloc.so -o libjemalloc.so jemalloc.o -lpthread -Wl,-rpath-link,../../dist/bin -ldl -lm | |
6 | jemalloc.o(.text+0x1b5c): In function `choose_arena_hard': | |
7 | jemalloc.c: undefined reference to `__tls_get_addr' | |
8 | jemalloc.o(.text+0x3cf1): In function `arena_ralloc': | |
9 | jemalloc.c: undefined reference to `__tls_get_addr' | |
10 | jemalloc.o(.text+0x4921): In function `malloc_init_hard': | |
11 | jemalloc.c: undefined reference to `__tls_get_addr' | |
12 | jemalloc.o(.text+0x4ce1): In function `malloc': | |
13 | jemalloc.c: undefined reference to `__tls_get_addr' | |
14 | jemalloc.o(.text+0x4eb7): In function `calloc': | |
15 | jemalloc.c: undefined reference to `__tls_get_addr' | |
16 | jemalloc.o(.text+0x5051):jemalloc.c: more undefined references to `__tls_get_addr' follow | |
17 | collect2: ld returned 1 exit status | |
18 | gmake[1]: *** [libjemalloc.so] Error 1 | |
19 | ||
20 | --- mozilla-firefox-3.0rc1/mozilla/configure~ 2008-05-06 00:11:03.000000000 +0300 | |
21 | +++ mozilla-firefox-3.0rc1/mozilla/configure 2008-05-27 08:09:43.180357890 +0300 | |
22 | @@ -5444,7 +5444,7 @@ | |
23 | DSO_LDOPTS='-shared' | |
24 | if test "$GCC_USE_GNU_LD"; then | |
25 | # Don't allow undefined symbols in libraries | |
26 | - DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs" | |
27 | +: # DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs" | |
28 | fi | |
29 | WARNINGS_AS_ERRORS='-Werror' | |
30 | DSO_CFLAGS='' | |
31 | --- mozilla-firefox-3.0rc1/mozilla/configure.in~ 2008-05-06 00:08:14.000000000 +0300 | |
32 | +++ mozilla-firefox-3.0rc1/mozilla/configure.in 2008-05-27 08:09:43.210357726 +0300 | |
33 | @@ -1273,7 +1273,7 @@ | |
34 | DSO_LDOPTS='-shared' | |
35 | if test "$GCC_USE_GNU_LD"; then | |
36 | # Don't allow undefined symbols in libraries | |
37 | - DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs" | |
38 | +: # DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs" | |
39 | fi | |
40 | WARNINGS_AS_ERRORS='-Werror' | |
41 | DSO_CFLAGS='' |