Package: firefox
Version: 1.4.99+1.5rc3.dfsg-2
Severity: serious

Hi,

Your package is failing to build on a few arches because it's not
using -fPIC to make a shared library.

On amd64:
gcc  -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pthread 
-pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -fPIC -shared -Wl,-h -Wl,libmozjs.so -o 
libmozjs.so  jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o jsdate.o 
jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o jshash.o 
jsinterp.o jslock.o jslog2.o jslong.o jsmath.o jsnum.o jsobj.o jsopcode.o 
jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o 
jsxdrapi.o jsxml.o prmjtime.o        -lm -ldl -L../../dist/lib -lplds4 -lplc4 
-lnspr4 -lpthread -ldl -ldl -lm
/usr/bin/ld: jsapi.o: relocation R_X86_64_PC32 against `memset@@GLIBC_2.2.5' ca
n not be used when making a shared object; recompile with -fPIC

Or hppa:
c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 
-fPIC -shared -Wl,-h -Wl,libunixprintplugin.so -o libunixprintplugin.so  
npshell.o printplugin.o npunix.o       -L../../../../dist/bin -lxpcom 
-lxpcom_core  -L../../../../dist/bin -L../../../../dist/lib -lplds4 -lplc4 
-lnspr4 -lpthread -ldl -lXt -lSM -lICE   -L/usr/X11R6/lib -lX11  -ldl -lm
/usr/bin/ld: /usr/X11R6/lib/libXt.a(Event.o): relocation R_PARISC_DPREL21L can
not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib/libXt.a: could not read symbols: Bad value

But in this case I have to wonder why it's picking the
static libXt instead of the shared version.

Note that the 3 objects (npshell.o printplugin.o npunix.o)
all seem to come from .c files, but for some reason it's
linking it with c++?


An other interesting error (on powerpc) is:
gcc   -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pthread 
-pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -o xpt_dump xpt_dump.o     
-L../../../../dist/bin -L../../../../dist/lib ../../../../dist/lib/libxpt.a 
-ldl -lm
../../../../dist/lib/libxpt.a(xpt_arena.o): In function 
`XPT_ArenaStrDup':xpt_arena.c:(.text+0x1f4): undefined reference to 
`memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_struct.o): In function 
`XPT_InterfaceDescriptorAddTypes':xpt_struct.c:(.text+0x840): undefined 
reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_struct.o): In function 
`XPT_InterfaceDescriptorAddMethods':xpt_struct.c:(.text+0x900): undefined 
reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_struct.o): In function `XPT_InterfaceDescript 
orAddConsts':xpt_struct.c:(.text+0x9c0): undefined reference to 
`memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_xdr.o): In function 
`GrowPool':xpt_xdr.c:(.text+0x560): undefined reference to `memcpy@@GLIBC_2.0'
../../../../dist/lib/libxpt.a(xpt_xdr.o):xpt_xdr.c:(.text+0x86c): more undefine
d references to `memcpy@@GLIBC_2.0' follow
collect2: ld returned 1 exit status


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to