Your message dated Thu, 13 Mar 2025 16:39:15 +0000
with message-id <e1tslav-00fgbs...@fasolo.debian.org>
and subject line Bug#1095867: fixed in llvm-toolchain-18 1:18.1.8-17
has caused the Debian Bug report #1095867,
regarding llvm: unsoundness/miscompilations on i386
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1095867: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095867
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rustc
Version: 1.84.0+dfsg1-1
Severity: serious
Tags: upstream
Justification: Policy 2.2.1
X-Debbugs-Cc: debian-r...@lists.debian.org, sylves...@debian.org
Filing this bug to have a record in BTS - I'll file a separate one for
release.debian.org about the broader baseline question.
This issue came up back in November on debian-devel/-release:
https://lists.debian.org/debian-release/2024/11/msg00443.html
My original mail, partially wrongly summarizing the issue.
https://lists.debian.org/debian-release/2024/11/msg00445.html
My reponse linking to more upstream details, including why downgrading to i586
in LLVM/rustc doesn't work.
It boils down to the following:
- Debian's i386 baseline is currently 32-bit x86 without MMX or SSE (i686)
- Debian's LLVM and rustc packages accordingly patch their i686 targets to
remove SSE support, which would be part of that target's baseline upstream
otherwise [0,1]
- Upstream LLVM and rustc consider this combination unsound and unfixable (for
IMHO valid reasons) because it can cause subtle miscompilations leading to
runtime crashes, in addition to the (usual, expected) different semantics of
x87 and SSE2 floating point implementations [2,3]
I see the following options:
A) bump i386 baseline for Trixie to match LLVM/rustc's upstream i686 target,
i.e. Pentium 4 *with* MMX and SSE2 (separate RT bug will be filed shortly)
B) RC-ignore this bug and implications for Trixie, bump baseline for Trixie+1
C) remove LLVM and rustc and all their transitive rdeps (this includes Firefox
and Chromium, most major Desktop environments, sequoia, and probably a bit
more) on i386 from Trixie, further reducing the usefulness of this arch
Personally (with my rustc maintainer hat on) I have a strong preference for A).
Please keep responses on details of A) to the corresponding release.debian.org
bug!
Fabian
0:
https://salsa.debian.org/rust-team/rust/-/blob/debian/sid/debian/patches/behaviour/d-rustc-i686-baseline.patch?ref_type=heads
1:
https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/19/debian/patches/clang-baseline-fix-i386.patch
2: https://github.com/rust-lang/compiler-team/issues/808
3: https://github.com/rust-lang/rust/issues/114479#issuecomment-2072052116
--- End Message ---
--- Begin Message ---
Source: llvm-toolchain-18
Source-Version: 1:18.1.8-17
Done: Sylvestre Ledru <sylves...@debian.org>
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-18, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1095...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvestre Ledru <sylves...@debian.org> (supplier of updated llvm-toolchain-18
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 12 Feb 2025 14:26:20 +0100
Source: llvm-toolchain-18
Architecture: source
Version: 1:18.1.8-17
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Closes: 1095867
Changes:
llvm-toolchain-18 (1:18.1.8-17) unstable; urgency=medium
.
[ Matthias Klose ]
* d/control, d/t/control: Add binutils-gold as explicit build dependency.
Will fix arm64 test failures
.
[ Sylvestre Ledru ]
* Enable sse2 back on i386 for rustc
https://lists.debian.org/debian-devel/2025/01/msg00034.html
(remove the two patches that we are applying for disable sse2)
It is now the same as upstream
(Closes: #1095867)
Checksums-Sha1:
e397001e1f2b4efc58d58fbc88655e5ca3f4b6e8 8556 llvm-toolchain-18_18.1.8-17.dsc
dfb344e6e9c132881bc17a5d27d62bd6792a20fc 167092
llvm-toolchain-18_18.1.8-17.debian.tar.xz
9718c81a074f64533bf22ed07b077c6f6ca1f64a 38083
llvm-toolchain-18_18.1.8-17_amd64.buildinfo
Checksums-Sha256:
4579df5034d2897310cdc403cf47c2ff826b21fd408557e89756256e0edbb70f 8556
llvm-toolchain-18_18.1.8-17.dsc
cdefce064c307aee5895d562fe882c2ce87ea984719073554e932c5dbee1eaf4 167092
llvm-toolchain-18_18.1.8-17.debian.tar.xz
7acea763eca075130f5cb512740f8f7db4ea20d1a4035d017e38d19576334a55 38083
llvm-toolchain-18_18.1.8-17_amd64.buildinfo
Files:
12a82d351794314ccfc76d3ec3c889db 8556 devel optional
llvm-toolchain-18_18.1.8-17.dsc
de457c7d4527627aed7ab4429369a90f 167092 devel optional
llvm-toolchain-18_18.1.8-17.debian.tar.xz
10069625307db2ac93517dde8fbc6a12 38083 devel optional
llvm-toolchain-18_18.1.8-17_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmfS/0gACgkQfmUo2nUv
G+EgFhAAlE89BroZiEE1M+/98fGCp/zVU852Q/vnmyUkIEmMinCyiutNQu8e2r1N
P3JadOF2Rt3qECRsTQ8i2FwNzPHz1qqHxeHQqmCCoU3bD342u+1m8c7mQTBd7wkw
gHboWGnVD0JaxWJbykZ4ovaIKGzJsZDqd4hkIEVmsZC0HxaIU/f0CnJygaO/DL//
2jxKymou2GfaBTeH6IQpemwvrs0jUQCNxQtuVzcFffnZZa6a/FAvKAon42CZ5rDo
rQPx+h2rICp3koRUh8JKyBYnZGwbzjJidVsEouRXGBr/jlnNaDgZYmsdkygMqFZB
AXEZ/Evi0prZ3J303/Lrgdny9AO7pFrQe+MuCk7NhqpdIE7VktscTHpxb21T9Z66
jNJ545i1XAcIXLf5yDWmZO0vkxPN/lPPGYkK9n+UpyOiRQAQ30lUefipheYcjiAG
2egbo3bLGszSw8vymIgty+aqxV3ky5IbxfxxltF/4h4JLBGp5gOefm8ubIoJERAo
xwAloNEX/LanhncLaB2oY7mVrOXxkn26l5pQ+fb/0FR37OyK0cGPKOf7tmDqthMK
/HUrM2xrWw8MMDvdkRih7WhXjDdx0V/HG9IL6Q47itmaQ4PkyhY32SATrgVFm+uS
vrvtEvQq4AcTyyhRKuwJusCSWnXCGfkE68z8run8ZgupmAdY5+E=
=YTu7
-----END PGP SIGNATURE-----
pgpmun73_qsOH.pgp
Description: PGP signature
--- End Message ---