Skip to contentSkip to conversation

nodejs: Disable for powerpc64le

PATCH Hongxu Jia 1 participant 1 message Jun 18, 2025 1 message not in the archive

lore
Share & tools
lore

Hongxu Jia

author
#1 lore raw
In reply to a message not in the archive

Ping

//Hongxu

Quoted 41 lines · hongxu via lists.openembedded.org

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)
---
  meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb | 1 +
  1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb +1 -1
index 43d9b99fd8..b29c83400a 100644
@@ -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 \
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#117871): https://lists.openembedded.org/g/openembedded-devel/message/117871
Mute This Topic: https://lists.openembedded.org/mt/113570966/3617049
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-