Things that work reliably well on my 32-bit machine.
GCC 13 works fine, but can't produce a working dynamically linked Python binary — probably has other issues so I've downgraded.
Rust up to 1.80 works, but segfaults when building certain crates, such as getrandom — probably related to newer versions of LLVM being horribly broken and LLVM12 probably works because it seems to ignore most optimisation flags.

And you can't build newer Rust using older tools — because it only supports last 3 releases of LLVM and they have cranked out quite a few of them in the past couple of years, but the worst part is those LLVM releases can only be built with GCC 13. This looks somewhat relevant: github.com/llvm/llvm-project/i
Why does everything have to depend on the latest versions and be so fucking broken? 😩

Show thread

And yes, I've built too, but it fails to produce binaries even for the hello_world type of programs, I have no idea what the problem might be, but as it depends on LLVM (and even comes with LLVM 18 for bootstrapping), it could be literally anything.

Show thread
Follow

So, Zig indeed appears to be broken on Big Endian machines, even 0.12: github.com/ziglang/zig/issues/
The issue is rather old, but on the other hand, they don't have the resources of Google and even that of those who work on Rust, so hopefully there'd be a fix sooner or later.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml