Bug#1131165: gcc-15 FTBFS for musl-linux-amd64

Helmut Grohne <[email protected]> Tue, 28 Apr 2026 13:14:59 +0200
Newsgroups gmane.linux.debian.devel.gcc
Message-ID <20260428111459.GA1340275__43826.74256792$1777409367$gmane$org@subdivi.de>
Hi Matthias,

On Tue, Apr 28, 2026 at 09:54:38AM +0200, Matthias Klose wrote:
> Is there any documentation for musl, which triplets and/or multiarch
> identifiers are used for these musl packages?

I don't think so.

Generally, you can turn most of any-gnu-linux-any architectures into
musl architectures by prepending "musl-linux-" to the Debian
architecture name. When it comes to the GNU triplet, the typical Debian
architecture looks like CPU-linux-gnuABI. When you move from glibc to
musl, that becomes CPU-linux-muslABI. The multiarch tuple works the way.
Examples:

glibc                        | musl
Debian | GNU                 | Debian           | GNU
amd64  | x86_64-linux-gnu    | musl-linux-amd64 | x86_64-linux-musl
i386   | i686-linux-gnu      | musl-linux-i386  | i686-linux-musl
armhf  | arm-linux-gnueabihf | musl-linux-armhf | arm-linux-musleabihf

For musl-linux-i386, the multiarch tuple becomes i386-linux-musl. For
everything else, there is no difference to the GNU triplet.

Helmut