-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
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
Changes introduced with v4.2.4 broke the ARM/Android build. The following error occurs:
./out/Release/mksnapshot: 1: ./out/Release/mksnapshot: Syntax error: word unexpected (expecting ")")
The issue is that mksnapshot has been compiled for the ARM/Android target, but is then being executed on the Linux (x86) host. Building and compiling node for Linux in a separate directory then copying over the mksnapshot utility to the cross-compile folder and re-running make allows the build to finish properly.
The error is misleading, attempting to run the mksnapshot ARM/Android binary without any options gives a different error message that properly describes the issue.
bash: ./out/Release/mksnapshot: cannot execute binary file: Exec format error
I'm not sure why error message from the build script gives a syntax error instead.
Cheers,
Camz.
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.