Repository navigation
Nodejs 14.x doesn't compile on ARM OSX (M1) #36161
Description
Activity
See #36160 . I got it to compile on M1 but a test was broken.
--- Edit
My bad didn't see you were checking out some back port branch.As you can see in https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list, Apple Silicon is not supported on current release line. There are folks working on making it happen though (see nodejs/build#2474), and you may get lucky with
masterbranch as @chadbrewbaker pointed out.I'm closing this as there is no actionable step for now, I suggest subscribing to the other issue if you want to be kept updated.
- addedduplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.
on Nov 18, 2020 14.x doesnt have the require code to compile on apple silicon - and likely wont as its requires V8 8.6 which is only in 15.x and master
Reacted by Meg Liu, Matheus Camargo, Lucas Caton and Yi Hou@AshCripps : With that you mean 14.x will not be supported on Apple Silicon ever. In that case we have to wait for 16.x to use in production environments.
@AshCripps : With that you mean 14.x will not be supported on Apple Silicon ever.
@adchawla Until Apple Silicon support gets backported to v14 – that would probably require a good chunk of work, but if someone wants to sent a PR, I'm sure they would be warmly welcomed.
It's unlikely as the V8 version has breaking changes, so unless people are willing to pick out the relavent bits and back port them
@adchawla you can use node 15 in production environments - every version of node is stable.
Reacted by CYF- added a commit that references this issue
on Mar 9, 2021 - added a commit that references this issue
on Sep 22, 2021
What steps will reproduce the bug?
./configuremakeOr alternative try
nvm install 14if you havenvminstalled.How often does it reproduce? Is there a required condition?
No condition required apart from trying this on a new ARM based Mac.
What is the expected behavior?
Compile succeeds, everybody happy.
What do you see instead?
Compile fails, everybody sad.