-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Open
Labels
armIssues and PRs related to the ARM platform.Issues and PRs related to the ARM platform.buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.
Description
Version
16.14.2
Platform
Linux bx.ee 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
./configure --cross-compiling --dest-cpu arm64 --dest-os linux && make -j8
How often does it reproduce? Is there a required condition?
Every time
What is the expected behavior?
If cross-compiling is supported, I would expect that supplying the --cross-compiling flag would avoid attempting to run cross-compiled executables like icupkg on the host architecture which wouldn't rationally be expected to succeed.
What do you see instead?
LD_LIBRARY_PATH=/home/jgowdy/projects/build-node-pac/node/out/Release/lib.host:/home/jgowdy/projects/build-node-pac/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/icu; mkdir -p /home/jgowdy/projects/build-node-pac/node/out/Release/obj/gen; "/home/jgowdy/projects/build-node-pac/node/out/Release/icupkg" -tl ../../deps/icu-tmp/icudt70l.dat "/home/jgowdy/projects/build-node-pac/node/out/Release/obj/gen/icudt70l.dat"
/bin/sh: 1: /home/jgowdy/projects/build-node-pac/node/out/Release/icupkg: Exec format error
Additional information
I did see #11931 however this isn't related to Android, just being able to cross-compile arm64 Linux binaries on amd64.
Metadata
Metadata
Assignees
Labels
armIssues and PRs related to the ARM platform.Issues and PRs related to the ARM platform.buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.