Subject: Re: pkg/26098 (Gcc toolchain guru needed for gcc4 mozilla)
To: None <taya@NetBSD.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,>
From: None <abs@netbsd.org>
List: pkgsrc-bugs
Date: 12/20/2006 08:32:23
Synopsis: Gcc toolchain guru needed for gcc4 mozilla

State-Changed-From-To: feedback->open
State-Changed-By: abs@netbsd.org
State-Changed-When: Wed, 20 Dec 2006 08:32:22 +0000
State-Changed-Why:
Issue is still present in gcc4 and firefox2

Tail end of build log from NetBSD 4.0BETA2 on a shark is:

c++  -DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/xorg/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -pipe -mcpu=strongarm110 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -mcpu=strongarm110 -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -o xpcshell xpcshell.o  -Wl,-R/usr/pkg/lib/firefox -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib   -L../../../../dist/bin -L../../../../dist/lib -L.. /../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom -lxpcom_core  -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/xorg/lib -L/usr/pkg/lib -L/usr/lib -pthread  -lm     -Wl,--export-dynamic
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub203()'
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub156()'
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub184()'
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub128()'
[... many similar lines ...]
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/var/obj/pkg/www/firefox2/work/.gcc/bin/g++ -DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE -I/var/obj/pkg/www/firefox2/work/.buildlink/include -I/var/obj/pkg/www/firefox2/work/.buildlink/include/freetype2 -I/var/obj/pkg/www/firefox2/work/.x11-buildlink/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -pipe -mcpu=strongarm110 -mcpu=strongarm110 -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -o xpcshell xpcshell.o -Wl,-R/usr/pkg/lib/firefox -L/var/obj/pkg/www/firefox2/work/.x11-buildlink/lib -Wl,-R/usr/pkg/xorg/lib -L/var/obj/pkg/www/firefox2/work/.buildlink/lib -Wl,-R/usr/pkg/lib -L../../../../dist/bin -L../../../../dist/lib -pthread -Wl,--export-dynamic  -lmozjs -lxpcom -lxpcom_core -lplds4 -lplc4 -lnspr4 -lm
make[3]: *** [xpcshell] Error 1
make[3]: Leaving directory `/var/obj/pkg/www/firefox2/work/mozilla/js/src/xpconnect/shell'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/obj/pkg/www/firefox2/work/mozilla/js/src/xpconnect'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/var/obj/pkg/www/firefox2/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2