-
Notifications
You must be signed in to change notification settings - Fork 18
Example blink program fails to build on WSL 2 - segfault while compiling core #27
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
Comments
Hey @FrankvdStam Very interesting failure
Yes indeed - I'm not running Windows so it will be hard to reproduce. The main piece of logs that would help: the backtrace. How to generate: Two methods:
|
Here's what I get with gdb:
|
Found this but I'm not sure it's related. |
I have the same issue, also on WSL2, debian bullseye. I'd be pretty surprised if this was truly related to running under WSL2 since that's basically a VM. But we all use the same kernel version and I wonder if there's an issue there. This is the backtrace I get:
|
Likely not related to WSL but instead a duplicate of rust-lang/rust#76930 |
I see that some work is being done on the other mentioned issue, might just want to close this and track progress there. I've since moved on to arm based MCU's and no longer use AVR based chips so it's not relevant for me anymore. I'll leave it up to you @dylanmckay if you want to leave this open. |
Closing this:
|
Was trying to create a new project with the guidebook, came across this error so I tried the blink example, same error.
It segfaults when compiling core.
I'm running this on WSL 2, host is windows 10 version 10.0.19041.508.
Can I fetch you any logs/system specs to help?
Should not be related to the avr toolchain, I'm using Clion with WSL2 as well, building C projects directly with avr-gcc without issues.
Not sure if this is the right place for this issue, if not please point me in the right direction.
The text was updated successfully, but these errors were encountered: