Your message dated Tue, 24 Mar 2020 21:39:38 +0000
with message-id <e1jgrgs-00071l...@fasolo.debian.org>
and subject line Bug#923982: Removed package(s) from unstable
has caused the Debian Bug report #870375,
regarding gcc-7: Native gdc cross-builds fail
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 ow...@bugs.debian.org
immediately.)
--
870375: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870375
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-7
Version: 7.1.0-11
Severity: normal
Tags: patch
Hi!
Trying to do a cross-native build for m68k with gdc enabled fails with:
g++ -o d/impcvgen d/impcnvgen.dmdgen.o
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
/usr/bin/ld: d/idgen.dmdgen.o: Relocations in generic ELF (EM: 4)
d/idgen.dmdgen.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
../../src/gcc/d/Make-lang.in:254: recipe for target 'd/idgen' failed
I'm currently working around this issue by adding the following
changes to debian/rules.defs:
--- debian/rules.defs.orig 2017-08-01 15:35:52.999394076 +0200
+++ debian/rules.defs 2017-08-01 15:27:13.531269664 +0200
@@ -869,6 +869,9 @@
ifeq ($(DEB_STAGE)-$(filter libphobos, $(with_rtlibs)),rtlibs-)
with_d := disabled for rtlibs stage
endif
+ifeq (,$(filter $(build_type), build-cross build-native))
+ with_d += no
+endif
with_d := $(call envfilt, d, , , $(with_d))
#with_d := not yet built for GCC 7
I'm attaching the patch just in case. I will also test whether this
affects other architectures for cross-native builds.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- debian/rules.defs.orig 2017-08-01 15:35:52.999394076 +0200
+++ debian/rules.defs 2017-08-01 15:27:13.531269664 +0200
@@ -869,6 +869,9 @@
ifeq ($(DEB_STAGE)-$(filter libphobos, $(with_rtlibs)),rtlibs-)
with_d := disabled for rtlibs stage
endif
+ifeq (,$(filter $(build_type), build-cross build-native))
+ with_d += no
+endif
with_d := $(call envfilt, d, , , $(with_d))
#with_d := not yet built for GCC 7
--- End Message ---
--- Begin Message ---
Version: 7.5.0-6+rm
Dear submitter,
as the package gcc-7 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/923982
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---