[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#958909: marked as done (gcc-10: fails to build sparc64 cross compiler with multilib)



Your message dated Thu, 07 May 2020 15:18:37 +0000
with message-id <E1jWiIH-0000ST-UV@fasolo.debian.org>
and subject line Bug#958909: fixed in gcc-9 9.3.0-12
has caused the Debian Bug report #958909,
regarding gcc-10: fails to build sparc64 cross compiler with multilib
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 owner@bugs.debian.org
immediately.)


-- 
958909: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958909
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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-9
Source-Version: 9.3.0-12
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
gcc-9, 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-9 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: Thu, 07 May 2020 16:59:19 +0200
Source: gcc-9
Architecture: source
Version: 9.3.0-12
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 958909
Changes:
 gcc-9 (9.3.0-12) unstable; urgency=medium
 .
   * Update to git 20200507 from the gcc-9 branch.
     - Fix PR target/94613 (S390), PR tree-optimization/93674,
       PR target/94145 (PPC), PR target/93654 (x86), PR c++/94946,
       PR c++/90750, PR c++/79585, PR fortran/93581, PR fortran/93956,
       PR fortran/94788, PR d/90718, PR d/90719.
   * Increase the testsuite timeout on riscv64.
   * Fix sparc64 multilib cross build (Helmut Grohne). Closes: #958909.
   * lib*stdc++6: Depend on lib*gcc-sN instead if lib*gccN.
Checksums-Sha1:
 956de30dea33281eca727bc3620585a2c7d0ab62 21922 gcc-9_9.3.0-12.dsc
 e85052d27569553d7a2726236d492f8edd0b02e3 670204 gcc-9_9.3.0-12.debian.tar.xz
 dbf4ad4a34198fc801b9842759e40cf35c9a9085 9641 gcc-9_9.3.0-12_source.buildinfo
Checksums-Sha256:
 a0bb1405c89c0411eefc10729a01b0ad33eb80bcf332fac522d1fbab01ae8f4a 21922 gcc-9_9.3.0-12.dsc
 b1491828f4b37846732ba72d3d5b8851b80ddc44fc2d6c4014e4a92a8ab90b88 670204 gcc-9_9.3.0-12.debian.tar.xz
 de0a0209c9ecb30e11a0325525dc439426651a25edb64560d4d2d05aea3233a7 9641 gcc-9_9.3.0-12_source.buildinfo
Files:
 3c914d4e6216f51a8b3cf7b6043bcc5c 21922 devel optional gcc-9_9.3.0-12.dsc
 44b6168b66f4a3b79a20211eb64171ce 670204 devel optional gcc-9_9.3.0-12.debian.tar.xz
 9cb7c2b21147fde05e29a518517e8341 9641 devel optional gcc-9_9.3.0-12_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl60IzoQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9QfFD/4jOTaA/naBjOL8mAlFd6osSnwkLYZNBDPU
OQdQff8eXbpNgJJsZIKTGNUloUBSaaOLmpkeuchiFL1au1B5Jrl4vnueBEwYbLKD
6XgSsaL3Vh5ix5KBun/39XXBaURYlTcbysd6Ad/JRe9JYmQ9zfByVLHMiBHCqyYh
PhUqnPWSPD2bpABWjccdGYcAePSLlv0EmZDHLuC3K0IX3VEIBhAPgF4OXSne0v05
js4wIEbDlhnuEUFtEY5hShAfyVs3omU5ZYKBRIIrxJ0qqMD4HTafqHuSkH6orM7p
R4IFfuFZ/W0MCRDW2oTFWKZaLclD9JZtbNJ1TVKI0ewLKeySOV8WkuVULNFIQhHY
8Q148D0M9a/2fmh79gErSBFobJ3XXFPwaKjiDdfNwOIVRYQAWLiprJ9HbmO5yZFU
my7NMVWtOS80c6LUVxi1AUEfhki7nEfAOR35v/tezYO+ofIn40OSkPOdqOrbQ4nQ
oxyDbFfTVj0FYvW3ITsL5oT5r0++TYS45KRp4w7Oc9gfzjSP1D2dCl0luIfyFR1d
DURip92n4c04UQ4ht86BmWBdfx4np6xqRkbVZuAT3WcG+KBOQxY33WtrZLY5sjAK
+VmudtQrsK3ZNaY5UhDF82uQ9bfw0ML4+P0WDKNAHruT2Mtx8nlmZwqG81lEWfWJ
6lQIY1UzGA==
=rUa/
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: