-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cannot run bootstrapped build on mipsel-linux #21184
Comments
Ok, I see the problem: The system is compiled for soft-float. The loader for |
Yeah, in general, for targets where we have |
I guess we can leave this open to track splitting
|
Is there a way to hack around the current build system to force soft float anyway? I'd still like to try in the interim. |
Not really, I don't think. But I'll take a look at this soon. |
@The-King-of-Toasters it's not quite PR-ready yet, but if you want to give it a shot, you can try to pull my |
So I copied over your branch onto zig-bootstrap, but building stage3 native just segfaults. Unfortunately I can't give a backtrack atm since the machine I'm on (cfarm420) doesn't deposit the corefiles. |
…nux-musleabi(hf)`. Closes ziglang#21184.
@The-King-of-Toasters just force-pushed a bunch more fixes; it now fully passes |
No dice. Stage2 building stage3 native still dies. I ran it in GDB and it says it's in |
|
Actually, it could just be because I didn't clean the build dir 🙃. I'll let you know when it's done. Update: yep. |
Does that mean it's making more progress than before? |
Yes, the bootstrap compiled successfully and I'm running Zig on my router. It's not exactly a speed demon since it's taking 4s to print |
Given the size of the Thanks for testing; I'll have a PR up soon. |
Yes, it seems that a lot of the time is just After a while I get the same error found when building on power10:
|
That's an error bubbling up from LLVM's If you're up for it, you can modify the call in |
AFAICT the last parameter is already omitted, at least going by the API reference. I tried removing the |
Hmm, I see. I guess you'd have to step into LLVM and see if you can glean anything helpful. |
…nux-musleabi(hf)`. Closes ziglang#21184.
…nux-musleabi(hf)`. Closes ziglang#21184.
…nux-musleabi(hf)`. Closes ziglang#21184.
…nux-musleabi(hf)`. Closes ziglang#21184.
Zig Version
0.14.0-dev.1078+0f0f543a9
Steps to Reproduce and Observed Behavior
In light of ziglang/zig-bootstrap#12 being closed, I wanted to try if I could run zig on my mipsel router. It is a D-Link DIR-853 A1 with a MediaTek MT7621 CPU. Unfortunately, running
zig
still gives anIllegal instruction
error.System Info:
Steps:
zig-bootstrap
's build script to not strip symbols for the native zig.zig
on the device.Backtrace via gdbserver:
Expected Behavior
For zig to work.
The text was updated successfully, but these errors were encountered: