Use -mxgot to fix relocation errors on mips?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PLEASE CC, I'm not subscribed]
Hello all,
One of my packages failed to build[0] on mips due to a bunch of linking
errors like:
~ relocation truncated to fit: R_MIPS_GOT16 <symbol>
Reading through -mips and -gcc archives I see this problem has surfaced
for packages like mozilla and gcj. The general fix seems to be adding
- -mxgot to the build flags, but some of the posts suggested that this is
not always a good idea. The package is a game and doesn't produce any
shared libraries, so I don't think breaking binary compatibility would
be a problem(as I understand -mxgot may do).
Is -mxgot the appropriate fix here?
thanks,
- -Mike
0 -
http://buildd.debian.org/fetch.php?&pkg=vegastrike&ver=0.4.2-1&arch=mips&stamp=1103203330&file=log&as=raw
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBwynK7ZPKKRJLJvMRAngDAJwI8ts6Ysu8IRxKpJT0jD9s9D15bgCgr2yy
NoAyJG1cz9Uw50kXTlgPw+g=
=taYg
-----END PGP SIGNATURE-----
Reply to: