-
-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed as not planned
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.stale
Description
What is the problem this feature will solve?
NodeJs seem to require matching bitness when cross-compiling because -m32 is passed to the compiler when compiling on a 64-bit system to a 32-bit one (such as on amd64 to armv7l). It is common that the toolchain targets only single architecture, and multi-architecture toolchains are an exception that everyone got used to due to amd64 supporting x86. The same is not expected if you are on aarch64, for example. Some CPUs just can't run a 32-bit instruction set; thus, your only option is emulation, which is really not a good option for compilation.
What is the feature you are proposing to solve the problem?
Get rid of the need to build host tools in the same bit size and thus passing of -m32 and other such options.the
What alternatives have you considered?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.stale