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
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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to