From 53b786da3a0faf06bbbaec95603dc522398702af Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 10 Jun 2025 22:47:40 +0800 Subject: [PATCH] nodejs: Disable for powerpc64le MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 1. Compile failure with host gcc 11.4.0 (on ubuntu 22.04) $ echo 'MACHINE = "qemuppc64"' >> conf/local.conf $ bitbake nodejs ''' ../deps/v8/src/execution/ppc/simulator-ppc.cc:5126:33: error: ‘ceilf’ is not a member of ‘std’; did you mean ‘ceil’? 5126 | VECTOR_FP_ROUNDING(float, ceilf) | ^~~~~ ''' 2. Segment fault on qemuppc64 $ runqemu qemuppc64 slirp nographic ext4 snapshot qemuparams="-m 8192" root@qemuppc64:~# node --help Segmentation fault (core dumped) Signed-off-by: Hongxu Jia Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb index 43d9b99fd8..b29c83400a 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb @@ -18,6 +18,7 @@ COMPATIBLE_MACHINE:mips64 = "(!.*mips64).*" COMPATIBLE_HOST:riscv64 = "null" COMPATIBLE_HOST:riscv32 = "null" COMPATIBLE_HOST:powerpc = "null" +COMPATIBLE_HOST:powerpc64le = "null" SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ file://0001-Do-not-use-glob-in-deps.patch \