Commit graph

4 commits

Author SHA1 Message Date
Gábor Stefanik
511dcaabf8 Build dynamic versions of musl, curl, openssl, zlib, libgcc & guile
This is required for the Guix bootstrap to work.
2025-08-24 23:35:19 +02:00
Eduardo Sánchez Muñoz
aa755b44fa Use i686-unknown-linux-musl target instead of i386-unknown-linux-musl
The Linux kernel is already built with CONFIG_M686=y, which suggests that the bootstrap is not supported on anything older thant i686. So, use i686 on userspace too. Some software, such as gettext, cmake or elfutils, has trouble building for i386 due to missing atomic intrinsics.

For example, building gettext 0.26 would fail with:

```
/usr/lib/i386-unknown-linux-musl/gcc/i386-unknown-linux-musl/13.3.0/../../../../../i386-unknown-linux-musl/bin/ld: /build/gettext-0.26_1/gettext-0.26/build/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `__atomic_compare_exchange_4'
```
2025-08-18 15:35:09 +02:00
Eduardo Sánchez Muñoz
502e8f944c Define "TARGET" variable to avoid hardcoding "i386-unknown-linux-musl" everywhere 2025-07-18 14:28:30 +02:00
fosslinux
19b205a382 Update musl to 1.2.5 2025-02-04 19:53:52 +11:00