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

Bug#1005297: marked as done (gcc-12: FTBFS on hurd-i386)



Your message dated Sun, 17 Jul 2022 09:48:57 +0000
with message-id <E1oD0tV-0006N7-MN@fasolo.debian.org>
and subject line Bug#1005297: fixed in gcc-12 12.1.0-6
has caused the Debian Bug report #1005297,
regarding gcc-12: FTBFS on hurd-i386
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.)


-- 
1005297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-12
Version: 12_12-20220206-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

gcc-12-12-20220206 in experimental FTBFS on hurd-i386 due to missing
patches for gccgo, gnu.h and an yet unresolved bug in src/Makefile.in.
Attached are patches needed for a successful build.

This bug has been reported by Mathias and assigned upstream, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290
but no patches are yet committed.

debian_rules.patch.patch patches debian/rules.patch to include the two
patches: gcc_config_gnu.h.diff fixing the split-stack problem when
building gotools and libgo_go_net_unixsock_readmsg_cloexec.go.diff
fixing the build of libgo. The last patch src_Makefile.in.patch, is for
src/Makefile.in moving 
all-target-libgo: maybe-all-target-libbacktrace
all-target-libgo: maybe-all-target-libatomic
outside of the
@unless gcc-bootstrap
@endunless gcc-bootstrap
pair. This patch is not part of the debian_rules.patch since I'm unsure
if this a patch is needed for all architectures or GNU/Hurd only.

BTW: Creating a new src/Makefile.in by
(cd src; autogen Makefile.def) does still create a buggy Makefile.in.
The reason of why some dependencies are within the @unless/@endunless
pair is still unknown. configure{,.ac} has the following note:

# Do not nest @if/@endif or @unless/@endunless pairs, because
# configure will not warn you at all.

Googling around did not help much, I've found no documentation of it's
use and how to encounter it.

Just a reflection: Matthias you are really doing a great job with the
gcc releases: Kudos!

Thanks!

--- a/debian/rules.patch	2022-01-26 11:49:06.000000000 +0100
+++ b/debian/rules.patch	2022-02-02 13:08:44.000000000 +0100
@@ -192,6 +192,8 @@
 
 ifeq ($(DEB_TARGET_ARCH_OS),hurd)
   debian_patches += hurd-changes
+  debian_patches += gcc_config_gnu.h
+  debian_patches += libgo_go_net_unixsock_readmsg_cloexec.go
 endif
 
 debian_patches += gcc-ice-dump
--- a/src/gcc/config/gnu.h	2022-02-06 11:59:41.000000000 +0100
+++ b/src/gcc/config/gnu.h	2022-02-06 12:00:19.000000000 +0100
@@ -19,6 +19,9 @@
 along with GCC.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#define OPTION_GLIBC_P(opts)	(DEFAULT_LIBC == LIBC_GLIBC)
+#define OPTION_GLIBC		OPTION_GLIBC_P (&global_options)
+
 #undef GNU_USER_TARGET_OS_CPP_BUILTINS
 #define GNU_USER_TARGET_OS_CPP_BUILTINS()		\
     do {					\
--- a/src/libgo/go/net/unixsock_readmsg_cloexec.go	2021-08-25 14:06:31.000000000 +0200
+++ b/src/libgo/go/net/unixsock_readmsg_cloexec.go	2022-02-01 16:10:01.000000000 +0100
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 //go:build aix || darwin || freebsd || solaris
-// +build aix darwin freebsd solaris
+// +build aix darwin freebsd hurd solaris
 
 package net
 
--- a/src/Makefile.in	2022-02-08 23:25:36.000000000 +0100
+++ b/src/Makefile.in	2022-02-09 12:37:13.000000000 +0100
@@ -67372,6 +67372,8 @@
 all-m4: maybe-all-build-texinfo
 configure-target-libgo: maybe-configure-target-libffi
 all-target-libgo: maybe-all-target-libffi
+all-target-libgo: maybe-all-target-libbacktrace
+all-target-libgo: maybe-all-target-libatomic
 configure-target-libphobos: maybe-configure-target-libbacktrace
 configure-stage1-target-libphobos: maybe-configure-stage1-target-libbacktrace
 configure-stage2-target-libphobos: maybe-configure-stage2-target-libbacktrace
@@ -67541,8 +67543,6 @@
 configure-target-fastjar: maybe-configure-target-zlib
 all-target-fastjar: maybe-all-target-zlib
 configure-target-libgo: maybe-all-target-libstdc++-v3
-all-target-libgo: maybe-all-target-libbacktrace
-all-target-libgo: maybe-all-target-libatomic
 configure-target-libgm2: maybe-all-target-libstdc++-v3
 all-target-libgm2: maybe-all-target-libatomic
 configure-target-liboffloadmic: maybe-configure-target-libgomp

--- End Message ---
--- Begin Message ---
Source: gcc-12
Source-Version: 12.1.0-6
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 1005297@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: SHA256

Format: 1.8
Date: Sun, 17 Jul 2022 11:18:47 +0200
Source: gcc-12
Architecture: source
Version: 12.1.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1005297
Changes:
 gcc-12 (12.1.0-6) unstable; urgency=medium
 .
   * Update to git 20210717 from the gcc-12 branch.
     - Fix PR rtl-optimization/105041, PR tree-optimization/105860,
       PR target/105930 (x86), PR tree-optimization/106114,
       PR target/105991 (PPC), PR target/106122 (x86), PR c++/106102,
       PR target/103722 (SH), PR bootstrap/105551, PR target/106097,
       PR c++/105626, PR c++/106024, PR c++/105541, PR c++/105779,
       PR c++/106024, PR d/106139, PR fortran/104313, PR fortran/103137,
       PR fortran/103138, PR fortran/103693, PR fortran/105243,
       PR fortran/106121, PR fortran/105954, PR fortran/105691,
       PR fortran/105813.
   * Apply a hack to build libgo on the Hurd. Closes: #1005297.
Checksums-Sha1:
 12842aa62d1d12d2cefcb0b0a8ab316ffa63a4e7 27413 gcc-12_12.1.0-6.dsc
 62da5f153beae1809b71f3f2ed6e5c54c1630332 1760432 gcc-12_12.1.0-6.debian.tar.xz
 85cea86ea424801a266d1827603c65bcb3512cf5 9449 gcc-12_12.1.0-6_source.buildinfo
Checksums-Sha256:
 32797f1140fab39804d8f105f6dd47138dab0770f66064e7123dcaf871d552b8 27413 gcc-12_12.1.0-6.dsc
 b435a4aafb800097dd4938b77461e5d07ce5b7da64a1d45104c037533c1b9072 1760432 gcc-12_12.1.0-6.debian.tar.xz
 1dcc79605056b8199af02afa3e87a7146b57b7e86efacb8122dbb43972ec3ff6 9449 gcc-12_12.1.0-6_source.buildinfo
Files:
 a9fe326185825200e695b620dabdae2c 27413 devel optional gcc-12_12.1.0-6.dsc
 d2f88021d3a66f24a6e19385d14fa414 1760432 devel optional gcc-12_12.1.0-6.debian.tar.xz
 7b2fd5fae4c0c8932d1a929ab2616462 9449 devel optional gcc-12_12.1.0-6_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmLT1soQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9RuLD/4/C5W2EQTBNJFPGz2N/rsNsySQYUVtFPW0
VQUcVu6+/XPaNf+f3V/o+p+Iu5Gu2d12uEXl2LktFbEXXb4rKssDPLMYY8OwMF5w
m3fXnjEb2ksyQwFf7NISSyoprijrXIQh5210dfbBgpcnPv6XomNZkpRZGzKQOQH1
8/aA8d5IE/2ZS2WMVm+hN7DOmP6Fsjcut0EPnLqEpc1vtNyDi4JuQ7egVk6zld6W
v/i2ZjeItJgXZw6vCkbSUA2pyLQ0MtaZ9J8+ejQPSu8imy0c00hFzcGPN8Zyf5Gp
usnA+6N5UoqCVuqF45MiP3qPf0f8qdKAkb72CBYTea6X97ImiAT/yvxFodnzmvtQ
HV+iQdHEPgXjIQpNYhljc89GelgKdHssCfk4zWxfRrdmvX2alxZOLNruVYn9vm2y
5Eey0aNXGaXxz8KJqBeRQZ8SkRwx/VNC21PXIboeiinPpnxRaeRaqD0cWkffI2Ub
yD+tLYp8w9HbNVpffYrQNaSBX7BmKUkpayHt62OQ/OgLHz9r0OAyCwc6y390Vlam
6ABFDIPX92mfXjkNyD2gtUTtjY+vGE7K/6NaLnMBsYDdH1gZGiJleIRF3wl6kGw6
39VAHYzADzAcui0EBAoy+glUcWzcgPs3jwk8PCYhlDxSnu7U7T3o7TyNI3fDoplM
bgDrmdIDDg==
=XVBG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: