Your message dated Wed, 02 Jun 2021 22:04:11 +0000
with message-id <[email protected]>
and subject line Bug#988965: fixed in llvm-toolchain-12 1:12.0.1~+rc1-1
has caused the Debian Bug report #988965,
regarding llvm-toolchain-12: llvm 12 generates bad human-readable IR output on
mipsel
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 [email protected]
immediately.)
--
988965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: llvm-toolchain-12
Version: 1:12.0.0-3
Severity: important
X-Debbugs-Cc: [email protected], [email protected]
Dear Maintainer,
LLVM 12's ability to emit IR in human-readable form is corrupted on mipsel
32-bit:
$ cat main.c
#include <string.h>
int main() {
char *a = NULL;
char *b = NULL;
memcpy(a, b, 0);
}
$ clang-12 -S -emit-llvm main.c
$ grep 00G8 main.ll
call void @llvm.memcpy.00G8.00G8.G32(i8* align 1 %3, i8* align 1 %4, i32 0,
i1 false)
declare void @llvm.memcpy.00G8.00G8.G32(i8* noalias nocapture writeonly, i8*
noalias nocapture readonly, i32, i1 immarg) #1
00G8 is not correct, it should be p0i8 and suggests miscompilation somewhere as
the source code of the function does not contain these characters:
https://github.com/llvm/llvm-project/blob/5b6cae5524905bc43cfc21a515f828528d1f2e68/llvm/lib/IR/Function.cpp#L777
This additionally makes some rustc tests fail.
LLVM 11 is fine.
I filed a Debian bug for now because I could not find any other LLVM 12 mipsel
binaries to test with online; neither upstream nor Fedora distribute these.
Please do forward upstream if you are confident this is not a Debian-specific
issue.
X
-- System Information:
Debian Release: 11.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-security'), (500, 'testing-debug'), (500, 'stable'), (300,
'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Source: llvm-toolchain-12
Source-Version: 1:12.0.1~+rc1-1
Done: Sylvestre Ledru <[email protected]>
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-12, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated llvm-toolchain-12
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 02 Jun 2021 20:20:02 +0200
Source: llvm-toolchain-12
Architecture: source
Version: 1:12.0.1~+rc1-1
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Closes: 988965
Changes:
llvm-toolchain-12 (1:12.0.1~+rc1-1) unstable; urgency=medium
.
[ John Paul Adrian Glaubitz ]
* Add upstream patch D98574 to fix clang macro definitions on sparc64
* Add upstream patch D98575 to fix 32-bit compiler-rt build on sparc64
.
[ Sylvestre Ledru ]
* backport D101773 to fix an llvm ir issue on mipsel
in mips/mips-D101773-reloc.patch
thanks to Ximin Luo
(Closes: #988965)
Checksums-Sha1:
33206590f6c6b21fa0e12293c03c7ebc9707021d 6264
llvm-toolchain-12_12.0.1~+rc1-1.dsc
19e8b1f63b119a37576a2e10e716b3a6a6fc0bff 135140
llvm-toolchain-12_12.0.1~+rc1-1.debian.tar.xz
ab9c892659f45bdbd11ab79e0dd28a9ee5a8e71a 28724
llvm-toolchain-12_12.0.1~+rc1-1_amd64.buildinfo
Checksums-Sha256:
3aacd99e8c50f82e668df72e31b7887a18690800bf7d491e9d57214c696ae2e2 6264
llvm-toolchain-12_12.0.1~+rc1-1.dsc
c25998e0c3a0df2e2b6e736996383d571bc7c076ca8ef5258c33b6e75050fd3b 135140
llvm-toolchain-12_12.0.1~+rc1-1.debian.tar.xz
a1ae8e4fee66876d4c00d5dfdb418356ea8d3ff0ff80891529a04ffd6f89986d 28724
llvm-toolchain-12_12.0.1~+rc1-1_amd64.buildinfo
Files:
183b06358773c3bf6e3812e38057ae85 6264 devel optional
llvm-toolchain-12_12.0.1~+rc1-1.dsc
9551aa2e757079a9eee0b209d03ef5aa 135140 devel optional
llvm-toolchain-12_12.0.1~+rc1-1.debian.tar.xz
83ea808bfa72369a0029b8a67fd43e03 28724 devel optional
llvm-toolchain-12_12.0.1~+rc1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmC3+vkACgkQfmUo2nUv
G+HqLg/9H38MbNabBYbd1AH6w+YOwZKOc5pUkC0a9+g7PSCdDmKVUSw5Rnuo9kOi
lV26vuBFfa82ymRL9ALgjqFlCrzdu1vV0Aj7N/XJQCyGeOHrViGb4otT0uV/DIrs
oVNzBtAz7TPqpSdvJLaxz2KEtk8ENBpqK+Iqv6c69tgGBwvxISjLvJubGghZXdTt
XOToMdxurNI0UmtXtUT/RO4KcnwEpURcbkQ5StRDzu+5W3xdaNvnon/dwOZwAPuN
5PEI9TBINS8WYwMMcBhFJgkEsunsaRfRujZGaTXh2+J23IGAuBbEGHAJGT2lrA1h
89YBX50cM17tUqAprKhx8de8uG/w+iUBUjFDNP2A6p7lyiquh0M4dR5zpmubTIqD
EiVyDZsGKQfsXT+pzjsEO6Sjdb8VGhmY6Iou3YINdxoRWvRZc8x+bFwx3T/OG/Fo
zhzm8+caD6oC8RQk3Z1eFkpF8MEhUHZbjQlFcSb3MD6Xl8o11cmfU7Azr3O5dlH1
njiuGxitTBmHRZQoodMoRvDRmaV5N+R57wPwlahKfCx47vZ7k1kPXL/vXbSFf4Lo
8UXuuAD2csTp771PaOYOrY1Q2rBdNFu5khlaxGaLIC8fzGY1ycQZvfqy87s3KfvS
LUBqEPmezsIKkCjpWy1IP59oBdrkcl6Q3ds3jy4ORTNJ+EG1WBA=
=qgkP
-----END PGP SIGNATURE-----
--- End Message ---