compile errors openh323 on mips/mipsel
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Wed, 2 Mar 2005 19:09:23 +0100
--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Kilian Krause wrote:
[snip]
> But openh323 failed on both mips and mipsel with a very similar error
> [1] & [2]
>=20
> /build/buildd/openh323-1.15.3/lib/obj_linux_mipsel_r/h225_1.o(.text
> +0x44): In function
> `H225_ReleaseCompleteReason::H225_ReleaseCompleteReason[not-in-charge](un=
signed, PASN_Object::TagClass)':
> : relocation truncated to fit: R_MIPS_CALL16 PString::PString[in-charge](=
char const*)
>=20
> This seems to be the GOT being too small problem, and it can be fixed
> with passing -Wa,xgot or -mxgot to compile flags[3].
It looks like the library just grew over the GOT limit. Earlier versions
did compile without xgot.
> But I don't know
> what does it compile for you without any problem. Anyway, please, check
> the binutils version you used, as there is the following entry in its
> changelog:
>=20
> binutils (2.15-4) unstable; urgency=3Dlow
>=20
> * 120_mips_xgot_multigot_workaround.dpatch: new patch from Thiemo
> Seufer
> to make multigot/xgot handling exclusive and fix mozilla builds on
> mipsen. Closes: #272149
>=20
> -- James Troup <james@nocrew.org> Thu, 23 Sep 2004 22:44:03 +0100
>=20
> I am not sure this can be the problem, as the patch was introduced 5
> months ago... but know knows.
This patch isn't the problem, it just lets the linker bail out instead
of silently creating broken code.
Thiemo
--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAkImAVEACgkQXNuq0tFCNaDm4QCgkGNuiYeaUuGZnGTBVW2WVBlO
MQAAn1GGFp4VhqnVl4P58+Zjmh1HeEzt
=fW/1
-----END PGP SIGNATURE-----
--ew6BAiZeqk4r7MaW--