--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcc-10: fails to build sparc64 cross compiler with multilib
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sun, 26 Apr 2020 17:56:56 +0200
- Message-id: <20200426155656.GA29411@alf.mars>
Source: gcc-10
Version: 10-20200411-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
Control: block 881687 by -1
Control: affects -1 + src:gcc-9
In #881687, YunQiang Su sent a patch that disentangles multilibs in
dpkg-cross for mipsen. The problem is that after dpkg-cross, the
relevant ld.so paths end up conflicting and some need to be discarded.
This issue also happens to affect sparc64 as both 32bit sparc and
sparc64 use ld-linux.so.2. In order to make the patch from #881687 work
for sparc64, support from gcc-N (also affects gcc-9 at least) is needed.
Like it does for mipsen, it needs to pass the relevant -l flag to
dh_shlibdeps. Please consider applying the attached patch to implement
that. The bug log in #881687 is a little confusing, but the last mail
from YunQiang Su should clear most confusion.
Helmut
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -2245,6 +2245,8 @@
$(with_build_sysroot)/$(usr_lib64)) \
$(if $(findstring mipsn32,$(DEB_TARGET_ARCH)), \
$(with_build_sysroot)/$(usr_libn32)) \
+ $(if $(filter sparc64,$(DEB_TARGET_ARCH)), \
+ $(with_build_sysroot)/$(usr_lib64)) \
$(if $(filter yes,$(biarchsf) $(biarchhf)), \
$(with_build_sysroot)/usr/$(call mlib_to_march,$(2))/lib) \
$(if $(filter yes, $(with_common_libs)),, \
--- End Message ---
--- Begin Message ---
Source: gcc-10
Source-Version: 10-20200502-1
Done: Matthias Klose <doko@debian.org>
We believe that the bug you reported is fixed in the latest version of
gcc-10, 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 958909@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-10 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 02 May 2020 14:09:59 +0200
Source: gcc-10
Architecture: source
Version: 10-20200502-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 958909 959127
Changes:
gcc-10 (10-20200502-1) unstable; urgency=medium
.
* GCC 10.1 release candidate.
* GCC snapshot, taken from the gcc-10 branch (20200502, 0118d0397f9).
- Fix PR objc/94637, @selector() broken for selectors containing repeated
colons. Closes: #959127.
* Increase the testsuite timeout on riscv64.
* Fix sparc64 multilib cross build (Helmut Grohne). Closes: #958909.
* Fix GDC Issue 19367 - std.net.curl does not understand HTTP/2 status lines.
LP: #1876293.
* Update libgphobos symbols files.
Checksums-Sha1:
8d603730f1b659420db4de1913e4a55927b12aff 28208 gcc-10_10-20200502-1.dsc
f34d6fab672903482a297b856ab477a111b76577 89285498 gcc-10_10-20200502.orig.tar.gz
66362295ab9cf0204997bc3821285797cff7fa2e 1402296 gcc-10_10-20200502-1.debian.tar.xz
0040611dafbb946e15215bd8d78c837c8d1c7f9d 10791 gcc-10_10-20200502-1_source.buildinfo
Checksums-Sha256:
e91fb90e67960f36e5c23622cf93f30f86f8d00d1362f5af07eb98f143e77bf9 28208 gcc-10_10-20200502-1.dsc
2ce7f165ee95017821901a044a6431c90642694062ed0a661ae64dfcd818b4e7 89285498 gcc-10_10-20200502.orig.tar.gz
4a1eb7d591ae4b596a0847a2a94cfb7eb1a4625fc109f7748513f7c5e7f14876 1402296 gcc-10_10-20200502-1.debian.tar.xz
0706589505b9b39284fea90cc53ee776f4d8b3a82ecde631ff692d934f8302a4 10791 gcc-10_10-20200502-1_source.buildinfo
Files:
cd3cc2dd8c5097e3bb4a0596f354048c 28208 devel optional gcc-10_10-20200502-1.dsc
a98e3e72073527fc24a8619d4133bd1b 89285498 devel optional gcc-10_10-20200502.orig.tar.gz
be9ab918bf22e0df65113457d07a9dd0 1402296 devel optional gcc-10_10-20200502-1.debian.tar.xz
2735a459af4e7e6223984c3a9e5b986d 10791 devel optional gcc-10_10-20200502-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl6tY+4QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9Ut2D/9s1Iu9NaixfncgxXL/msKbidyk/PHxuh9X
DsPQuXn+RTSYdkMGXLsJFsHPXH5/ou2ssh836dbmlJYZRL8fa8BQOEB3Cb5VrXLC
nE+gtLEb3CPnozGP+q2UBYC2Phq+2EZ4F9mcGm0wcRkN0bJpJD59ClUeR0i7U/U1
yo1s+VFRTfbzCIVS5pkWX8lg+RJSb9YWlL7sEP3q+/qRfRf5RAxaCCjIfh94n1mL
Ng5QwaLz21om5VX5c7xEyox7IPk1RtMoanAj39GJEQk80xGTDJgtljWxlokAVAZE
xwlmjqSbgkBBMHrtkbOtD2fGiMf/CXiMD7j4LcJEHteDviEtJD4PzpMc/XqHImJK
IWohoa6hwbZCJjsVKJy0JwjCYyAXw6xBfwETxQrE/dWeQ7zAFhNLqEdftWcZrXp7
r0VYCJkkhXqjeFy5/gDQ9pmNptk8bEIAthQugfaE8TUwBubJPEQehJ7xDRjMIewZ
vdKDnjbjMinnsSAOv2RlBVlZCXfjiwiJgrpqtP7L31lipOlFmqTG19PytiGOh7pR
3WiY0JUutDsJxnytW0zqmJtsSJkmwiCC9EkVwg+Prho85AUXuLtaHMObNOSxHeMp
qhL7CFrfHx9vtysZDU1pNiY0Ns0bkX/4bbWJBP6bM8l46p+yBeYnCqcyV3A6bzJ2
+fzxyg+lbA==
=upnA
-----END PGP SIGNATURE-----
--- End Message ---