[Buildroot] [git commit branch/2022.08.x] package/nodejs: drop support for the MIPS architecture

Peter Korsgaard peter at korsgaard.com
Wed Nov 9 13:22:48 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=73e41cd6739b3afb54073733e7818c03ae72be3b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.08.x

The build of NodeJS fails on mipsel due to an issue in the V8 code:

../../deps/v8/src/compiler/backend/mips/code-generator-mips.cc:4106:48: error: call of overloaded 'Operand(int64_t)' is ambiguous
 4106 |                 Operand(static_cast<int64_t>(0)));

There is apparently a lack of maintenance of the MIPS port of V8, as
is discussed in the Github issue at
https://github.com/nodejs/node/issues/26179.

Until this get improved/fixed, our best option is to drop support for
MIPS in our NodeJS package.

Fixes:

  http://autobuild.buildroot.net/results/0e6ee80c77bcb77afe18410e8d9da93b738cb0a4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 69d311687abd005dddf3621b7b52a397e75ad8ab)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/nodejs/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
index 5375dfeacd..1489306be0 100644
--- a/package/nodejs/Config.in
+++ b/package/nodejs/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
 	bool
 	# On ARM, at least ARMv6+ with VFPv2+ is needed
 	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2
-	default y if BR2_mipsel && !BR2_MIPS_SOFT_FLOAT
 	default y if BR2_aarch64 || BR2_i386 || BR2_x86_64
 	# libuv
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4



More information about the buildroot mailing list