]> git.pld-linux.org Git - packages/firefox.git/blame - mozilla-firefox-gcc3.patch
- updated to 3.5rc3
[packages/firefox.git] / mozilla-firefox-gcc3.patch
CommitLineData
e36ee87a 1in short: that '-z defs' makes tls symbols invisible on gcc 3.3.6
2
3gmake[1]: Entering directory `/home/glen/rpm/pld/BUILD/mozilla-firefox-3.0/mozilla/obj-amd64/memory/jemalloc'
4rm -f libjemalloc.so
5ccache 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
6jemalloc.o(.text+0x1b5c): In function `choose_arena_hard':
7jemalloc.c: undefined reference to `__tls_get_addr'
8jemalloc.o(.text+0x3cf1): In function `arena_ralloc':
9jemalloc.c: undefined reference to `__tls_get_addr'
10jemalloc.o(.text+0x4921): In function `malloc_init_hard':
11jemalloc.c: undefined reference to `__tls_get_addr'
12jemalloc.o(.text+0x4ce1): In function `malloc':
13jemalloc.c: undefined reference to `__tls_get_addr'
14jemalloc.o(.text+0x4eb7): In function `calloc':
15jemalloc.c: undefined reference to `__tls_get_addr'
16jemalloc.o(.text+0x5051):jemalloc.c: more undefined references to `__tls_get_addr' follow
17collect2: ld returned 1 exit status
18gmake[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=''
This page took 0.037104 seconds and 4 git commands to generate.