Skip to content
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

Illegal instruction when built with g++ 7 #15

Open
stanleyk opened this issue Oct 15, 2019 · 4 comments
Open

Illegal instruction when built with g++ 7 #15

stanleyk opened this issue Oct 15, 2019 · 4 comments

Comments

@stanleyk
Copy link

Everything works fine when built with g++ 5, but with g++ 7 I get the

Illegal instruction (core dumped)

error.

@robertklep
Copy link
Owner

I don't currently have any machines with g++ 7, and my knowledge of C++ is too little to be able to point you towards a possible reason and fix :(

@stanleyk
Copy link
Author

I can run some tests with g++ 7 for you if you tell me what I should do. ;)

@robertklep
Copy link
Owner

I think it needs to start with running Node.js from a debugger to see where exactly the crash happens. I'll check and see if Raspbian comes with g++ 7 so I can check it myself, but that won't be before friday (if not, I'll see if I can get it up and running in a Docker container).

@robertklep
Copy link
Owner

Finally got around to testing. With g++ 9 it seems to work just fine (Ubuntu 19.10):
image

However, that's with Node v10 because there still isn't a v12 available for Ubuntu 19.10 (at least not as a pre-built package).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants