Bug#948317: gcc-10: Please disable gm2 on ia64

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.ia64
Message-ID <157838497329.1789379.14687309926855898567.reportbug__23677.816642315$1578385830$gmane$org@z6.physik.fu-berlin.de>
Source: gcc-10
Version: 10-20200104-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ia64

Hi!

The gcc-10 build currently fails on ia64 when trying to build gm2 [1],
thus I have disabled gm2 for a local test build.

After disabling gm2, the build completes successfully, although I have
not run through the whole testsuite yet to confirm everything is okay.
But in any case, disabling gm2 on ia64 fixes the build error.

Could you add ia64 to m2_no_archs in debian/rules.defs?

Attaching a patch which achieves that.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
gcc-10-ia64-disable-gm2.diff (text/plain, 574 B)
diff -Nru old/gcc-10-10-20200104/debian/rules.defs new/gcc-10-10-20200104/debian/rules.defs
--- old/gcc-10-10-20200104/debian/rules.defs	2019-12-17 12:35:22.000000000 +0100
+++ new/gcc-10-10-20200104/debian/rules.defs	2020-01-07 09:07:55.823830321 +0100
@@ -1240,7 +1240,7 @@
     with_m2 := yes
   endif
 endif
-m2_no_archs = powerpc ppc64 sh4 kfreebsd-amd64 kfreebsd-i386 hurd-i386
+m2_no_archs = ia64 powerpc ppc64 sh4 kfreebsd-amd64 kfreebsd-i386 hurd-i386
 ifneq (,$(filter $(DEB_TARGET_ARCH),$(m2_no_archs)))
     with_m2 := disabled for cpu $(DEB_TARGET_ARCH)
 endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.