Bug#295048: gtk+2.0_2.6.2-2_mips: FTBFS: ld returned 1 exit status

Steve Langasek Steve Langasek <vorlon@debian.org>, 295048@bugs.debian.org
Sun, 13 Feb 2005 01:16:24 -0800


--yVhtmJPUSI46BTXb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: gtk+2.0
Version: 2.6.2-2
Severity: serious

gtk+2.0 2.6.2 consistently fails to build from source on mips with the
following error:

[...]
/bin/sh ../libtool --mode=3Dlink mips-linux-gcc  -g -O2 -Wall   -o testmenu=
s testmenus.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la .=
=2E/gtk/libgtk-x11-2.0.la=20
mips-linux-gcc -g -O2 -Wall -o testmenus testmenus.o ../gdk-pixbuf/.libs/li=
bgdk_pixbuf-2.0.a ../gdk/.libs/libgdk-x11-2.0.a -L/usr/X11R6/lib ../gtk/.li=
bs/libgtk-x11-2.0.a /build/buildd/gtk+2.0-2.6.2/build-tree/gtk+-2.6.2-stati=
c/gdk/.libs/libgdk-x11-2.0.a /build/buildd/gtk+2.0-2.6.2/build-tree/gtk+-2.=
6.2-static/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.a -lXrandr -lXi -lXinerama -l=
Xext /usr/lib/libXft.so /usr/lib/libfreetype.so -lfontconfig /usr/lib/libXc=
ursor.so /usr/lib/libXrender.so -lX11 /usr/lib/libpangoxft-1.0.so /usr/lib/=
libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libatk-1.0.so /usr/lib/l=
ibgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /u=
sr/lib/libtiff.so -lz -lc /usr/lib/libjpeg.so -lpng12 -lm
collect2: ld returned 1 exit status
make[3]: *** [testmenus] Error 1
make[3]: Leaving directory/build/buildd/gtk+2.0-2.6.2/build-tree/gtk+-2.6.2=
-static/tests'
make[2]: *** [all-recursive] Error 1
[...]

Full build logs can be found at
<http://buildd.debian.org/fetch.php?&pkg=3Dgtk%2B2.0&ver=3D2.6.2-2&arch=3Dm=
ips&stamp=3D1107745861&file=3Dlog&as=3Draw>.

It is likely that this failure is related to limitations on symbol table
sizes on mips and mipsel.  While there are workarounds possible for
libraries that exceed the symbol table size limit, there is no such
workaround presently available for executables that hit the limit, which
appears to be what's happening here given that the failure comes while
statically linking a test binary.

Since other test binaries are linked successfully during the build prior to
the failure, it's clear that the gtk+ library is not entirely broken, though
it is likely that a large number of applications would not be able to use it
for static linking.  This is of course not the norm in Debian, so I would
recommend disabling this particular test suite (selectively on mips+mipsel
if you can, or on all architectures if you can't).

Thanks,
--=20
Steve Langasek
postmodern programmer

--yVhtmJPUSI46BTXb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCDxrlKN6ufymYLloRAn4tAKDBll8ByVK6B/CzQVWMeJwOn4dZqwCeMLe+
g9HSWy5Q5dnAP+EUJbmUjPc=
=tnfo
-----END PGP SIGNATURE-----

--yVhtmJPUSI46BTXb--