-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed as not planned
Closed as not planned
Copy link
Labels
androidIssues and PRs related to the android platform.Issues and PRs related to the android platform.buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.
Description
Version
18.14.1
Platform
debian bullseye (host) / android arm64 (target)
Subsystem
deps
What steps will reproduce the bug?
Cross compile node for android / arm64.
How often does it reproduce? Is there a required condition?
Consistently
What is the expected behavior?
The build succeeding
What do you see instead?
/home/nappy/ndks/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android23-clang -o /home/nappy/node/out/Release/obj.target/zlib/deps/zlib/crc32.o ../deps/zlib/crc32.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-D__STDC_FORMAT_MACROS' '-DHAVE_HIDDEN' '-DUSE_FILE32API' '-D__ARM_NEON__' '-DDEFLATE_SLIDE_HASH_NEON' '-DINFLATE_CHUNK_READ_64LE' '-DINFLATE_CHUNK_SIMD_NEON' '-DADLER32_SIMD_NEON' '-DCRC32_ARMV8_CRC32' '-DARMV8_OS_ANDROID' '-D_GLIBCXX_USE_C99_MATH' -I../deps/zlib -msign-return-address=all -Wall -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -O3 -fno-omit-frame-pointer -fPIC -MMD -MF /home/nappy/node/out/Release/.deps//home/nappy/node/out/Release/obj.target/zlib/deps/zlib/crc32.o.d.raw -I/home/nappy/openssl/include -fPIE -fPIC -c
../deps/zlib/cpu_features.c:42:10: fatal error: 'cpu-features.h' file not found
#include <cpu-features.h>
^~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [deps/zlib/zlib.target.mk:119: /home/nappy/node/out/Release/obj.target/zlib/deps/zlib/cpu_features.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Additional information
18.12.1 was building without issues in the same environment
References: @lpinca #45589
References: @richardlau #45589
Metadata
Metadata
Assignees
Labels
androidIssues and PRs related to the android platform.Issues and PRs related to the android platform.buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.