Re: linking mips:4000 module with previous mips:isa32r2 modules
James Cowgill <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 16/10/16 16:43, Jérémy Lal wrote: > Hi, > > can anyone help me understand if this error message comes from > the nodejs package being built, or from the toolchain ? > > See the logs at > https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=mipsel&ver=6.8.1~dfsg-1&stamp=1476561178 I thought this seemed familiar... https://lists.debian.org/debian-mips/2016/07/msg00000.html You simply cannot link mips3 (which nodejs is using) code with mips32r2 code (which everything else is using). For a start, mips3 is 64-bit ISA and code using it may contain 64-bit instructions which will SIGILL on real 32-bit processors. I think you should pass --with-mips-arch-variant=r2 instead of loongson. This already appears to be the case in unstable, but not in experimental. James
signature.asc
(application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYA+9jAAoJEMfxZ23qLQHvYFQP/jnmjnXGXRZtOmUMHTXCjElH Y8UiZA54N19tNrP08KyTwykhYgSCEQQa5du4NX6suWSagDffwHsrKzSVstg/4Ck9 koIXlrqPDJH+ZOGJ6d0JcofB3kZD3xuwUDSZtnYBnfh3eQvYTZ6/UaWj9j8kb9RG xIfRq3odcNT8m4dcrVDLeHgRV6gIgo6itcWuGg3UNd9rlXIu8fVNjXiDp/xa/P/N FpYd1NjTAQFP1IL38J9XtpijOubyUqTT/4qFqhiZWlpEFuJV7B4K7v9YF94yyAAu 2asjlMxHZhSBoFGiSk4pO11qjXNMCDNGPeccQ8mqSynOS8dqu7ebkSunOjw1zJyu iIttB2nZV0gHzXssEL3XRMtq7y9eAJYSK6xIoRinbr2IEBFaFWhW9LG15sEErykn WIgsfbYjg5hyeVOlef966zguA0D3j5Iv6E5u8mKUXlQhoRl+8PHpIu07VIB0wW6a lz8V/O0bBSFMpeOnkzRvcqRBuQ0T3AaT2N2Iv7x61VtwvrA+7rGnbtBnpYFgOiXZ EJ/WxCQInFdrhRhE+o+meGTYve6uw8cAgIt6HkX9qgHGVYx/NP45pvkacgBypEQf I31sSYTGyLeZxkOGlh+88HG5h8p+JdkctVZxqSd0uUuoP49lCbP0p2h661gflG8D T8z+PAFRDMDX3xdc/a3D =Mp6F -----END PGP SIGNATURE-----