[Pkg-javascript-devel] Bug#888021: nodejs: should be compiled with FPXX ABI on 32-bit mips
James Cowgill
jcowgill at debian.org
Mon Jan 22 17:47:26 UTC 2018
Package: nodejs
Version: 8.9.3~dfsg-9
Severity: important
Tags: patch
Hi,
As I wrote on debian-mips[1], the reason various node packages have been
failing on mipsel is because nodejs is using the fp32 ABI instead of the
fpxx ABI which gcc uses. This in turn triggers some bugs on the buildds.
Compiling nodejs with the fpxx should fix these build failures. I've
attached a patch which does this.
[1] https://lists.debian.org/debian-mips/2018/01/msg00012.html
Thanks,
James
-------------- next part --------------
diff -Nru nodejs-8.9.3~dfsg/debian/rules nodejs-8.9.3~dfsg/debian/rules
--- nodejs-8.9.3~dfsg/debian/rules 2018-01-19 07:55:32.000000000 +0000
+++ nodejs-8.9.3~dfsg/debian/rules 2018-01-22 13:16:49.000000000 +0000
@@ -98,10 +98,10 @@
# use r2, which is the supported variant for these architectures
# https://lists.debian.org/debian-mips/2016/07/msg00000.html
ifeq (mipsel, $(DEB_HOST_ARCH))
-DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=r2
+DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=r2 --with-mips-fpu-mode=fpxx
endif
ifeq (mips, $(DEB_HOST_ARCH))
-DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=r2
+DEB_CONFIGURE_EXTRA_FLAGS += --with-mips-arch-variant=r2 --with-mips-fpu-mode=fpxx
endif
# mips32r1 or greater, detected at runtime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180122/903a11a7/attachment.sig>
More information about the Pkg-javascript-devel
mailing list