all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GMP GCC C++ Hurd cross-build failure on core-updates
@ 2022-12-04  7:23 zamfofex
  2022-12-04 16:46 ` Joshua Branson
  2022-12-05 16:08 ` Ludovic Courtès
  0 siblings, 2 replies; 10+ messages in thread
From: zamfofex @ 2022-12-04  7:23 UTC (permalink / raw)
  To: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]

Hello, Guix! I have been trying to update the Hurd packages to their latest commits in the hopes that I can eventually get networking with netdde functioning.

In <https://issues.guix.gnu.org/51770>, I got something that seemed to be working at first (at least it progressed farther than the status quo at the time), but eventually I got an error that seemed related to Mig, which I had not updated in that patch set.

Updating Mig required a more recent glibc than what was available in Guix at the time, so I worked on <https://issues.guix.gnu.org/54832> to update glibc.

Now that the recent glibc is on core-updates, I picked up my work once again. I updated the packages to the latest commits, and updated Mig! However, I ran into an issue while trying to build a system image. The issue is that GMP fails to cross‐compile during the ‘configure’ phase becase the cross‐compiling ‘g++’ is not functional.

When checking whether ‘g++’ can compile executables during ‘configure’, ‘g++’ is unable to link the executables because some ‘pthread_*’ symbols required by libstdc++ are missing from libc. And when checking using ‘readelf’, they are indeed missing from the cross‐built libc, which instead contains similar ‘__pthread_*’ symbols.

I don’t know for sure what the issue is, but I highly suspect libstdc++ is being compiled against the native glibc headers, rather than the cross‐built glibc headers like it should.

Note: Currently, trying to cross‐build packages from core‐updates for the Hurd will fail while compiling glibc, since the Hurd package is too outdated for that version of glibc.

I’ll attach a diff (for core-updates) with the updated Hurd packages to this email. To verify the behavior I’m describing, try running:

- - - - -
./pre-inst-env guix build --target=i586-pc-gnu gmp
- - - - -

Any kind of assistance would be appreciated! Thanks in advance.

[-- Attachment #2: hurd.diff --]
[-- Type: application/octet-stream, Size: 10378 bytes --]

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 1dcec3ea3c..617202bb53 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2020, 2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020 Rene Saavedra <pacoon@protonmail.com>
+;;; Copyright © 2021, 2022 zamfofex <zamfofex@twdb.moe>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -61,13 +62,9 @@ (define (hurd-system?)
   "Return true if the current system is the Hurd."
   (and=> (%current-system) target-hurd?))
 
-(define (hurd-source-url version)
-  (string-append "mirror://gnu/hurd/hurd-"
-                 version ".tar.gz"))
-
 (define-public gnumach-headers
-   (let ((commit "097f9cf735ffa1212b828682ad92f0f6c5f1c552")
-         (revision "1"))
+   (let ((commit "d30481122a5d24ad6b921062f93b9172ef922fc3")
+         (revision "2"))
      (package
        (name "gnumach-headers")
        (version (git-version "1.8" revision commit))
@@ -80,7 +77,7 @@ (define-public gnumach-headers
            (file-name (git-file-name "gnumach" version))
            (sha256
             (base32
-             "0q36z7k02bykrld90zaxbhyzxlmwlqqs4divgir6ix38zsp6icqk"))))
+             "14z38nsyijilq37lrgmlx214fsmlv2jdzipwp2rq4kfzhdmg75vq"))))
        (build-system gnu-build-system)
        (arguments
         `(#:phases
@@ -109,42 +106,46 @@ (define-public gnumach-headers
        (license gpl2+))))
 
 (define-public mig
-  (package
-    (name "mig")
-    (version "1.8")
-    (source
-     (origin
-      (method url-fetch)
-      (uri (string-append "mirror://gnu/mig/mig-"
-                          version ".tar.gz"))
-      (sha256
-       (base32
-        "1gyda8sq6b379nx01hkpbd85lz39irdvz2b9wbr63gicicx8i706"))))
-    (build-system gnu-build-system)
-    ;; Flex is needed both at build and run time.
-    (inputs (list gnumach-headers flex perl))
-    (native-inputs
-     (list flex bison))
-    (arguments `(#:tests? #f
-                 #:phases
-                 (modify-phases %standard-phases
-                   (add-after 'install 'patch-non-shebang-references
-                     (lambda* (#:key build inputs outputs #:allow-other-keys)
-                       (let ((perl (assoc-ref inputs "perl"))
-                             (out  (assoc-ref outputs "out")))
-                         (substitute* (string-append out "/bin/mig")
-                           (("perl ") (string-append perl "/bin/perl ")))
-                         #t))))))
-    (home-page "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html")
-    (synopsis "Mach 3.0 interface generator for the Hurd")
-    (description
-     "GNU MIG is the GNU distribution of the Mach 3.0 interface generator
+  (let ((commit "7063f0aefd8a8c3c8b610ef6168cddfb2141fa12")
+         (revision "1"))
+    (package
+      (name "mig")
+      (version (git-version "1.8" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://git.savannah.gnu.org/git/hurd/mig.git")
+                 (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32
+            "06mk7a11shv4x2m9714plyy6ky65zzi27r06jr237jyb3z1h7f4r"))))
+      (build-system gnu-build-system)
+      ;; Flex is needed both at build and run time.
+      (inputs (list gnumach-headers flex perl))
+      (native-inputs
+        (list autoconf automake bison flex))
+      (arguments `(#:tests? #f
+                   #:phases
+                   (modify-phases %standard-phases
+                     (add-after 'install 'patch-non-shebang-references
+                       (lambda* (#:key build inputs outputs #:allow-other-keys)
+                         (let ((perl (assoc-ref inputs "perl"))
+                               (out  (assoc-ref outputs "out")))
+                           (substitute* (string-append out "/bin/mig")
+                             (("perl ") (string-append perl "/bin/perl ")))
+                           #t))))))
+      (home-page "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html")
+      (synopsis "Mach 3.0 interface generator for the Hurd")
+      (description
+       "GNU MIG is the GNU distribution of the Mach 3.0 interface generator
 MIG, as maintained by the GNU Hurd developers for the GNU project.
 You need this tool to compile the GNU Mach and GNU Hurd distributions,
 and to compile the GNU C library for the Hurd.  Also, you will need it
 for other software in the GNU system that uses Mach-based inter-process
 communication.")
-    (license gpl2+)))
+      (license gpl2+))))
 
 (define-public mig/32-bit
   ;; When cross-compiling from x86_64-linux to i586-gnu, we need this 32-bit
@@ -160,8 +161,8 @@ (define-public mig/32-bit
 (define-public hurd-headers
   ;; Resort to a post-0.9 snapshot that provides the 'file_utimens' and
   ;; 'file_exec_paths' RPCs that glibc 2.28 expects.
-  (let ((revision "1")
-        (commit "91a51672ff4cfe1f1a0712b4c542ded3081c825b"))
+  (let ((revision "2")
+        (commit "9ce2bd90d6ee3f4128b32f9db0704285e2010afa"))
    (package
      (name "hurd-headers")
      (version (git-version "0.9" revision commit))
@@ -172,7 +173,7 @@ (define-public hurd-headers
                      (commit commit)))
                (sha256
                 (base32
-                 "16k9wkahz9wasviijz53n6i13nmiwa9fs64ikf1jqh8rl60hw7cz"))
+                 "09rdpr7xrkghiw9y9smasyymsyj8zyn19x0fbhpypk33i9pcrk03"))
                (file-name (git-file-name name version))))
      (build-system gnu-build-system)
      (native-inputs
@@ -194,7 +195,6 @@ (define-public hurd-headers
                             ;; Reduce set of dependencies.
                             "--without-parted"
                             "--disable-ncursesw"
-                            "--disable-test"
                             "--without-libbz2"
                             "--without-libcrypt"
                             "--without-libz"
@@ -208,7 +208,10 @@ (define-public hurd-headers
                             "ac_cv_func_file_exec_paths=no"
                             "ac_cv_func_exec_exec_paths=no"
                             "ac_cv_func__hurd_exec_paths=no"
-                            "ac_cv_func_file_futimens=no")
+                            "ac_cv_func__hurd_libc_proc_init=no"
+                            "ac_cv_func_file_futimens=no"
+                            "--without-rump"
+                            "--without-acpica")
 
         #:tests? #f))
      (home-page "https://www.gnu.org/software/hurd/hurd.html")
@@ -316,14 +319,14 @@ (define unifont
   (origin
     (method url-fetch)
     (uri
-     "http://unifoundry.com/pub/unifont-7.0.06/font-builds/unifont-7.0.06.bdf.gz")
+     "https://unifoundry.com/pub/unifont/unifont-15.0.01/font-builds/unifont-15.0.01.bdf.gz")
     (sha256
      (base32
-      "0p2vhnc18cnbmb39vq4m7hzv4mhnm2l0a2s7gx3ar277fwng3hys"))))
+      "140mrr3ryl033i9wyi8mrbvs10i499fb0xr1pxks1f1n1a8bmp8z"))))
 
 (define dde-sources
   ;; This is the current tip of the dde branch
-  (let ((commit "ac1c7eb7a8b24b7469bed5365be38a968d59a136"))
+  (let ((commit "ce8810277fa3584eb36ecb23da58394153fabe6f"))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -331,31 +334,29 @@ (define dde-sources
             (commit commit)))
       (sha256
        (base32
-        "1vryinbg75xpydfrv9dbgfnds6knlh8l8bk2rxp32y9dc58z0692"))
+        "0ygk7jm4jmhpvh0zzi5bk638242z7sbcab2i57fkb4y2mmdkjjbw"))
       (file-name (git-file-name "dde" commit)))))
 
 (define-public hurd
   (package
     (name "hurd")
     (version (package-version hurd-headers))
-    (source (origin (inherit (package-source hurd-headers))
-                    (patches (search-patches "hurd-cross.patch"
-                                             "hurd-xattr.patch"))))
+    (source (package-source hurd-headers))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'prepare-dde
            (lambda* (#:key native-inputs inputs #:allow-other-keys)
              (substitute* "Makefile"
-               (("libbpf ")
-                "libbpf libmachdev libmachdevdde libddekit"))
+               (("libmachdev ")
+                "libmachdev libmachdevdde libddekit "))
              (for-each make-file-writable (find-files "."))
              (let ((dde (or (assoc-ref inputs "dde-sources")
                             (assoc-ref native-inputs "dde-sources"))))
                (for-each (lambda (dir)
                            (copy-recursively
                             (string-append dde "/" dir ) dir))
-                         '("libmachdev" "libmachdevdde" "libddekit")))
+                         '("libmachdevdde" "libddekit")))
              #t))
          (add-after 'unpack 'find-tirpc
            (lambda* (#:key inputs #:allow-other-keys)
@@ -548,8 +549,8 @@ (define-public hurd
     (license gpl2+)))
 
 (define-public netdde
-  (let ((commit "4a1016f130b6f2065d3f088325e5fb0b2997ae12")
-        (revision "1"))
+  (let ((commit "be828e44b332ccfeef6f687d69b5d74b2a16323d")
+        (revision "2"))
     (package
       (name "netdde")
       ;; The version prefix corresponds to the version of Linux from which the
@@ -562,7 +563,7 @@ (define-public netdde
                       (commit commit)))
                 (sha256
                  (base32
-                  "1njv9dszq4lj05yq4v9j5v247hfghpzvvz4hzy0khjjr35mw7hr8"))
+                  "1vixmv9xdpcfp8ckv4h3fqhby0dhn6n8x0s89mm1a3yi6ybrxvxj"))
                 (file-name (git-file-name name commit))))
       (build-system gnu-build-system)
       (arguments
diff --git a/gnu/system.scm b/gnu/system.scm
index a94f0a9a1f..d31f6ec495 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -771,9 +771,7 @@ (define (hurd-default-essential-services os)
           %boot-service
           %hurd-startup-service
           %activation-service
-          (service shepherd-root-service-type
-                   (shepherd-configuration
-                    (shepherd shepherd-0.8)))     ;no Fibers
+          (service shepherd-root-service-type)
 
           (service user-processes-service-type)
           (account-service (append (operating-system-accounts os)

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-04  7:23 GMP GCC C++ Hurd cross-build failure on core-updates zamfofex
@ 2022-12-04 16:46 ` Joshua Branson
  2022-12-05 16:08 ` Ludovic Courtès
  1 sibling, 0 replies; 10+ messages in thread
From: Joshua Branson @ 2022-12-04 16:46 UTC (permalink / raw)
  To: zamfofex; +Cc: guix-devel@gnu.org

zamfofex <zamfofex@twdb.moe> writes:

> Hello, Guix! I have been trying to update the Hurd packages to their latest
> commits in the hopes that I can eventually get networking with netdde
> functioning.
>
> In <https://issues.guix.gnu.org/51770>, I got something that seemed to be
> working at first (at least it progressed farther than the status quo at the
> time), but eventually I got an error that seemed related to Mig, which I had not
> updated in that patch set.
>
> Updating Mig required a more recent glibc than what was available in Guix at the time, so I worked on <https://issues.guix.gnu.org/54832> to update glibc.
>
> Now that the recent glibc is on core-updates, I picked up my work once again. I
> updated the packages to the latest commits, and updated Mig! However, I ran into
> an issue while trying to build a system image. The issue is that GMP fails to
> cross‐compile during the ‘configure’ phase becase the cross‐compiling ‘g++’ is
> not functional.
>
> When checking whether ‘g++’ can compile executables during ‘configure’, ‘g++’ is
> unable to link the executables because some ‘pthread_*’ symbols required by
> libstdc++ are missing from libc. And when checking using ‘readelf’, they are
> indeed missing from the cross‐built libc, which instead contains similar
> ‘__pthread_*’ symbols.
>
> I don’t know for sure what the issue is, but I highly suspect libstdc++ is being
> compiled against the native glibc headers, rather than the cross‐built glibc
> headers like it should.
>

I am way out of my depth here, but would it matter that on the hurd
pthread is not in glibc?

https://lists.gnu.org/archive/html/bug-hurd/2022-10/msg00069.html

>
> Note: Currently, trying to cross‐build packages from core‐updates for the Hurd
> will fail while compiling glibc, since the Hurd package is too outdated for that
> version of glibc.
>
> I’ll attach a diff (for core-updates) with the updated Hurd packages to this email. To verify the behavior I’m describing, try running:
>
> - - - - -
> ./pre-inst-env guix build --target=i586-pc-gnu gmp
> - - - - -
>
> Any kind of assistance would be appreciated! Thanks in advance.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-04  7:23 GMP GCC C++ Hurd cross-build failure on core-updates zamfofex
  2022-12-04 16:46 ` Joshua Branson
@ 2022-12-05 16:08 ` Ludovic Courtès
  2022-12-06 10:06   ` zamfofex
  1 sibling, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2022-12-05 16:08 UTC (permalink / raw)
  To: zamfofex; +Cc: guix-devel@gnu.org

Hello!

zamfofex <zamfofex@twdb.moe> skribis:

> Updating Mig required a more recent glibc than what was available in Guix at the time, so I worked on <https://issues.guix.gnu.org/54832> to update glibc.

Nice!

> Now that the recent glibc is on core-updates, I picked up my work once again. I updated the packages to the latest commits, and updated Mig! However, I ran into an issue while trying to build a system image. The issue is that GMP fails to cross‐compile during the ‘configure’ phase becase the cross‐compiling ‘g++’ is not functional.

Could you paste the command you used and the tail of the build log?

I tried this:

   guix time-machine --branch=core-updates -- build --target=i586-pc-gnu gmp 

… but there are too many missing substitutes at this point.  :-)

> +++ b/gnu/system.scm
> @@ -771,9 +771,7 @@ (define (hurd-default-essential-services os)
>            %boot-service
>            %hurd-startup-service
>            %activation-service
> -          (service shepherd-root-service-type
> -                   (shepherd-configuration
> -                    (shepherd shepherd-0.8)))     ;no Fibers
> +          (service shepherd-root-service-type)

We still need ‘shepherd-0.8’ here.

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-05 16:08 ` Ludovic Courtès
@ 2022-12-06 10:06   ` zamfofex
  2022-12-06 11:20     ` zamfofex
  2022-12-19 21:06     ` Ludovic Courtès
  0 siblings, 2 replies; 10+ messages in thread
From: zamfofex @ 2022-12-06 10:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 60864 bytes --]

Hello! Thanks for taking a look and helping me!

> Could you paste the command you used and the tail of the build log?
>
> I tried this:
>
>    guix time-machine --branch=core-updates -- build --target=i586-pc-gnu gmp
>
> … but there are too many missing substitutes at this point.  :-)

Sure! These is the end of the GMP build log I get after applying my patches:

- - - - -
checking whether i586-pc-gnu-g++ accepts -g... yes
checking C++ compiler i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer... no
checking C++ compiler i586-pc-gnu-g++  -g -O2... no
configure: error: C++ compiler not available, see config.log for details
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash" arguments: ("./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/08x48463r73vvmxkwidy0rsvhhbdxs53-gmp-6.2.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=i586-pc-gnu" "--enable-fat" "--enable-cxx") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `configure' failed after 2.4 seconds
command "/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash" "./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/08x48463r73vvmxkwidy0rsvhhbdxs53-gmp-6.2.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=i586-pc-gnu" "--enable-fat" "--enable-cxx" failed with status 1
- - - - -

When trying that exact ‘guix time-machine’ command, it fails while building glibc, though. (As I had said, I think the ‘hurd’ package is too outdated by now).

I need to apply the patches I sent as attachment last email, and only then I can get to a position where I can even try to build GMP.

I can paste the glibc build log at the end of this email (as even just the tail with relevant errors is a bit too long). I’m also going to send the full logs (glibc’s and GMP’s) as attachments.

> We still need ‘shepherd-0.8’ here.

Unfortunately, it seems to produce an error for me when trying to use ‘guix system image’. It seems to be because the latest Shepherd package is added to ‘%base-packages/hurd’, I think. The error I get is as follows:

- - - - -
guix system: error: profile contains conflicting entries for shepherd
guix system: error:   first entry: shepherd@0.9.2 /gnu/store/6969ddldrqzvla8yfxlxq00hwkfvwfhs-shepherd-0.9.2
guix system: error:   second entry: shepherd@0.8.1 /gnu/store/wqrshkkkd2ydpd8bxiyc37w574ivbdn7-shepherd-0.8.1
hint: You cannot have two different versions or variants of `shepherd' in the same profile.
- - - - -

At any rate, here are the glibc build logs, as I mentioned above:

- - - - -
touch /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/pci.ustamp
i586-pc-gnu-gcc hurdid.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdid.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdid.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdid.o
i586-pc-gnu-gcc hurdpid.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdpid.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdpid.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdpid.o
i586-pc-gnu-gcc hurdrlimit.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdrlimit.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdrlimit.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdrlimit.o
i586-pc-gnu-gcc hurdprio.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdprio.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdprio.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdprio.o
i586-pc-gnu-gcc hurdexec.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdexec.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdexec.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdexec.o
i586-pc-gnu-gcc hurdselect.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdselect.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdselect.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdselect.o
i586-pc-gnu-gcc hurdlookup.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdlookup.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdlookup.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdlookup.o
hurdexec.c: In function ‘_hurd_exec_paths’:
hurdexec.c:424:44: warning: passing argument 4 of ‘__file_exec_paths’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  424 |                                path ? path : "",
      |                                ~~~~~~~~~~~~^~~~
In file included from ../hurd/hurd.h:35,
                 from ../sysdeps/hurd/include/hurd.h:2,
                 from hurdexec.c:24:
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/fs.h:476:18: note: expected ‘char *’ but argument is of type ‘const char *’
  476 |         string_t path,
      |         ~~~~~~~~~^~~~
hurdexec.c:425:50: warning: passing argument 5 of ‘__file_exec_paths’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  425 |                                abspath ? abspath : "",
      |                                ~~~~~~~~~~~~~~~~~~^~~~
In file included from ../hurd/hurd.h:35,
                 from ../sysdeps/hurd/include/hurd.h:2,
                 from hurdexec.c:24:
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/fs.h:477:18: note: expected ‘char *’ but argument is of type ‘const char *’
  477 |         string_t abspath,
      |         ~~~~~~~~~^~~~~~~
hurdlookup.c: In function ‘__hurd_file_name_lookup’:
hurdlookup.c:63:12: warning: assignment to ‘error_t (*)(file_t,  const char *, int,  mode_t,  retry_type *, char *, mach_port_t *)’ {aka ‘error_t (*)(long unsigned int,  const char *, int,  unsigned int,  retry_type *, char *, long unsigned int *)’} from incompatible pointer type ‘kern_return_t (*)(file_t,  char *, int,  mode_t,  retry_type *, char *, mach_port_t *)’ {aka ‘int (*)(long unsigned int,  char *, int,  unsigned int,  retry_type *, char *, long unsigned int *)’} [-Wincompatible-pointer-types]
   63 |     lookup = __dir_lookup;
      |            ^
i586-pc-gnu-gcc lookup-retry.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/lookup-retry.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/lookup-retry.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/lookup-retry.o
i586-pc-gnu-gcc lookup-at.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/lookup-at.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/lookup-at.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/lookup-at.o
In file included from ../sysdeps/hurd/include/hurd/fd.h:2,
                 from lookup-at.c:21:
lookup-at.c: In function ‘__file_name_lookup_at’:
lookup-at.c:47:53: warning: passing argument 2 of ‘__dir_lookup’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   47 |       err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode,
      |                                                     ^~
../hurd/hurd/fd.h:110:36: note: in definition of macro ‘HURD_FD_USE’
  110 |      descriptor == NULL ? EBADF : (expr); })
      |                                    ^~~~
../hurd/hurd/fd.h:116:22: note: in expansion of macro ‘HURD_FD_PORT_USE’
  116 |   HURD_FD_USE ((fd), HURD_FD_PORT_USE (descriptor, (expr)))
      |                      ^~~~~~~~~~~~~~~~
lookup-at.c:47:13: note: in expansion of macro ‘HURD_DPORT_USE’
   47 |       err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode,
      |             ^~~~~~~~~~~~~~
In file included from ../hurd/hurd.h:35,
                 from ../sysdeps/hurd/include/hurd.h:2,
                 from lookup-at.c:19:
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/fs.h:278:18: note: expected ‘char *’ but argument is of type ‘const char *’
  278 |         string_t file_name,
      |         ~~~~~~~~~^~~~~~~~~
lookup-retry.c: In function ‘__hurd_file_name_lookup_retry’:
lookup-retry.c:99:12: warning: assignment to ‘error_t (*)(file_t,  const char *, int,  mode_t,  retry_type *, char *, mach_port_t *)’ {aka ‘error_t (*)(long unsigned int,  const char *, int,  unsigned int,  retry_type *, char *, long unsigned int *)’} from incompatible pointer type ‘kern_return_t (*)(file_t,  char *, int,  mode_t,  retry_type *, char *, mach_port_t *)’ {aka ‘int (*)(long unsigned int,  char *, int,  unsigned int,  retry_type *, char *, long unsigned int *)’} [-Wincompatible-pointer-types]
   99 |     lookup = __dir_lookup;
      |            ^
In file included from ../sysdeps/hurd/include/hurd/fd.h:2,
                 from lookup-at.c:21:
lookup-at.c:47:33: warning: ‘__dir_lookup’ accessing 1024 bytes in a region of size 1 [-Wstringop-overflow=]
   47 |       err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode,
../hurd/hurd/fd.h:110:36: note: in definition of macro ‘HURD_FD_USE’
  110 |      descriptor == NULL ? EBADF : (expr); })
      |                                    ^~~~
../hurd/hurd/fd.h:116:22: note: in expansion of macro ‘HURD_FD_PORT_USE’
  116 |   HURD_FD_USE ((fd), HURD_FD_PORT_USE (descriptor, (expr)))
      |                      ^~~~~~~~~~~~~~~~
lookup-at.c:47:13: note: in expansion of macro ‘HURD_DPORT_USE’
   47 |       err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode,
      |             ^~~~~~~~~~~~~~
lookup-at.c:47:33: note: referencing argument 2 of type ‘char *’
   47 |       err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode,
../hurd/hurd/fd.h:110:36: note: in definition of macro ‘HURD_FD_USE’
  110 |      descriptor == NULL ? EBADF : (expr); })
      |                                    ^~~~
../hurd/hurd/fd.h:116:22: note: in expansion of macro ‘HURD_FD_PORT_USE’
  116 |   HURD_FD_USE ((fd), HURD_FD_PORT_USE (descriptor, (expr)))
      |                      ^~~~~~~~~~~~~~~~
lookup-at.c:47:13: note: in expansion of macro ‘HURD_DPORT_USE’
   47 |       err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode,
      |             ^~~~~~~~~~~~~~
In file included from ../hurd/hurd.h:35,
                 from ../sysdeps/hurd/include/hurd.h:2,
                 from lookup-at.c:19:
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/fs.h:275:15: note: in a call to function ‘__dir_lookup’
  275 | kern_return_t __dir_lookup
      |               ^~~~~~~~~~~~
i586-pc-gnu-gcc get-host.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/get-host.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/get-host.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/get-host.o
i586-pc-gnu-gcc set-host.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/set-host.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/set-host.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/set-host.o
i586-pc-gnu-gcc path-lookup.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/path-lookup.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/path-lookup.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/path-lookup.o
set-host.c: In function ‘_hurd_set_host_config’:
set-host.c:40:30: warning: passing argument 2 of ‘__io_write’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   40 |       err = __io_write (new, value, valuelen, 0, &nwrote);
      |                              ^~~~~
In file included from ../hurd/hurd.h:36,
                 from ../sysdeps/hurd/include/hurd.h:2,
                 from set-host.c:20:
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/io.h:31:16: note: expected ‘data_t’ {aka ‘char *’} but argument is of type ‘const char *’
   31 |         data_t data,
      |         ~~~~~~~^~~~
i586-pc-gnu-gcc setauth.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/setauth.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/setauth.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/setauth.o
i586-pc-gnu-gcc pid2task.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/pid2task.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/pid2task.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/pid2task.o
i586-pc-gnu-gcc task2pid.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/task2pid.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/task2pid.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/task2pid.o
i586-pc-gnu-gcc geteuids.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/geteuids.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/geteuids.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/geteuids.o
i586-pc-gnu-gcc seteuids.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/seteuids.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/seteuids.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/seteuids.o
i586-pc-gnu-gcc getumask.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/getumask.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/getumask.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/getumask.o
i586-pc-gnu-gcc fchroot.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/fchroot.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/fchroot.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/fchroot.o
i586-pc-gnu-gcc hurdsock.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdsock.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdsock.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdsock.o
i586-pc-gnu-gcc hurdauth.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdauth.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdauth.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdauth.o
i586-pc-gnu-gcc hurdchdir.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wno-parentheses -Wstrict-prototypes -Wold-style-definition -fmath-errno    -fpie   -ftls-model=initial-exec      -I../include -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd  -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build  -I../sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/x86  -I../sysdeps/mach/hurd/i386/htl  -I../sysdeps/mach/hurd/htl  -I../sysdeps/hurd/htl  -I../sysdeps/mach/htl  -I../sysdeps/htl/include -I../sysdeps/htl  -I../sysdeps/pthread  -I../sysdeps/i386/htl  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../sysdeps/mach/include -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/hurd/include -I../sysdeps/hurd  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic -I../hurd -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/ -I../mach -I/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/mach/ -I.. -I../libio -I. -nostdinc -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include -isystem /gnu/store/ifbknp7ygdp14jcdn9hnlrim14sbpmli-gcc-cross-sans-libc-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/include-fixed -isystem /gnu/store/wh6x4smvwp91yn3h8qf14ysdq56dyjn3-hurd-core-headers-cross-i586-pc-gnu-0.9-1.91a5167/include -D_LIBC_REENTRANT -include /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdchdir.o -MD -MP -MF /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdchdir.o.dt -MT /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdchdir.o
hurdauth.c:166:1: error: conflicting types for ‘_S_msg_del_auth’; have ‘kern_return_t(mach_port_t,  task_t,  const int *, mach_msg_type_number_t,  const int *, mach_msg_type_number_t)’ {aka ‘int(long unsigned int,  long unsigned int,  const int *, unsigned int,  const int *, unsigned int)’}
  166 | _S_msg_del_auth (mach_port_t me,
      | ^~~~~~~~~~~~~~~
In file included from hurdauth.c:19:
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/msg_server.h:72:15: note: previous declaration of ‘_S_msg_del_auth’ with type ‘kern_return_t(mach_port_t,  mach_port_t,  int *, mach_msg_type_number_t,  int *, mach_msg_type_number_t)’ {aka ‘int(long unsigned int,  long unsigned int,  int *, unsigned int,  int *, unsigned int)’}
   72 | kern_return_t _S_msg_del_auth
      |               ^~~~~~~~~~~~~~~
make[2]: *** [../o-iterator.mk:9: /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdauth.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/glibc-2.35/hurd'
make[1]: *** [Makefile:483: hurd/subdir_lib] Error 2
make[1]: Leaving directory '/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/glibc-2.35'
make: *** [Makefile:9: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 30.6 seconds
command "make" "-j" "4" failed with status 2
- - - - -

[-- Attachment #2: hnby1mccpb2n6wj7dsj1j1cw4fmclf-glibc-cross-i586-pc-gnu-2.35.drv.gz --]
[-- Type: application/gzip, Size: 131000 bytes --]

[-- Attachment #3: pbf1m7qqj8p7mks49y6cwya3g3b6ih-gmp-6.2.1.drv.gz --]
[-- Type: application/gzip, Size: 12188 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-06 10:06   ` zamfofex
@ 2022-12-06 11:20     ` zamfofex
  2022-12-08 15:43       ` Ludovic Courtès
  2022-12-19 21:06     ` Ludovic Courtès
  1 sibling, 1 reply; 10+ messages in thread
From: zamfofex @ 2022-12-06 11:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

I realized it might also be useful to include GMP’s ‘config.log’ with ‘--keep-failed’, so I’ll send it as an attachment in this email. Thank you in advance once again!

[-- Attachment #2: config.log --]
[-- Type: text/plain, Size: 26818 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU MP configure 6.2.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure CC_FOR_BUILD=gcc CONFIG_SHELL=/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash SHELL=/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/08x48463r73vvmxkwidy0rsvhhbdxs53-gmp-6.2.1 --enable-fast-install --build=x86_64-unknown-linux-gnu --host=i586-pc-gnu --enable-fat --enable-cxx

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = x86_64
uname -r = 6.0.7-gnu
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC 1

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /gnu/store/glj8i8s8gf3w0ich3f23ng7dp3z21yv2-m4-1.4.19/bin
PATH: /gnu/store/51c9khy6lz5ibv7nsd3i3whdbj8ks33s-gcc-cross-i586-pc-gnu-11.3.0/bin
PATH: /gnu/store/4arnacpgpn0ypdxdr587vbdg86lpyy7k-binutils-cross-i586-pc-gnu-2.38/bin
PATH: /gnu/store/wr7wgs3mbalc0zma63wwkq11ynsyjqpr-tar-1.34/bin
PATH: /gnu/store/p6qk3h2ymdhigj6gx3c65c7wc2k0q8i7-gzip-1.12/bin
PATH: /gnu/store/kbkd0m8fjb0px9pz13gwrllradkcmzja-bzip2-1.0.8/bin
PATH: /gnu/store/a4ryn93hagc26fp8xsdkyi94d7hpjyzl-xz-5.2.8/bin
PATH: /gnu/store/igl8d889yz56bl26giwn1v7b36zx4r7y-file-5.43/bin
PATH: /gnu/store/2gk12xwwb1yv18x7xd5bbh5pnvng8pm8-diffutils-3.8/bin
PATH: /gnu/store/8hfx2m8lginhlz06ilh82mmnj8kfz7dg-patch-2.7.6/bin
PATH: /gnu/store/0vx0mpdzc0a66gb4n35aazmzzi6s26pk-findutils-4.9.0/bin
PATH: /gnu/store/q709bgiyj34rzz6ljhy6zcanwb1cfp2a-gawk-5.2.1/bin
PATH: /gnu/store/kkwqizhba1z78n5006l3bvmafjd9vgg3-sed-4.8/bin
PATH: /gnu/store/k09y6lv4vmwv0iaxma1ss0mq31khmcb3-grep-3.8/bin
PATH: /gnu/store/3n73jz0nyskrq3i14j904kqdcny4vfxb-coreutils-9.1/bin
PATH: /gnu/store/37js5dn8pgv7palgyv4yhjldfpkmwccr-make-4.3/bin
PATH: /gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin
PATH: /gnu/store/p5yx9jliryy5bb73smhja1qvzmcm4a1l-ld-wrapper-0/bin
PATH: /gnu/store/7yy335j70z4aygpcfdbx3xq3m1bm0057-binutils-2.38/bin
PATH: /gnu/store/cyjvqbhmfl4rmdqj870lckvd8ajj5lvk-gcc-11.3.0/bin
PATH: /gnu/store/jjmhkbm1k35fqjai897c5pb6bgl20k2d-glibc-2.35/bin
PATH: /gnu/store/jjmhkbm1k35fqjai897c5pb6bgl20k2d-glibc-2.35/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3056: checking build system type
configure:3070: result: x86_64-unknown-linux-gnu
configure:3090: checking host system type
configure:3103: result: i586-pc-gnu
configure:3140: checking for a BSD-compatible install
configure:3208: result: /gnu/store/3n73jz0nyskrq3i14j904kqdcny4vfxb-coreutils-9.1/bin/install -c
configure:3219: checking whether build environment is sane
configure:3274: result: yes
configure:3333: checking for i586-pc-gnu-strip
configure:3349: found /gnu/store/4arnacpgpn0ypdxdr587vbdg86lpyy7k-binutils-cross-i586-pc-gnu-2.38/bin/i586-pc-gnu-strip
configure:3360: result: i586-pc-gnu-strip
configure:3425: checking for a thread-safe mkdir -p
configure:3464: result: /gnu/store/3n73jz0nyskrq3i14j904kqdcny4vfxb-coreutils-9.1/bin/mkdir -p
configure:3471: checking for gawk
configure:3487: found /gnu/store/q709bgiyj34rzz6ljhy6zcanwb1cfp2a-gawk-5.2.1/bin/gawk
configure:3498: result: gawk
configure:3509: checking whether make sets $(MAKE)
configure:3535: result: no
configure:3560: checking whether make supports nested variables
configure:3577: result: yes
configure:3706: checking whether to enable maintainer-specific portions of Makefiles
configure:3715: result: no
User:
ABI=
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=32
cclist=gcc icc cc
configure:5869: i586-pc-gnu-gcc 2>&1 | grep xlc >/dev/null
configure:5872: $? = 1
configure:5926: checking compiler i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer 
Test compile: 
configure:5940: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:5943: $? = 0
Test compile: function pointer return
configure:5994: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:5997: $? = 0
Test compile: cmov instruction
configure:6050: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6053: $? = 0
Test compile: double -> ulong conversion
configure:6107: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6110: $? = 0
Test compile: double negation
configure:6162: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6165: $? = 0
Test compile: double -> float conversion
configure:6218: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6221: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:6303: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6306: $? = 0
Test compile: __builtin_alloca availability
configure:6354: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
conftest.c: In function 'foo':
conftest.c:1:21: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result]
    1 | int k; int foo () { __builtin_alloca (k); }
      |                     ^~~~~~~~~~~~~~~~~~~~
i586-pc-gnu-ld: /gnu/store/y57fmrax3jlk9ingrm3bmz4k7ix55y9d-glibc-cross-i586-pc-gnu-2.35/lib/crt1.o: in function `_start':
/tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/glibc-2.35/csu/../sysdeps/i386/start.S:105: undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:6357: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:6478: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6481: $? = 0
Test compile: long long reliability test 1
configure:6543: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6546: $? = 0
Test compile: long long reliability test 2
configure:6604: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6607: $? = 0
Test compile: freebsd hacked gcc
configure:6665: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6668: $? = 0
Test compile: mpn_lshift_com optimization
configure:6764: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6767: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:6873: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:6876: $? = 0
Testing gcc GOT with eax emitted
configure:6932: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  -fPIC -S conftest.c >&5 2>&1
configure:6935: $? = 0
Result: yes
Testing gas GOT with eax good
configure:7006: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer  -fPIC -o conftest.o -c conftest.s >&5 2>&1
configure:7009: $? = 0
Result: yes
configure:7030: result: yes
configure: testlist sizeof-long-4
configure:7205: checking compiler i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4
configure:7218: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer -c conftest.c >&5
configure:7221: $? = 0
configure:7226: result: yes
configure:8762: checking for i586-pc-gnu-gcc
configure:8789: result: i586-pc-gnu-gcc
configure:9058: checking for C compiler version
configure:9067: i586-pc-gnu-gcc --version >&5
i586-pc-gnu-gcc (GCC) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:9078: $? = 0
configure:9067: i586-pc-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=i586-pc-gnu-gcc
COLLECT_LTO_WRAPPER=/gnu/store/51c9khy6lz5ibv7nsd3i3whdbj8ks33s-gcc-cross-i586-pc-gnu-11.3.0/libexec/gcc/i586-pc-gnu/11.3.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.3.0 (GCC) 
configure:9078: $? = 0
configure:9067: i586-pc-gnu-gcc -V >&5
i586-pc-gnu-gcc: error: unrecognized command-line option '-V'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:9078: $? = 1
configure:9067: i586-pc-gnu-gcc -qversion >&5
i586-pc-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:9078: $? = 1
configure:9098: checking whether the C compiler works
configure:9120: i586-pc-gnu-gcc -m32 -O2 -pedantic -fomit-frame-pointer   conftest.c  >&5
configure:9124: $? = 0
configure:9172: result: yes
configure:9175: checking for C compiler default output file name
configure:9177: result: a.out
configure:9183: checking for suffix of executables
configure:9190: i586-pc-gnu-gcc -o conftest -m32 -O2 -pedantic -fomit-frame-pointer   conftest.c  >&5
configure:9194: $? = 0
configure:9216: result: 
configure:9238: checking whether we are cross compiling
configure:9276: result: yes
configure:9281: checking for suffix of object files
configure:9303: i586-pc-gnu-gcc -c -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:9307: $? = 0
configure:9328: result: o
configure:9332: checking whether we are using the GNU C compiler
configure:9351: i586-pc-gnu-gcc -c -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:9351: $? = 0
configure:9360: result: yes
configure:9369: checking whether i586-pc-gnu-gcc accepts -g
configure:9389: i586-pc-gnu-gcc -c -g  conftest.c >&5
configure:9389: $? = 0
configure:9430: result: yes
configure:9447: checking for i586-pc-gnu-gcc option to accept ISO C89
configure:9510: i586-pc-gnu-gcc  -c -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:9510: $? = 0
configure:9523: result: none needed
configure:9548: checking whether i586-pc-gnu-gcc understands -c and -o together
configure:9570: i586-pc-gnu-gcc -c conftest.c -o conftest2.o
configure:9573: $? = 0
configure:9570: i586-pc-gnu-gcc -c conftest.c -o conftest2.o
configure:9573: $? = 0
configure:9585: result: yes
configure:9602: checking for i586-pc-gnu-gcc option to accept ISO C99
configure:9751: i586-pc-gnu-gcc  -c -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
configure:9751: $? = 0
configure:9764: result: none needed
configure:9784: checking how to run the C preprocessor
configure:9815: i586-pc-gnu-gcc -E  conftest.c
configure:9815: $? = 0
configure:9829: i586-pc-gnu-gcc -E  conftest.c
conftest.c:15:10: fatal error: ac_nonexistent.h: No such file or directory
   15 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:9829: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "6.2.1"
| #define PACKAGE_STRING "GNU MP 6.2.1"
| #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
| #define PACKAGE_URL "http://www.gnu.org/software/gmp/"
| #define PACKAGE "gmp"
| #define VERSION "6.2.1"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i586 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:9854: result: i586-pc-gnu-gcc -E
configure:9874: i586-pc-gnu-gcc -E  conftest.c
configure:9874: $? = 0
configure:9888: i586-pc-gnu-gcc -E  conftest.c
conftest.c:15:10: fatal error: ac_nonexistent.h: No such file or directory
   15 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:9888: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "6.2.1"
| #define PACKAGE_STRING "GNU MP 6.2.1"
| #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
| #define PACKAGE_URL "http://www.gnu.org/software/gmp/"
| #define PACKAGE "gmp"
| #define VERSION "6.2.1"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i586 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:9924: checking build system compiler gcc
configure:9937: gcc conftest.c
configure:9940: $? = 0
configure:9947: result: yes
configure:10031: checking for build system preprocessor
configure:10042: gcc -E conftest.c
# 0 "conftest.c"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/gnu/store/jjmhkbm1k35fqjai897c5pb6bgl20k2d-glibc-2.35/include/stdc-predef.h" 1 3
# 0 "<command-line>" 2
# 1 "conftest.c"
configure:10045: $? = 0
configure:10060: result: gcc -E
configure:10067: checking for build system executable suffix
configure:10081: gcc conftest.c -o conftest.exe
configure:10084: $? = 0
./configure: line 10086: ./conftest: No such file or directory
configure:10081: gcc conftest.c -o conftest,ff8
configure:10084: $? = 0
./configure: line 10086: ./conftest: No such file or directory
configure:10081: gcc conftest.c -o conftest
configure:10084: $? = 0
configure:10098: result: 
configure:10104: checking whether build system compiler is ANSI
configure:10117: gcc conftest.c
configure:10120: $? = 0
configure:10129: result: yes
configure:10139: checking for build system compiler math library
configure:10159: gcc conftest.c -lm
configure:10162: $? = 0
configure:10171: result: -lm
configure:10208: checking for i586-pc-gnu-g++
configure:10224: found /gnu/store/51c9khy6lz5ibv7nsd3i3whdbj8ks33s-gcc-cross-i586-pc-gnu-11.3.0/bin/i586-pc-gnu-g++
configure:10235: result: i586-pc-gnu-g++
configure:10306: checking for C++ compiler version
configure:10315: i586-pc-gnu-g++ --version >&5
i586-pc-gnu-g++ (GCC) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:10326: $? = 0
configure:10315: i586-pc-gnu-g++ -v >&5
Using built-in specs.
COLLECT_GCC=i586-pc-gnu-g++
COLLECT_LTO_WRAPPER=/gnu/store/51c9khy6lz5ibv7nsd3i3whdbj8ks33s-gcc-cross-i586-pc-gnu-11.3.0/libexec/gcc/i586-pc-gnu/11.3.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.3.0 (GCC) 
configure:10326: $? = 0
configure:10315: i586-pc-gnu-g++ -V >&5
i586-pc-gnu-g++: error: unrecognized command-line option '-V'
i586-pc-gnu-g++: fatal error: no input files
compilation terminated.
configure:10326: $? = 1
configure:10315: i586-pc-gnu-g++ -qversion >&5
i586-pc-gnu-g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
i586-pc-gnu-g++: fatal error: no input files
compilation terminated.
configure:10326: $? = 1
configure:10330: checking whether we are using the GNU C++ compiler
configure:10349: i586-pc-gnu-g++ -c   conftest.cpp >&5
configure:10349: $? = 0
configure:10358: result: yes
configure:10367: checking whether i586-pc-gnu-g++ accepts -g
configure:10387: i586-pc-gnu-g++ -c -g  conftest.cpp >&5
configure:10387: $? = 0
configure:10428: result: yes
CXXFLAGS chosen by autoconf: -g -O2
configure:10478: checking C++ compiler i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer
Test compile: 
configure:10492: i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer conftest.cc >&5
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_unlock'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_create'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_key_create'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_getspecific'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_key_delete'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_rdlock'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_once'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_wrlock'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_join'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_setspecific'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_detach'
collect2: error: ld returned 1 exit status
configure:10495: $? = 1
failed program was:

int main (void) { return 0; }
configure:10607: result: no
configure:10478: checking C++ compiler i586-pc-gnu-g++  -g -O2
Test compile: 
configure:10492: i586-pc-gnu-g++  -g -O2 conftest.cc >&5
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_unlock'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_create'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_key_create'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_getspecific'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_key_delete'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_rdlock'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_once'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_wrlock'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_join'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_setspecific'
i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_detach'
collect2: error: ld returned 1 exit status
configure:10495: $? = 1
failed program was:

int main (void) { return 0; }
configure:10607: result: no
configure:10623: error: C++ compiler not available, see config.log for details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_BUILD_set=set
ac_cv_env_CC_FOR_BUILD_value=gcc
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i586-pc-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i586-pc-gnu
ac_cv_objext=o
ac_cv_path_install='/gnu/store/3n73jz0nyskrq3i14j904kqdcny4vfxb-coreutils-9.1/bin/install -c'
ac_cv_path_mkdir=/gnu/store/3n73jz0nyskrq3i14j904kqdcny4vfxb-coreutils-9.1/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i586-pc-gnu-gcc
ac_cv_prog_CPP='i586-pc-gnu-gcc -E'
ac_cv_prog_CXX=i586-pc-gnu-g++
ac_cv_prog_STRIP=i586-pc-gnu-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=no
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
gmp_cv_c_for_build_ansi=yes
gmp_cv_check_libm_for_build=-lm
gmp_cv_prog_cpp_for_build='gcc -E'
gmp_cv_prog_exeext_for_build=

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABI='32'
ACLOCAL='${SHELL} /tmp/guix-build-gmp-6.2.1.drv-0/gmp-6.2.1/missing aclocal-1.15'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
ASMFLAGS=''
AUTOCONF='${SHELL} /tmp/guix-build-gmp-6.2.1.drv-0/gmp-6.2.1/missing autoconf'
AUTOHEADER='${SHELL} /tmp/guix-build-gmp-6.2.1.drv-0/gmp-6.2.1/missing autoheader'
AUTOMAKE='${SHELL} /tmp/guix-build-gmp-6.2.1.drv-0/gmp-6.2.1/missing automake-1.15'
AWK='gawk'
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC='i586-pc-gnu-gcc'
CCAS='i586-pc-gnu-gcc -c'
CC_FOR_BUILD='gcc'
CFLAGS='-m32 -O2 -pedantic -fomit-frame-pointer'
CPP='i586-pc-gnu-gcc -E'
CPPFLAGS=''
CPP_FOR_BUILD='gcc -E'
CXX='i586-pc-gnu-g++'
CXXCPP=''
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB='/* #undef _LONG_LONG_LIMB */'
DEFS=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
FGREP=''
GMP_LDFLAGS=''
GMP_LIMB_BITS=''
GMP_NAIL_BITS='0'
GREP=''
HAVE_CLOCK_01=''
HAVE_CPUTIME_01=''
HAVE_GETRUSAGE_01=''
HAVE_GETTIMEOFDAY_01=''
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01=''
HAVE_SIGALTSTACK_01=''
HAVE_SIGSTACK_01=''
HAVE_STACK_T_01=''
HAVE_SYS_RESOURCE_H_01=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD='-lm'
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /tmp/guix-build-gmp-6.2.1.drv-0/gmp-6.2.1/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/gnu/store/3n73jz0nyskrq3i14j904kqdcny4vfxb-coreutils-9.1/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 6.2.1'
PACKAGE_TARNAME='gmp'
PACKAGE_URL='http://www.gnu.org/software/gmp/'
PACKAGE_VERSION='6.2.1'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/gnu/store/bphb827vv6jrja5wyp3gj4yn1f96bm99-bash-minimal-5.1.16/bin/bash'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP='i586-pc-gnu-strip'
TAL_OBJECT=''
TUNE_LIBS=''
TUNE_SQR_OBJ=''
U_FOR_BUILD=''
VERSION='6.2.1'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WITH_READLINE_01=''
YACC=''
YFLAGS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__isrc=''
am__leading_dot='.'
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gmp_srclinks=''
host='i586-pc-gnu'
host_alias='i586-pc-gnu'
host_cpu='i586'
host_os='gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/guix-build-gmp-6.2.1.drv-0/gmp-6.2.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
mpn_objects=''
mpn_objs_in_libgmp=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/gnu/store/08x48463r73vvmxkwidy0rsvhhbdxs53-gmp-6.2.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "6.2.1"
#define PACKAGE_STRING "GNU MP 6.2.1"
#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
#define PACKAGE_URL "http://www.gnu.org/software/gmp/"
#define PACKAGE "gmp"
#define VERSION "6.2.1"
#define WANT_FFT 1
#define HAVE_HOST_CPU_i586 1
#define HAVE_SPEED_CYCLECOUNTER 2
#define HAVE_CALLING_CONVENTIONS 1

configure: exit 1

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-06 11:20     ` zamfofex
@ 2022-12-08 15:43       ` Ludovic Courtès
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2022-12-08 15:43 UTC (permalink / raw)
  To: zamfofex; +Cc: guix-devel@gnu.org

Hi,

zamfofex <zamfofex@twdb.moe> skribis:

> configure:10478: checking C++ compiler i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer
> Test compile: 
> configure:10492: i586-pc-gnu-g++  -m32 -O2 -pedantic -fomit-frame-pointer conftest.cc >&5
> i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_rwlock_unlock'
> i586-pc-gnu-ld: /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so: undefined reference to `pthread_create'

It looks as if libstdc++.so lacked libpthread.so from its dependencies
(DT_NEEDED).

What does this say:

  objdump -x \
  /gnu/store/g3p2j9pb7skjdwrgk4zxlbxhxq6zl5rh-gcc-cross-i586-pc-gnu-11.3.0-lib/lib/gcc/i586-pc-gnu/11.3.0/../../../../i586-pc-gnu/lib/libstdc++.so \
  | grep NEEDED

?

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* GMP GCC C++ Hurd cross-build failure on core-updates
@ 2022-12-15  7:24 Nathan Dehnel
  2022-12-15 11:17 ` Svante Signell
  0 siblings, 1 reply; 10+ messages in thread
From: Nathan Dehnel @ 2022-12-15  7:24 UTC (permalink / raw)
  To: zamfofex, guix-devel

You could try seeing what they're doing here to cross-build
https://github.com/flavioc/cross-hurd
It worked last time I ran it (which was admittedly a while ago)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-15  7:24 Nathan Dehnel
@ 2022-12-15 11:17 ` Svante Signell
  2022-12-19 10:57   ` Svante Signell
  0 siblings, 1 reply; 10+ messages in thread
From: Svante Signell @ 2022-12-15 11:17 UTC (permalink / raw)
  To: zamfofex; +Cc: guix-devel

On Thu, 2022-12-15 at 01:24 -0600, Nathan Dehnel wrote:
> You could try seeing what they're doing here to cross-build
> https://github.com/flavioc/cross-hurd
> It worked last time I ran it (which was admittedly a while ago)

Hi,

The problem is probably that you need to add --enable-add-ons=libpthread to
configure when building first version of cross-glibc. This is to obtain weak
references when building libcstd++ of cross-gcc:

nm --dynamic /cross-tools/lib/libstdc++.so.6.0.30|grep pthread
...
w __pthread_key_create
w pthread_key_create
w pthread_key_delete
...

Then that build of cross-gcc will succeed in building the Hurd version of
libstdc++ etc.
nm --dynamic /tools/lib/libstdc++.so.6.0.30|grep pthread
<same as above>

The problem is due to that with recent versions of glibc libpthread is included
for Linux, but not for Hurd.

Note that don't issue autoreconf gcc (in my case 12.2.0) unless you have only
autoconf2.69 installed (or what is needed for your version of upstream gcc).

My scripts to cross-build Hurd on Debian/GNU Linux: hurd-cross (hurdX) will soon
be published on Savannah under the Hurd umbrella. Note the name difference:
hurd-cross vs cross-hurd. As of current these scripts include up-to-date
versions of all packages used, with git versions of mig, gnumach and hurd.

(The scripts of hurd-cross were based on the work by Flavio in 2019, thank you
Flavio. However they have diverged considerably since then, and are not easily
merged into his work at github)

Good luck!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-15 11:17 ` Svante Signell
@ 2022-12-19 10:57   ` Svante Signell
  0 siblings, 0 replies; 10+ messages in thread
From: Svante Signell @ 2022-12-19 10:57 UTC (permalink / raw)
  To: zamfofex; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Thu, 2022-12-15 at 12:17 +0100, Svante Signell wrote:
> 
> Hi,
> 
> The problem is probably that you need to add --enable-add-ons=libpthread to
> configure when building first version of cross-glibc. This is to obtain weak
> references when building libcstd++ of cross-gcc:
> 
> nm --dynamic /cross-tools/lib/libstdc++.so.6.0.30|grep pthread
> ...
> w __pthread_key_create
> w pthread_key_create
> w pthread_key_delete

I've been looking into this problem a little further: You need the attached
patch: libstdc++-hurd.diff, at least for gcc-11 and gcc-12 (and probably gcc-13
too)


Good luck!

[-- Attachment #2: libstdc++-hurd.diff --]
[-- Type: text/x-patch, Size: 1835 bytes --]

This is notably needed because in glibc 2.34, the move of pthread functions
into libc.so happened for Linux only, not GNU/Hurd.

The pthread_self() function can also always be used fine as it is on
GNU/Hurd.

libstdc++-v3/ChangeLog:

        * config/os/gnu-linux/os_defines.h [!__linux__]
          (_GLIBCXX_NATIVE_THREAD_ID, _GLIBCXX_GTHREAD_USE_WEAK): Do not define.

--- a/libstdc++-v3/config/os/gnu-linux/os_defines.h
+++ b/libstdc++-v3/config/os/gnu-linux/os_defines.h
@@ -49,22 +49,24 @@
 // version dynamically in case it has changed since libstdc++ was configured.
 #define _GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC __GLIBC_PREREQ(2,23)
 
-#if __GLIBC_PREREQ(2, 27)
-// Since glibc 2.27 pthread_self() is usable without linking to libpthread.
-# define _GLIBCXX_NATIVE_THREAD_ID pthread_self()
-#else
+#ifdef __linux__
+# if __GLIBC_PREREQ(2, 27)
+// Since glibc 2.27 Linux' pthread_self() is usable without linking to libpthread.
+#  define _GLIBCXX_NATIVE_THREAD_ID pthread_self()
+# else
 // Before then it was in libc.so.6 but not libc.a, and always returns 0,
 // which breaks the invariant this_thread::get_id() != thread::id{}.
 // So only use it if we know the libpthread version is available.
 // Otherwise use (__gthread_t)1 as the ID of the main (and only) thread.
-# define _GLIBCXX_NATIVE_THREAD_ID \
-  (__gthread_active_p() ? __gthread_self() : (__gthread_t)1)
-#endif
+#  define _GLIBCXX_NATIVE_THREAD_ID \
+   (__gthread_active_p() ? __gthread_self() : (__gthread_t)1)
+# endif
 
-#if __GLIBC_PREREQ(2, 34)
-// Since glibc 2.34 all pthreads functions are usable without linking to
+# if __GLIBC_PREREQ(2, 34)
+// Since glibc 2.34 all Linux pthreads functions are usable without linking to
 // libpthread.
-# define _GLIBCXX_GTHREAD_USE_WEAK 0
+#  define _GLIBCXX_GTHREAD_USE_WEAK 0
+# endif
 #endif
 
 #endif

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GMP GCC C++ Hurd cross-build failure on core-updates
  2022-12-06 10:06   ` zamfofex
  2022-12-06 11:20     ` zamfofex
@ 2022-12-19 21:06     ` Ludovic Courtès
  1 sibling, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2022-12-19 21:06 UTC (permalink / raw)
  To: zamfofex; +Cc: guix-devel@gnu.org

Hi zamfofex,

And sorry for the late reply…

zamfofex <zamfofex@twdb.moe> skribis:

> hurdauth.c:166:1: error: conflicting types for ‘_S_msg_del_auth’; have ‘kern_return_t(mach_port_t,  task_t,  const int *, mach_msg_type_number_t,  const int *, mach_msg_type_number_t)’ {aka ‘int(long unsigned int,  long unsigned int,  const int *, unsigned int,  const int *, unsigned int)’}
>   166 | _S_msg_del_auth (mach_port_t me,
>       | ^~~~~~~~~~~~~~~
> In file included from hurdauth.c:19:
> /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/msg_server.h:72:15: note: previous declaration of ‘_S_msg_del_auth’ with type ‘kern_return_t(mach_port_t,  mach_port_t,  int *, mach_msg_type_number_t,  int *, mach_msg_type_number_t)’ {aka ‘int(long unsigned int,  long unsigned int,  int *, unsigned int,  int *, unsigned int)’}
>    72 | kern_return_t _S_msg_del_auth
>       |               ^~~~~~~~~~~~~~~
> make[2]: *** [../o-iterator.mk:9: /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurdauth.o] Error 1

Looking at this, glibc now has ‘const’ qualifiers for the ‘uids’ and
‘gids’ parameters:

--8<---------------cut here---------------start------------->8---
kern_return_t
_S_msg_del_auth (mach_port_t me,
		 task_t task,
		 const_intarray_t uids, mach_msg_type_number_t nuids,
		 const_intarray_t gids, mach_msg_type_number_t ngids)
--8<---------------cut here---------------end--------------->8---

This comes from this glibc commit:

  commit 0eb230ccceee70c4b5d2a75807d2189aa4ed6e7c
  Date:   Sun Jan 16 18:28:40 2022 +0000

      hurd: Make RPC input array parameters const

      This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server
      side")

My guess is that you’re running a version of MiG that’s older than
cf4bcc3f1435 (MiG commit), and thus it generates stubs (such as the
‘msg_server.h’ file mentioned in the error message above) that lack
those ‘const’ qualifiers.

If that reasoning is good, updating MiG should fix it.

HTH,
Ludo’.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-19 21:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-04  7:23 GMP GCC C++ Hurd cross-build failure on core-updates zamfofex
2022-12-04 16:46 ` Joshua Branson
2022-12-05 16:08 ` Ludovic Courtès
2022-12-06 10:06   ` zamfofex
2022-12-06 11:20     ` zamfofex
2022-12-08 15:43       ` Ludovic Courtès
2022-12-19 21:06     ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2022-12-15  7:24 Nathan Dehnel
2022-12-15 11:17 ` Svante Signell
2022-12-19 10:57   ` Svante Signell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.