[From nobody Tue Nov 24 12:03:10 2026
Received: (at submit) by bugs.debian.org; 15 Aug 2025 10:33:37 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-125.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_REASSIGN,BODY_INCLUDES_CONTROL_RETITLE,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 147; neutral, 29; spammy,
 1. spammytokens:0.951-+--our
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;smcv@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47674)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;smcv@debian.org&gt;) id 1umrkf-0034k6-04
 for submit@bugs.debian.org; Fri, 15 Aug 2025 10:33:37 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=6U1++TFoivv88GnxfgDKspJe9lzuX4chL1/racWdNFk=; b=nQiGqLi+m2sPKEwa6mB7E8yQvk
 zgVcMjkUmDINsTZYt8k173pgVqrgDZsbnYjICSX3rUMtI5SJNojMTX7XCv2PjwzyLOt+5rX8JeiD4
 ztB2Dlf65KLL7/FNZ6VxNVvlF3e1xPEwavkp7a/tOFkIDWnuPi2FnuJO4ZUBad6eM44jYX1kbb+ML
 gzLcem/X+pbB66clcEK7zB6l/GuzdXKsksnIkbM3Q7JdZi+B3Szc0ouHfKf33Ylc1r6QfsjBRzDcJ
 Xt3g2Trlmth0PfQgz610Fb9v75AhbX97BcxUeD7EtK9c+wzn1NY43H3i4P43lJ/rcmJkI99pbrEzF
 0YezM9tA==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;smcv@debian.org&gt;) id 1umrkd-004b0p-QM
 for submit@bugs.debian.org; Fri, 15 Aug 2025 10:33:35 +0000
Date: Fri, 15 Aug 2025 11:33:34 +0100
From: Simon McVittie &lt;smcv@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: llvm-toolchain-19: please move /usr/lib/llvm* to a multi-arch
 co-installable location
Message-ID: &lt;aJ8M_scZ03-gWfKX@remnant.pseudorandom.co.uk&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mutt-Fcc: =.lists.debian/
X-Reportbug-Version: 13.2.0
X-Debian-User: smcv
Delivered-To: submit@bugs.debian.org

Source: llvm-toolchain-19
Severity: wishlist
Control: clone -1 -2
Control: retitle -2 llvm-toolchain-20: please move /usr/lib/llvm* to a multi-arch co-installable location
Control: reassign -2 src:llvm-toolchain-20

Passing on a request from the developers of the FEX x86 emulator:

While building mixed-architecture software, they've been frustrated by 
the fact that files in /usr/lib/llvm-19 are not multi-arch 
co-installable, so on Debian/Ubuntu they can't build amd64 and i386 code 
that uses libLLVM (such as 64- and 32-bit versions of Mesa) without 
entering separate containers/chroots.

This affects llvm-{19,20}-dev and perhaps others.

I'm told that on other distributions like the Red Hat and Arch families, 
the equivalent of our /usr/lib/llvm-19 is something like 
/usr/lib{64,}/llvm (Red Hat) or /usr/lib{,32}/llvm (Arch). This suggests 
that on Debian, it should be possible to use our equivalent of lib64, 
/usr/lib/${DEB_HOST_MULTIARCH}/llvm-{19,20,...}, for a similar level of 
co-installability.

Thanks,
    smcv
]