Closed Bug 443079 Opened 16 years ago Closed 5 years ago

Updater needs pthread_join() even though I am building --without-pthreads

Categories

(Toolkit :: Application Update, defect)

SGI
IRIX
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jimis, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061712 Fedora/3.0-1.fc9 Firefox/3.0
Build Identifier: firefox 3.0 rc1

While trying to build firefox3 I get the following linker error, in the toolkit/mozapps/update/src/updater directory. Even though my platform is unusual (Irix) and I am facing many other problems, I think it shouldn't happen because I am using "--without-pthreads". 

ld32: ERROR 33: Unresolved text symbol "pthread_join" -- 1st referenced by updater.o.


I am now trying to rebuild with --disable-updater, but I think this is a bug so I'm reporting it. 


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
OS: Other → IRIX
Hardware: Other → SGI
Product: Firefox → Toolkit
My platform: ArchLinux x86_64. I confirm this bug on recent mozilla-1.9.2 from http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.8/source/firefox-3.6.8.source.tar.bz2.

.mozconfig attached.

The error:

make[5]: Entering directory `~/devel/build/jsa/mozilla-1.9.2/xulrunner/stub'
nsXULStub.cpp
c++ -o nsXULStub.o -c -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DXPCOM_GLUE -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I../../xpcom/build -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/include/nspr -I/usr/include/nss         -fPIC   -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -march=native -m64 -O3 -funroll-loops -pipe -fno-strict-aliasing -fshort-wchar -pipe  -DDEBUG -D_DEBUG -DTRACING -g -fno-inline   -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsXULStub.pp nsXULStub.cpp
c++ -o xulrunner-stub  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -march=native -m64 -O3 -funroll-loops -pipe -fno-strict-aliasing -fshort-wchar -pipe  -DDEBUG -D_DEBUG -DTRACING -g -fno-inline  nsXULStub.o             -Wl,-rpath-link,~/devel/build/jsa/mozilla-1.9.2/dist/bin -Wl,-rpath-link,/usr/lib -L../../dist/bin -L../../dist/lib ~/devel/build/jsa/mozilla-1.9.2/dist/lib/libxpcomglue.a  -Wl,--whole-archive -L../../dist/lib -ljemalloc -Wl,--no-whole-archive -lasound -ldl -lm      
../../dist/lib/libjemalloc.a(jemalloc.o): In function `malloc_init_hard':
~/devel/build/jsa/mozilla-1.9.2/memory/jemalloc/jemalloc.c:5510: undefined reference to `pthread_atfork'
collect2: ld returned 1 exit status
make[5]: *** [xulrunner-stub] Error 1
make[5]: Leaving directory `~/devel/build/jsa/mozilla-1.9.2/xulrunner/stub'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `~/devel/build/jsa/mozilla-1.9.2/xulrunner'
make[3]: *** [libs_tier_app] Error 2
make[3]: Leaving directory `~/devel/build/jsa/mozilla-1.9.2'
make[2]: *** [tier_app] Error 2
make[2]: Leaving directory `~/devel/build/jsa/mozilla-1.9.2'
make[1]: *** [default] Error 2
make[1]: Leaving directory `~/devel/build/jsa/mozilla-1.9.2'
make: *** [build] Error 2

--without-pthreads is no longer a valid option so resolving as wontfix

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: