all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zamfofex <zamfofex@twdb.moe>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: GMP GCC C++ Hurd cross-build failure on core-updates
Date: Tue, 6 Dec 2022 08:20:01 -0300 (BRT)	[thread overview]
Message-ID: <545122479.1703346.1670325601496@privateemail.com> (raw)
In-Reply-To: <662026881.1697453.1670321161488@privateemail.com>

[-- 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

  reply	other threads:[~2022-12-06 11:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545122479.1703346.1670325601496@privateemail.com \
    --to=zamfofex@twdb.moe \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.