Subject: wip/firefox2 on amd64: this is what fails
To: None <pkgsrc-users@netbsd.org>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: pkgsrc-users
Date: 10/23/2006 00:34:30
c++ -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-privac
y -Wno-non-virtual-dtor -Wno-long-long -O2 -march=k8 -pipe -I/usr/pkg/include -I
/usr/include -I/usr/pkg/include/freetype2 -march=k8 -Dunix -fshort-wchar -pthrea
d -pipe -DNDEBUG -DTRIMMED -pipe -fPIC -DPIC -Wl,-R/usr/pkg/lib/firefox2 -share
d -Wl,-soname,libxpcom_core.so -o libxpcom_core.so pldhash.o nsCOMPtr.o nsCompo
nentManagerUtils.o nsDebug.o nsID.o nsIInterfaceRequestorUtils.o nsINIParser.o n
sMemory.o nsTraceRefcnt.o nsWeakReference.o nsGREGlue.o nsVersionComparator.o ns
THashtable.o nsTArray.o nsGenericFactory.o nsXPComInit.o nsStringAPI.o -Wl,-R
/usr/pkg/lib/firefox2 -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 -Wl,--whole-archive ../../dist/l
ib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponent
s_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/xo
rg/lib -L/usr/pkg/lib -L/usr/lib -pthread -lm
ld: ../../dist/lib/libxptcmd.a(xptcstubs_unixish_amd64.o): relocation R_X86_64_P
C32 against `PrepareAndDispatch' can not be used when making a shared object; re
compile with -fPIC
ld: final link failed: Bad value
However, -fPIC is specified; is it missing somewhere that I can't see?