yao-pkg / pkg-binaries

Collection of pkg nodejs binaries that are not supported by pkg
MIT License
89 stars 23 forks source link

v12.16.1-linux-armv6 segmentation fault #6

Closed evandavey closed 4 years ago

evandavey commented 4 years ago

I get a segmentation fault trying the pre-built v12.16.1 on a raspberry pi zero.

Version v12.13.1-linux-armv6 gives an invalid instruction error. Version v8.16.0-linux-armv6 works.

robertsLando commented 4 years ago

That’s the only one that I didn’t build, it comes from a PR, you could make your own following instructions and try eith that, it will takes around 24 hours to build


Daniel

On 15 Jun 2020, at 03:28, Evan Davey notifications@github.com wrote:

 I get a segmentation fault trying the pre-built v12.16.1 on a raspberry pi zero.

Version v12.14.1-linx-armv6 gives an invalid instruction error. Version v8.16.0-linux-armv6 works.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

evandavey commented 4 years ago

Thanks, was hoping to avoid the build. What about the invalid instruction error for 12.13.1, did you build that? I also got that with this build https://github.com/vercel/pkg-fetch/issues/33.

robertsLando commented 4 years ago

@evandavey I never got such problems in all my buids so I can't help with that I'm sorry :(

evandavey commented 4 years ago

Sorry, I meant this: https://github.com/robertsLando/pkg-binaries/blob/master/arm32/fetched-v12.13.1-linux-armv6

robertsLando commented 4 years ago

Did you try with this? I know it's for armv7 but just put it in pkg-fetch cache folder and change the name to see if it works

evandavey commented 4 years ago

That looks like it might work, thanks. My pi is just in the middle of compiling something else so I will confirm later and report back.

evandavey commented 4 years ago

It worked!

TooTallNate commented 3 years ago

This worked for me as well. But I don't really understand why. How does a armv7 binary work on an armv6 CPU?

robertsLando commented 3 years ago

@TooTallNate

http://single-boards.com/armv6-vs-armv7/#:~:text=ARMv7%20is%20backward%20compatible%20with,only%20a%20very%20simple%20operations.