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

Bug#971551: gcc-10: Please enable gnat on m68k as it works now



Source: gcc-10
Severity: normal
User: debian-68k@lists.debian.org
Usertags: m68k
X-Debbugs-Cc: debian-68k@lists.debian.org

Hi!

Since the gnat bootstrap on m68k was actually fixed almost over a year ago [1],
I gave it another try and, indeed, I was successfully able to build gcc natively
on m68k with gnat enabled.

I have uploaded a +gnat version of gcc-10 into Debian Ports with gnat enabled so
that the next official upload of the gcc-10 package in unstable can enable gnat
natively on m68k.

Can you apply the following patch to enable gnat on m68k?

--- debian/rules.defs.orig      2020-08-31 13:38:02.000000000 +0200
+++ debian/rules.defs   2020-10-01 19:30:59.457430044 +0200
@@ -841,10 +841,6 @@
 # Ada --------------------
 ada_no_cpus    := m32r sh3 sh3eb sh4eb
 # no Debian builds ... some of these should exist
-# ... cross-build-native cross-builds a non-working compiler ...
-ifneq (,$(filter $(build_type), build-native))
-  ada_no_cpus += m68k # see https://bugs.debian.org/868365
-endif
 ada_no_systems := 
 ada_no_cross   := no
 ada_no_snap    := no

Not sure what the comment "# no Debian builds ... some of these should exist" refers
to, we might be able to remove that as well.

Adrian

> [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9aa357c75358a51f038e50f7c8d9207b58c157e0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: