--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcc-9: Do not pass --with-arch=i586 on hurd-i386.
- From: Samuel Thibault <sthibault@debian.org>
- Date: Mon, 18 May 2020 14:59:02 +0200
- Message-id: <20200518125902.5k53fpurcwzbgpyn@function>
Package: gcc-9
Version: 9.3.0-12
Severity: important
Tags: patch
Hello,
It seems hurd-i386 was left with building with --with-arch=i586, while
there is no reason any more to do so. I checked building glibc, hurd,
gnumach, without any issue.
This needs to be applied on gcc-10 and snapshot as well, the same patch
will work, I'll clone+reassign the bug.
Samuel
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.6.0-1-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcc-9 depends on:
ii binutils 2.34-5
ii cpp-9 9.3.0-12
ii gcc-9-base 9.3.0-12
ii libc6 2.30-8
ii libcc1-0 10.1.0-1
ii libgcc-9-dev 9.3.0-12
ii libgcc-s1 10.1.0-1
ii libgmp10 2:6.2.0+dfsg-4
ii libisl22 0.22.1-1
ii libmpc3 1.1.0-1
ii libmpfr6 4.0.2-1
ii libstdc++6 10.1.0-1
ii zlib1g 1:1.2.11.dfsg-2
Versions of packages gcc-9 recommends:
ii libc6-dev 2.30-8
Versions of packages gcc-9 suggests:
ii gcc-9-doc 9.3.0-1
pn gcc-9-locales <none>
ii gcc-9-multilib 9.3.0-12
-- no debconf information
commit 2206ac18f2c0bc3515009f56d0a7cdc01b644a15
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon May 18 14:51:04 2020 +0200
debian/rules: Do not pass --with-arch=i586 on hurd-i386.
diff --git a/debian/rules2 b/debian/rules2
index bdb4657..c1ec236 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -595,10 +595,6 @@ ifeq ($(multilib),yes)
CONFARGS += --enable-multilib
endif
-ifneq (,$(filter $(DEB_TARGET_ARCH), hurd-i386))
- CONFARGS += --with-arch=i586
-endif
-
ifeq ($(DEB_TARGET_ARCH),lpia)
CONFARGS += --with-arch=pentium-m --with-tune=i586
endif
--- End Message ---