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

Bug#1032161: marked as done (gcc-12 FTCBFS: <triplet>-gm2 not found)



Your message dated Thu, 09 Mar 2023 10:04:01 +0000
with message-id <E1paD7x-006gbt-9V@fasolo.debian.org>
and subject line Bug#1032161: fixed in gcc-12 12.2.0-16
has caused the Debian Bug report #1032161,
regarding gcc-12 FTCBFS: <triplet>-gm2 not found
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.)


-- 
1032161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032161
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-12
Version: 12.2.0-14
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

Hi Matthias,

gcc-12 fails to cross build since gm2 was introduced as a frontend due
to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92336 and we cannot make
a dent on it, but recently it started failing way earlier. It now fails
finding <triplet>-gm2 (the cross compiler). This is due to Build-Depends
relying on a particular gcc version (which is good) but failing to
supply the version suffix to the build. As with many other frontends, we
need to pass GM2_FOR_TARGET to the build. I'm attaching a patch for this
particular issue and that moves us back to the previous one.

Helmut
diff --minimal -Nru gcc-12-12.2.0/debian/changelog gcc-12-12.2.0/debian/changelog
--- gcc-12-12.2.0/debian/changelog	2023-01-08 10:12:42.000000000 +0100
+++ gcc-12-12.2.0/debian/changelog	2023-02-27 13:33:34.000000000 +0100
@@ -1,3 +1,10 @@
+gcc-12 (12.2.0-14.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Pass GM2_FOR_TARGET. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 27 Feb 2023 13:33:34 +0100
+
 gcc-12 (12.2.0-14) unstable; urgency=medium
 
   * Update to git 20230108 from the gcc-12 branch.
diff --minimal -Nru gcc-12-12.2.0/debian/rules2 gcc-12-12.2.0/debian/rules2
--- gcc-12-12.2.0/debian/rules2	2022-10-31 14:42:14.000000000 +0100
+++ gcc-12-12.2.0/debian/rules2	2023-02-27 13:33:34.000000000 +0100
@@ -125,7 +125,8 @@
 	GFORTRAN_FOR_TARGET=$(DEB_TARGET_GNU_TYPE)-gfortran-$(BASE_VERSION) \
 	GOC_FOR_TARGET=$(DEB_TARGET_GNU_TYPE)-gccgo-$(BASE_VERSION) \
 	GNAT_FOR_TARGET=$(DEB_TARGET_GNU_TYPE)-gnat-$(BASE_VERSION) \
-	GDC_FOR_TARGET=$(DEB_TARGET_GNU_TYPE)-gdc-$(BASE_VERSION)
+	GDC_FOR_TARGET=$(DEB_TARGET_GNU_TYPE)-gdc-$(BASE_VERSION) \
+	GM2_FOR_TARGET=$(DEB_TARGET_GNU_TYPE)-gm2-$(BASE_VERSION)
 endif
 
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_TARGET_GNU_TYPE))

--- End Message ---
--- Begin Message ---
Source: gcc-12
Source-Version: 12.2.0-16
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
gcc-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 1032161@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-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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 09 Mar 2023 10:32:27 +0100
Source: gcc-12
Architecture: source
Version: 12.2.0-16
Distribution: experimental
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1032161
Changes:
 gcc-12 (12.2.0-16) experimental; urgency=medium
 .
   * Update to git 20230309 from the gcc-12 branch.
     - Fix PR middle-end/108546, PR target/109000 (loongarch), PR c++/107079,
       PR c++/107939, PR c++/108998, PR c++/108116, PR c++/107853,
       PR c++/107864, PR c++/107179.
   * Pass GM2_FOR_TARGET for cross builds (Helmut Grohne). Closes: #1032161.
   * Don't add libhwasan0 in the control file when not building common libs.
Checksums-Sha1:
 59c91393b2e1a8b01d5570b2e42fe9f8dfd9ca5c 21721 gcc-12_12.2.0-16.dsc
 a8f70d9ce1e231811e5494655235243a0e9c1d76 1743928 gcc-12_12.2.0-16.debian.tar.xz
 73afe72ad42c9d1231c8689db9bbac7e70b1a38d 9749 gcc-12_12.2.0-16_source.buildinfo
Checksums-Sha256:
 39dfb1a1371fb5070913222ef3768cca6124803fc2ed128be2b0515bf9cbaca1 21721 gcc-12_12.2.0-16.dsc
 690bcf4ab8d66796dd10eb89c84b94065f8fe31cb2f1bd75f491f2d077a23d96 1743928 gcc-12_12.2.0-16.debian.tar.xz
 aa90fe4e7aaeb072fc23db160d7300fadf43f3832e6f3f12eb4eeadb86a0e1c1 9749 gcc-12_12.2.0-16_source.buildinfo
Files:
 8d65afff0458cb1d7c1b51df16488a4f 21721 devel optional gcc-12_12.2.0-16.dsc
 419490dcd7af64b1c1683390ea7dbf3c 1743928 devel optional gcc-12_12.2.0-16.debian.tar.xz
 1ef957490877b8ebc77d3bce3bc59c53 9749 devel optional gcc-12_12.2.0-16_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmQJqMsQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9c53D/kBIWW59KPyjHCuwOirwxn3hbltpto468dz
p5v5Ain+6q8o5rw+slIxnBQEuhcYorAgtCLBVNiQy/BJYRA3feVcxrkqWkE6DnTN
gx73ajkhyPXyW2VKmDlnYPIy5ysBzqkuqSuICbhwhHM6yJZ1uTmTQZxx6136xnjy
ppIj2gjuOnZ15DCebwNruYXibzmi2Krbrpx20xVjFPTwYMfeVFUAW0216QofIl4a
rqrYGxU9gBWYwrzcPlknSTS1AKDoqFVp8M6OLrmsXY4CWIrsjXBhWWTORhV/R1bL
rBK1ed96F36g/9jPP0HJoA3+27CKrIBjsOe2zSCvWMwz3JSvlgt3bZaXZSUHexTd
7a97lXE1xUGfM4cnJUWSkb8qGVg/LW9zl4+cWuac+ofaP2ivmiO99fePYJ3wdgCl
2DHz+7QBS26SqK5Z5PQdYSa1CbddSHyqmNnusMkfnhYC5ZeOG5YIA6KpB+48KLbl
t/ze4WpI7/vQkG1cOIO9iLc/FLv9lmL4Y2dSY4mq0CNklq4v6TMHTeXgqB9sXoZh
jvjyjzA5ZuWvo4q02ADJQ1CCv3ot4w7pBakRESvpHR0JKB1zCIkSKvhcGdN7ZBn2
EcnaCaAqCTOCfqLqHzDK4moGBvnclG3yYt+Taw9CnYdiDjSXQIm23jJL3k2NJBeA
gn1/2OK1+g==
=vUMU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: