[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#428582: xulrunner_1.8.1.4-2 (mips/unstable): FTBFS: relocation overflow



Hi,

I'm following up here a bug report against xulrunner: It failed to
build on mips and mipsel. Here is what Steve Langasek has to say about
the issue:

> Since 1.8.1.4-1 built successfully on both archs, and there are no changes
> in -2 that seem to explain the build failure, it's possible that this is the
> result of a toolchain regression; gcc-4.1 4.1.2-11 was uploaded Jun 1, with
> a changelog entry of "Update to SVN 20070601", and this was the version of
> g++-4.1 used in at least the mips build.  You might want to talk to
> debian-mips and/or debian-gcc about this.

Relevant log is:
> [...]
> 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 -O2 -fno-strict-aliasing -g -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so.0d -o libxul.so.0d  nsStaticXULComponents.o -Wl,--as-needed   -Wl,--whole-archive ../../dist/lib/libxpcom_core.a ../../dist/lib/libxpcom_compat.a ../../dist/lib/libunicharutil_s.a ../../dist/lib/libucvutil_s.a ../../dist/lib/libgkgfx.a ../../dist/lib/libgfxshared_s.a ../../dist/lib/libxulapp_s.a ../../dist/lib/libgtkxtbin.a ../../dist/lib/libgfxpsshar.a ../../dist/lib/libjsj.a ../../dist/lib/libjavaxpcom.a ../../dist/lib/components/libxpcom_compat_c.a ../../dist/lib/components/libxpconnect.a ../../dist/lib/components/libnecko.a ../../dist/lib/components/libuconv.a ../../dist/lib/components/libi18n.a ../../dist/lib/components/libjar50.a ../../dist/lib/components/libpref.a ../../dist/lib/components/libcaps.a ../../dist/lib/components/librdf.a ../../dist/lib/components/libhtmlpars.a ../../dist/lib/components/libimglib2.a ../../dist/lib/components/libgkplugin.a ../../dist/lib/components/libgklayout.a ../../dist/lib/components/libdocshell.a ../../dist/lib/components/libembedcomponents.a ../../dist/lib/components/libwebbrwsr.a ../../dist/lib/components/libeditor.a ../../dist/lib/components/libnsappshell.a ../../dist/lib/components/libtxmgr.a ../../dist/lib/components/libcomposer.a ../../dist/lib/components/libchrome.a ../../dist/lib/components/libmozfind.a ../../dist/lib/components/libappcomps.a ../../dist/lib/components/libcommandlines.a ../../dist/lib/components/libtoolkitcomps.a ../../dist/lib/components/libxpinstall.a ../../dist/lib/components/libjsd.a ../../dist/lib/components/libstoragecomps.a ../../dist/lib/components/libmork.a ../../dist/lib/components/libucvmath.a ../../dist/lib/components/libwidget_gtk2.a ../../dist/lib/components/libnecko2.a ../../dist/lib/components/libgfxps.a ../../dist/lib/components/libgfx_gtk.a ../../dist/lib/components/liboji.a ../../dist/lib/components/libaccessibility.a ../../dist/lib/components/libremoteservice.a  -Wl,--no-whole-archive -Wl,-rpath-link,../../dist/bin -L../../dist/bin -L../../dist/lib -ljpeg -lpng  -L../../dist/bin -lmozjs  -lz   -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lXinerama  -lX11   -lXft -lfontconfig   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lXt -lfreetype -lz -lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lcairo   -ldl -lm     
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.17.50.20070426 assertion fail ../../bfd/elfxx-mips.c:7488
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.17.50.20070426 assertion fail ../../bfd/elfxx-mips.c:7488
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.17.50.20070426 assertion fail ../../bfd/elfxx-mips.c:7488
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.17.50.20070426 assertion fail ../../bfd/elfxx-mips.c:7488
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.17.50.20070426 assertion fail ../../bfd/elfxx-mips.c:2778
> /usr/bin/ld: BFD (GNU Binutils for Debian) 2.17.50.20070426 assertion fail ../../bfd/elfxx-mips.c:10311
> ../../dist/lib/libxpcom_core.a(nsDeque.o):/build/buildd/xulrunner-1.8.1.4/xpcom/ds/nsDeque.cpp:163: relocation truncated to fit: R_MIPS_CALL16 against `nsDeque::Empty()'
> ../../dist/lib/libxpcom_core.a(nsDeque.o):/build/buildd/xulrunner-1.8.1.4/xpcom/ds/nsDeque.cpp:163: relocation truncated to fit: R_MIPS_CALL16 against `nsDeque::Empty()'
> ../../dist/lib/libxpcom_core.a(nsObserverList.o):/build/buildd/xulrunner-1.8.1.4/xpcom/ds/nsObserverList.cpp:71: relocation truncated to fit: R_MIPS_CALL16 against `NS_NewISupportsArray(nsISupportsArray**)'
> ../../dist/lib/libxpcom_core.a(nsPersistentProperties.o):/build/buildd/xulrunner-1.8.1.4/xpcom/ds/nsPersistentProperties.cpp:348: relocation truncated to fit: R_MIPS_CALL16 against `NS_NewISupportsArray(nsISupportsArray**)'
> ../../dist/lib/libxpcom_core.a(nsSupportsArray.o):/build/buildd/xulrunner-1.8.1.4/xpcom/ds/nsSupportsArray.cpp:669: relocation truncated to fit: R_MIPS_CALL16 against `NS_NewISupportsArray(nsISupportsArray**)'
> ../../dist/lib/libxpcom_core.a(nsArray.o): In function `nsArray': /build/buildd/xulrunner-1.8.1.4/xpcom/ds/nsArray.h:75: relocation truncated to fit: R_MIPS_CALL16 against `nsCOMArray_base::nsCOMArray_base(nsCOMArray_base const&)'
> ../../dist/lib/libxpcom_core.a(nsDirectoryService.o):/build/buildd/xulrunner-1.8.1.4/xpcom/io/nsDirectoryService.cpp:534: relocation truncated to fit: R_MIPS_CALL16 against `NS_NewISupportsArray(nsISupportsArray**)'
> ../../dist/lib/libxpcom_core.a(nsLocalFileCommon.o):/build/buildd/xulrunner-1.8.1.4/xpcom/io/nsLocalFileCommon.cpp:103: relocation truncated to fit: R_MIPS_CALL16 against `PL_strncpyz'
> ../../dist/lib/libxpcom_core.a(nsFastLoadFile.o):/build/buildd/xulrunner-1.8.1.4/xpcom/io/nsFastLoadFile.cpp:795: relocation truncated to fit: R_MIPS_CALL16 against `NS_NewISupportsArray(nsISupportsArray**)'
> ../../dist/lib/libxpcom_core.a(plevent.o): In function `PL_RevokeEvents': /build/buildd/xulrunner-1.8.1.4/xpcom/threads/plevent.c:555: relocation truncated to fit: R_MIPS_CALL16 against `PL_MapEvents'
> ../../dist/lib/libxpcom_core.a(plevent.o): In function `PL_DestroyEventQueue': /build/buildd/xulrunner-1.8.1.4/xpcom/threads/plevent.c:318: additional relocation overflows omitted from the output
> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libxul.so.0d] Error 1
> [...]
> 
Full build logs can be found at
<http://buildd.debian.org/fetch.cgi?pkg=xulrunner&arch=mips&ver=1.8.1.4-2&stamp=1181491345>
and
<http://buildd.debian.org/fetch.cgi?pkg=xulrunner&arch=mipsel&ver=1.8.1.4-2&stamp=1181622070>.

Does anyone have an idea about what has happened to the toolchain, and
if this should be reassigned appropriately ?

Thanks

Mike



Reply to: