[From nobody Tue May 26 11:07:09 2026
Received: (at submit) by bugs.debian.org; 30 Jan 2023 14:06:42 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.6 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FREEMAIL_FROM,
 HAS_PACKAGE,HTML_MESSAGE,MULTALT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,
 SPF_PASS,VERSION autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 125; neutral, 37; spammy,
 0. spammytokens: hammytokens:0.000-+--mipsel, 0.000-+--cmake,
 0.000-+--CMake, 0.000-+--sk:llvm-to, 0.000-+--sk:llvmto
Return-path: &lt;ria.freelander@gmail.com&gt;
Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:40845)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;ria.freelander@gmail.com&gt;)
 id 1pMUnx-00GbsL-TM
 for submit@bugs.debian.org; Mon, 30 Jan 2023 14:06:42 +0000
Received: by mail-pl1-x631.google.com with SMTP id be8so11712220plb.7
 for &lt;submit@bugs.debian.org&gt;; Mon, 30 Jan 2023 06:06:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=XJM95coxtHtIwb4utD315tMkorcH2EvUPq4vCx0Y968=;
 b=ci4B0wwmduFuzW3CtAfA2k/IpAWIrohQoZSVkEDsV2R3c9ZXhT7porzp7oFstPK4id
 Mn9I8dwgz88VYPbf2s6r5jZ6huVt5W8eipUE2xd1rQCTrs/VpCo+3frto4UuR4+YO9oD
 gXNk57QYU4f7Akai19PNhXjAbLbZfLVM5IzACgcPyqTkSXpqt3tMimIN1R6np8nWctdR
 XB/bySgBMoT5N6obm7cei+0TVKyNK5tEY3OjBXBvRwqp4bfzGN5AWZs/eAh63qSCaE1x
 lRuEIdyjMbRG8qsNeKwzOgMzPdKtlKCnTgMtYew/CfhZJkD8unRfh3msNcdKWJJSIioK
 dbTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=XJM95coxtHtIwb4utD315tMkorcH2EvUPq4vCx0Y968=;
 b=Q6c2+C/0qXMF4TN4+bwX4V/WKkXuEseMNrWN1lWZ8rddKl4f5Q32PCQ490wxD/VsGp
 cuu/roClKfu1vf9H2bmO8a2/OozrE0LbagnFHWBu+nDlz4RJoPtYCOA1h38VRhmupLot
 u3XUSmrPVfcJdeAMSG+pZOI5/t1mx//MJmjsP+xg4gy9VIoG+MBkmsC56cU1H56A/y0K
 9Av1OQTYYCdm+WZVCXbejXIxt63OFMhueE/Zpp5/I2fyCqJDl/o2gdZF8fxT9fJKOtXW
 WUNFaf4zygIXIaoelAN/FIZOmlwyjCOhPWhImRDlKkFWq0eYdRtTUuxoTYI70t4lfv8N
 YG4A==
X-Gm-Message-State: AFqh2kq4shSX46oa+k6Hs2qRxbwClefc+0gjZOG2cYOCgCMsfgVSi6me
 EW3UCBXWRgQ6/g1nVe9Sg/55Z3QOzwFuiTBzgpxMLehFJ24LOg==
X-Google-Smtp-Source: AMrXdXtYq3T0XLXqm8cFUV4eVtsMDI/gsxCfBUIjWmh7f19zTBON+ztn+JuWJAGh07mc3Ay7jfHk/KODuHCPIGqs3hw=
X-Received: by 2002:a17:90a:d582:b0:213:9df5:43b2 with SMTP id
 v2-20020a17090ad58200b002139df543b2mr6608955pju.86.1675087598639; Mon, 30 Jan
 2023 06:06:38 -0800 (PST)
MIME-Version: 1.0
From: &quot;Konstantin P.&quot; &lt;ria.freelander@gmail.com&gt;
Date: Mon, 30 Jan 2023 17:17:24 +0300
Message-ID: &lt;CAF1WSuxzmyTBWtui=JtkTWdHTeUV0RykagXAsRo-AEF9ODjcbA@mail.gmail.com&gt;
Subject: LLVM: should use debian multiarch
To: submit@bugs.debian.org
Content-Type: multipart/alternative; boundary=&quot;00000000000048dfae05f37bb92d&quot;
Delivered-To: submit@bugs.debian.org

--00000000000048dfae05f37bb92d
Content-Type: text/plain; charset=&quot;UTF-8&quot;

Package: src:llvm-toolchain-14
Version: 1:14.0.6-10
Distro: debian bookworkm

I want to cross-compile simple CMake project to mipsel in x86_64 machine. I
found than I cannot co-install LLVM versions from different architectures
by apt into one Debian machine. Even when I do not need llvm-config and any
of llvm binaries of mipsel architecture, only libraries and CMake files, I
cannot install llvm-14-dev:mipsel, because it depends on llvm-14:mipsel,
where all binaries are packaged, and llvm-14:mipsel conflicts with
llvm-14:amd64.

If all libraries and cmake files will be installed in
/usb/lib/DEB_HOST_MULTIARCH/, and will not depend on binaries (or depend on
binaries of &quot;native&quot; arch, if it is absolutely required), then CMake
projects can be compiled and packaged by cross-building with LLVM.

For now, it is not possible.

I found a similar bug,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897275, as wontfix. But
they are requesting a pkg-config file, which I do not need, I want only
better packaging, when I can use LLVM to cross-compile CMake packages by
installing it using APT without dirty hacks.

--00000000000048dfae05f37bb92d
Content-Type: text/html; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: quoted-printable

&lt;div dir=3D&quot;ltr&quot;&gt;&lt;div&gt;Package: src:llvm-toolchain-14&lt;/div&gt;&lt;div&gt;Version: 1:1=
4.0.6-10&lt;/div&gt;&lt;div&gt;Distro: debian bookworkm&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I =
want to cross-compile simple CMake project to mipsel in x86_64 machine. I f=
ound than I cannot co-install LLVM versions from different architectures by=
 apt into one Debian machine. Even when I do not need llvm-config and any o=
f llvm binaries of mipsel architecture, only libraries and CMake files, I c=
annot install llvm-14-dev:mipsel, because it depends on llvm-14:mipsel, whe=
re all binaries are packaged, and llvm-14:mipsel conflicts with llvm-14:amd=
64.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If all libraries and cmake files will be insta=
lled in /usb/lib/DEB_HOST_MULTIARCH/, and will not depend on binaries (or d=
epend on binaries of &quot;native&quot; arch, if it is absolutely required)=
, then CMake projects can be compiled and packaged by cross-building with L=
LVM.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;For now, it is not possible.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/=
div&gt;&lt;div&gt;I found a similar bug, &lt;a href=3D&quot;https://bugs.debian.org/cgi-bin/=
bugreport.cgi?bug=3D897275&quot;&gt;https://bugs.debian.org/cgi-bin/bugreport.cgi?b=
ug=3D897275&lt;/a&gt;, as wontfix. But they are requesting a pkg-config file, whi=
ch I do not need, I want only better packaging, when I can use LLVM to cros=
s-compile CMake packages by installing it using APT without dirty hacks.&lt;/d=
iv&gt;&lt;/div&gt;

--00000000000048dfae05f37bb92d--
]