Subject: Firefox Build Failure on amd64
To: None <port-amd64@netbsd.org, tech-toolchain@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: tech-toolchain
Date: 04/10/2006 07:21:57
Firefox was running fine on my current (~ April 2, 2006) until
I tried to rebuild it, and got this:
===========================================================================
c++ -I/usr/pkg/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/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 -I/usr/pkg/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5/include -I/usr/include -I/usr/pkg/include/freetype2 -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -DPIC -Wl,-R/usr/pkg/lib/firefox -shared -Wl,-soname,libxpcom_core.so -o libxpcom_core.so pldhash.o nsCOMPtr.o nsComponentManagerUtils.o nsDebug.o nsID.o nsIInterfaceRequestorUtils.o nsINIParser.o nsMemory.o nsTraceRefcnt.o nsWeakReference.o nsGREGlue.o nsVersionComparator.o nsTHashtable.o nsGenericFactory.o nsXPComInit.o nsStringAPI.o -Wl,-R/us
r/pkg/lib/firefox -L/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5 -Wl,-R/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5 -L/usr/pkg/gcc34/lib -Wl,-R/usr/pkg/gcc34/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -L/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5/ -Wl,-R/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5/ -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/X11R6/lib -Wl,--whole-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a -Wl,--no-whole-archive -L../../dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5 -L/usr/pkg/gcc34/lib -L/usr/pkg/lib -L/usr/X11R6/lib -L/usr/pkg/gcc34/lib/gcc/x86_64--netbsd3.99.15/3.4.5/ -L/usr/lib -pthread -lm
/usr/bin/ld: ../../dist/lib/libxptcmd.a(xptcstubs_unixish_amd64.o): relocation R_X86_64_PC32 against `PrepareAndDispatch' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
===========================================================================
Current as of yesterday (April 9, 2006) does the same thing.
Gary Duzan