-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown system error -86 when building on Apple Silicon #117
Comments
I have a similar error on an AMD processor on a nixos distrib. |
I have been getting the same error on Apple Silicon with a Docker container. Any headway on this? Could be that it is related to this |
The root issue is that when building from source the included libPNG is 1.6.34 and is enabling the NEON optimizations present in aarch64. Two solutions to work around this:
|
For anyone who is running into this issue on the M1 MacBook 14" and 16", |
Rosetta is a crutch that enables unsigned code execution through the secure enclave and enables intel bad security practices things like writing dynamic code to an executable memory page. Ideally rosetta should be avoided. |
Sorry to bump an old issue, but was there any resolution to this? I'm on a M1 MacBook Pro myself and cant get past the |
Bump. Same as above :( |
It is wild that this has not been addressed in over a year on a package that has almost 1M npm downloads a week!! This goes a little beyond my skill-level. If any one is willing to start a PR though, I will try and help where ever I can. Email me. I have not been able to generate a single Favicon in over a year ;-( |
I was able to get rid of this by installing the xcode (with rosetta). |
Nice this worked. Ran CPPFLAGS=-DPNG_ARM_NEON_OPT=0 yarn |
|
Update, don't use this. See comment below. |
@rynop - see my comment above. Rosetta is a crutch and it sidesteps much of the arm8.3 PA and arm64e benefits. Not to mention its slower. |
Workaround in initial comment here imagemin/mozjpeg-bin#64 and this was able to install on M1 |
If this is a real issue, I have an Apple Silicon Mac and would like to help.
On Apple Silicon (arm64/arm64-apple-macos11) the build pre-test fails with the following issue:
The text was updated successfully, but these errors were encountered: