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'
```
This commit is contained in:
Eduardo Sánchez Muñoz 2025-08-18 15:35:09 +02:00
parent 30bf5be8ff
commit aa755b44fa
5 changed files with 91 additions and 91 deletions

View file

@ -1 +1 @@
/usr/lib/i386-unknown-linux-musl
/usr/lib/i686-unknown-linux-musl