-
Notifications
You must be signed in to change notification settings - Fork 860
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
Failed to cross compile on WSL2 #7635
Comments
To be honest, I don't know much about how the "cross compiler" interacts with "kernel". So I'm not sure if this is a bug or just because I got some wrong configuration. But same code compiles fine under native Ubuntu 20.04, I think the behavior should be the same under WSL2. |
I just updated my kernel to 5.10.60.1-microsoft-standard-WSL2 and this problem still happens
|
Finally...... |
Version
Microsoft Windows [Version 10.0.22000.282]
WSL Version
Kernel Version
5.10.16
Distro Version
Ubuntu 20.04
Other Software
snapdragon-llvm-3.5.2.4-compiler-linux64
Repro Steps
Run custom build script.
Expected Behavior
Build should be fine since compilation succeeded with same code on another computer with same hardware under native Ubuntu 20.04.
Actual Behavior
Got a "Segmentation fault" and build broken with scons reported "Error 139"
Diagnostic Logs
Here's some log I got with "dmesg".
The text was updated successfully, but these errors were encountered: