This bug is because inkscape is hitting a limit on the size of symbol tables
on these archs, and current versions of the toolchain error out such
circumstances (previous toolchain versions would silently truncate the
symbol table).
The attached patch switches inkscape's build from multigot symbol tables
(the default on mips and mipsel) to the more extensible xgot format.
Thanks,
--=20
Steve Langasek
postmodern programmer
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 20:24:31 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: inkscape: FTBFS on mips(el)
--iRjOs3ViPWHdlw/I "IbA9xpzOQlG26J Sn" Disposition: inline
Content-Type: multipart/mixed; boundary=
Content-
--IbA9xpzOQlG26JSn Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
tags 283476 patch
thanks
Hello,
This bug is because inkscape is hitting a limit on the size of symbol tables
on these archs, and current versions of the toolchain error out such
circumstances (previous toolchain versions would silently truncate the
symbol table).
The attached patch switches inkscape's build from multigot symbol tables
(the default on mips and mipsel) to the more extensible xgot format.
Thanks,
--=20
Steve Langasek
postmodern programmer
--IbA9xpzOQlG26JSn Disposition: attachment; filename= "inkscape- 283476. diff" Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
diff -u inkscape- 0.40/debian/ changelog inkscape- 0.40/debian/ changelog 0.40/debian/ changelog 0.40/debian/ changelog 0.40/debian/ rules inkscape- 0.40/debian/ rules 0.40/debian/ rules 0.40/debian/ rules GNU_TYPE) GNU_TYPE) $(DEB_BUILD_ OPTIONS) )) ARCH),mips mipsel)) 3D-Wa,- xgot 3D-Wa,- xgot plugin/ libgimpgrad. la 3D"$(CXXFLAGS) $(MIPS_CXXFLAGS)" CFLAGS=3D"$(CFLAGS) $(M=
--- inkscape-
+++ inkscape-
@@ -1,3 +1,12 @@
+inkscape (0.40-1.1) unstable; urgency=3Dhigh
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge targetted RC bugfix.
+ * Build inkscape with -Wa,-xgot on mips, mipsel so that the linker can
+ handle the symbol tables correctly. Closes: #283476.
+
+ -- Steve Langasek <email address hidden> Mon, 6 Dec 2004 19:33:41 -0800
+
inkscape (0.40-1) unstable; urgency=3Dlow
=20
* New upstream version. changes to v. 0.39 include:
diff -u inkscape-
--- inkscape-
+++ inkscape-
@@ -10,7 +10,7 @@
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?=3D $(shell dpkg-architecture -qDEB_HOST_
DEB_BUILD_GNU_TYPE ?=3D $(shell dpkg-architecture -qDEB_BUILD_
-
+DEB_HOST_ARCH ?=3D $(shell dpkg-architecture -qDEB_HOST_ARCH)
=20
CFLAGS =3D -Wall -g
CXXFLAGS =3D -Wall -g
@@ -25,7 +25,10 @@
ifeq (,$(findstring nostrip,
INSTALL_PROGRAM +=3D -s
endif
-
+ifneq (,$(findstring $(DEB_HOST_
+ MIPS_CXXFLAGS=
+ MIPS_CFLAGS=
+endif
=20
config.status: configure
dh_testdir
@@ -40,8 +43,8 @@
dh_testdir
=09
# compile the package...
- $(MAKE)
-=09
+ $(MAKE) -C src extension/
+ $(MAKE) CXXFLAGS=
IPS_CFLAGS)"
=20
clean:
dh_testdir
--IbA9xpzOQlG26 JSn--
--iRjOs3ViPWHdlw/I pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
ufymYLloRAlMYAK DFLPeQvo9wKCzaU b7irhWhxSKItwCf QbAN Z3yfOJOY=
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBtoH8KN6
bVS3/sIup31qqre
=i1JW
-----END PGP SIGNATURE-----
--iRjOs3ViPWHdl w/I--