`Illegal instruction (core dumped)` on Alpine 3.8
See original GitHub issueRelated to https://github.com/lovell/sharp-libvips/issues/13 (by mistake, closing the other issue).
Was able to repro:
node -e "require('farmhash').hash32('sdflkjsdf')"
The most puzzling thing is why all the sudden this is happening.
Verified performing an npm rebuild farmhash
resolved. Probably more of an issue from my end as to why different instruction sets are supported between the docker build environment and the release environment. But i’d at least like to better understand the exact difference and perhaps the pre-built could work around the issue?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Illegal instruction (core dumped) for every installed packages ...
I provide /home/su/miniconda3 folder to complete installing miniconda3. Then I create an environment conda create -n myenv python=3.8. I checked ...
Read more >The Strange Case Of The Illegal Instruction - Tao of Mac
The Strange Case Of The Illegal Instruction ... finding that my latest container crashed with an Illegal instruction (core dumped) message.
Read more >[Solved]-pandas to_hdf function get Illegal instruction-docker
What does Illegal Instruction 4 mean with docker-compose on a Mac? How to solve tf_serving_entrypoint.sh: line 3: 6 Illegal instruction (core dumped) when ......
Read more >Illegal Instruction - Bug Report - Losant Forums
The Illegal Instruction (core dumped) error is limited to running the non-alpine version 1.10.0 or 1.11.0 of the Losant Edge Agent on an ......
Read more >" Illegal instruction (core dumped)" Xavier
when i import numpy on python3 shell, it says " Illegal instruction (core dumped)" on xavier.How can i solve this problem? my pip3...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Prebuilt binaries are not currently provided for musl-based Linux such as Alpine.
If the build host and runtime target differ you can specify the target architecture at compile time:
I suspect you have just started using build servers with support for AVX2 intrinsics.
Appears to be an ordering of instructions problem since the default config already supplies
-march=native
. Going the route of only adding opt-out instructions (ala-mno-avx2 -mno-bmi2
) seems to do the trick so far.I’ll close this topic for now, but perhaps others will find it of use. Thanks again.