On Monday, July 28, 2025 11:10:41 p.m. Central Daylight Saving Time William 
Youmans wrote:
> Hi,
> 
> This may overlap with known build issues but I'm not sure. Configuring GMP
> with gcc 15 on a fresh Arch install fails (with essential development tools
> from `base-devel` installed).

For what it's worth: this was also reported to me as Debian maintainer of gmp.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096730

I've just tested locally, reproduced the configuration failure and have 
attached the config.log for interested parties.  

-Steve
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.3.0, which was
generated by GNU Autoconf 2.72.  Invocation command line was

  $ ../configure --prefix=/usr --enable-cxx --disable-fat --build x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu AR=ar CC=x86_64-linux-gnu-gcc-15 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3' CXX=x86_64-linux-gnu-g++-15 'CXXFLAGS=-g -O2 -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' ASMFLAGS=--debug-prefix-map=/home/steve/Packages/gmp/salsa=.

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

hostname = riemann
uname -m = x86_64
uname -r = 6.12.38+deb13-amd64
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16)

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

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

PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/bin/X11/


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

configure:3432: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3445:  trying ../
configure:3474:   ../ltmain.sh found
configure:3474:   ../compile found
configure:3474:   ../missing found
configure:3456:   ../install-sh found
configure:3474:   ../config.guess found
configure:3474:   ../config.sub found
configure:3635: checking build system type
configure:3651: result: x86_64-pc-linux-gnu
configure:3671: checking host system type
configure:3686: result: x86_64-pc-linux-gnu
configure:3724: checking for a BSD-compatible install
configure:3798: result: /usr/bin/install -c
configure:3809: checking whether sleep supports fractional seconds
configure:3825: result: yes
configure:3828: checking filesystem timestamp resolution
configure:3963: result: 0.01
configure:3968: checking whether build environment is sane
configure:4009: result: yes
configure:4180: checking for a race-free mkdir -p
configure:4223: result: /usr/bin/mkdir -p
configure:4230: checking for gawk
configure:4251: found /usr/bin/gawk
configure:4263: result: gawk
configure:4274: checking whether make sets $(MAKE)
configure:4298: result: yes
configure:4324: checking whether make supports nested variables
configure:4343: result: yes
configure:4357: checking xargs -n works
configure:4373: result: yes
configure:4474: checking whether to enable maintainer-specific portions of Makefiles
configure:4485: result: no
User:
ABI=
CC=x86_64-linux-gnu-gcc-15
CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3
CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
MPN_PATH=
GMP:
abilist=64 x32 32
cclist=gcc icc cc
configure:6679: x86_64-linux-gnu-gcc-15 -c conftest.c >&5
configure:6682: $? = 0
configure:6685: checking whether x86_64-linux-gnu-gcc-15 is gcc
configure:6687: result: yes
configure:6701: x86_64-linux-gnu-gcc-15 2>&1 | grep xlc >/dev/null
configure:6704: $? = 1
configure:6758: checking compiler x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2
Test compile: 
configure:6772: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6775: $? = 0
configure:6780: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6783: $? = 0
Test compile: function pointer return
configure:6826: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6829: $? = 0
configure:6834: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6837: $? = 0
Test compile: cmov instruction
configure:6882: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6885: $? = 0
configure:6890: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6893: $? = 0
Test compile: double -> ulong conversion
configure:6939: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6942: $? = 0
configure:6947: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6950: $? = 0
Test compile: double negation
configure:6994: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6997: $? = 0
configure:7002: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7005: $? = 0
Test compile: double -> float conversion
configure:7050: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7053: $? = 0
configure:7058: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7061: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:7135: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7138: $? = 0
configure:7143: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7146: $? = 0
Test compile: __builtin_alloca availability
configure:7186: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 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); }
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:7189: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:7310: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7313: $? = 0
configure:7318: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7321: $? = 0
Test compile: long long reliability test 1
configure:7375: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'f':
conftest.c:12:48: error: too many arguments to function 'g'; expected 0, have 6
   12 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
      |                                                ^ ~
conftest.c:7:6: note: declared here
    7 | void g(){}
      |      ^
configure:7378: $? = 1
failed program was:
/* The following provokes a segfault in the compiler on powerpc-apple-darwin.
   Extracted from tests/mpn/t-iord_u.c.  Causes Apple's gcc 3.3 build 1640 and
   1666 to segfault with e.g., -O2 -mpowerpc64.  */

#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
void g(){}
void h(){}
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
void f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
#else
int dummy;
#endif

int main () { return 0; }
configure:7862: result: no, long long reliability test 1
configure:6679: x86_64-linux-gnu-gcc-15 -c conftest.c >&5
configure:6682: $? = 0
configure:6685: checking whether x86_64-linux-gnu-gcc-15 is gcc
configure:6687: result: yes
configure:6701: x86_64-linux-gnu-gcc-15 2>&1 | grep xlc >/dev/null
configure:6704: $? = 1
configure:6758: checking compiler x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2
Test compile: 
configure:6772: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6775: $? = 0
configure:6780: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6783: $? = 0
Test compile: function pointer return
configure:6826: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6829: $? = 0
configure:6834: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6837: $? = 0
Test compile: cmov instruction
configure:6882: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6885: $? = 0
configure:6890: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6893: $? = 0
Test compile: double -> ulong conversion
configure:6939: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6942: $? = 0
configure:6947: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6950: $? = 0
Test compile: double negation
configure:6994: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6997: $? = 0
configure:7002: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7005: $? = 0
Test compile: double -> float conversion
configure:7050: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7053: $? = 0
configure:7058: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7061: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:7135: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7138: $? = 0
configure:7143: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7146: $? = 0
Test compile: __builtin_alloca availability
configure:7186: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 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); }
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:7189: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:7310: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7313: $? = 0
configure:7318: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7321: $? = 0
Test compile: long long reliability test 1
configure:7375: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'f':
conftest.c:12:48: error: too many arguments to function 'g'; expected 0, have 6
   12 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
      |                                                ^ ~
conftest.c:7:6: note: declared here
    7 | void g(){}
      |      ^
configure:7378: $? = 1
failed program was:
/* The following provokes a segfault in the compiler on powerpc-apple-darwin.
   Extracted from tests/mpn/t-iord_u.c.  Causes Apple's gcc 3.3 build 1640 and
   1666 to segfault with e.g., -O2 -mpowerpc64.  */

#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
void g(){}
void h(){}
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
void f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
#else
int dummy;
#endif

int main () { return 0; }
configure:7862: result: no, long long reliability test 1
configure:6679: x86_64-linux-gnu-gcc-15 -c conftest.c >&5
configure:6682: $? = 0
configure:6685: checking whether x86_64-linux-gnu-gcc-15 is gcc
configure:6687: result: yes
configure:6701: x86_64-linux-gnu-gcc-15 2>&1 | grep xlc >/dev/null
configure:6704: $? = 1
configure:6758: checking compiler x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2
Test compile: 
configure:6772: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6775: $? = 0
configure:6780: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6783: $? = 0
Test compile: function pointer return
configure:6826: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6829: $? = 0
configure:6834: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6837: $? = 0
Test compile: cmov instruction
configure:6882: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6885: $? = 0
configure:6890: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6893: $? = 0
Test compile: double -> ulong conversion
configure:6939: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6942: $? = 0
configure:6947: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:6950: $? = 0
Test compile: double negation
configure:6994: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6997: $? = 0
configure:7002: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7005: $? = 0
Test compile: double -> float conversion
configure:7050: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7053: $? = 0
configure:7058: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7061: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:7135: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7138: $? = 0
configure:7143: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7146: $? = 0
Test compile: __builtin_alloca availability
configure:7186: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 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); }
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:7189: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:7310: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7313: $? = 0
configure:7318: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:7321: $? = 0
Test compile: long long reliability test 1
configure:7375: x86_64-linux-gnu-gcc-15 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'f':
conftest.c:12:48: error: too many arguments to function 'g'; expected 0, have 6
   12 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
      |                                                ^ ~
conftest.c:7:6: note: declared here
    7 | void g(){}
      |      ^
configure:7378: $? = 1
failed program was:
/* The following provokes a segfault in the compiler on powerpc-apple-darwin.
   Extracted from tests/mpn/t-iord_u.c.  Causes Apple's gcc 3.3 build 1640 and
   1666 to segfault with e.g., -O2 -mpowerpc64.  */

#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
void g(){}
void h(){}
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
void f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
#else
int dummy;
#endif

int main () { return 0; }
configure:7862: result: no, long long reliability test 1
configure:8100: error: could not find a working compiler, see config.log for details

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

ac_cv_build=x86_64-pc-linux-gnu
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=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=x86_64-linux-gnu-gcc-15
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
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=set
ac_cv_env_CXXFLAGS_value='-g -O2 -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=x86_64-linux-gnu-g++-15
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-z,relro
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-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_filesystem_timestamp_resolution=0.01
am_cv_make_support_nested_variables=yes
am_cv_sleep_fractional_seconds=yes
am_cv_xargs_n_works=yes

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

ABI=''
ACLOCAL='${SHELL} '\''/home/steve/Packages/gmp/salsa/missing'\'' aclocal-1.17'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY='1'
AM_V=''
AR='ar'
AS=''
ASMFLAGS='--debug-prefix-map=/home/steve/Packages/gmp/salsa=.'
AUTOCONF='${SHELL} '\''/home/steve/Packages/gmp/salsa/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/steve/Packages/gmp/salsa/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/steve/Packages/gmp/salsa/missing'\'' automake-1.17'
AWK='gawk'
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC='x86_64-linux-gnu-gcc-15'
CCAS=''
CC_FOR_BUILD=''
CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3'
CPP=''
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
CPP_FOR_BUILD=''
CSCOPE='cscope'
CTAGS='ctags'
CXX='x86_64-linux-gnu-g++-15'
CXXCPP=''
CXXFLAGS='-g -O2 -ffile-prefix-map=/home/steve/Packages/gmp/salsa=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB=''
DEFS=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
ETAGS='etags'
EXEEXT=''
EXEEXT_FOR_BUILD=''
FGREP=''
FILECMD=''
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='-Wl,-z,relro'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/home/steve/Packages/gmp/salsa/missing'\'' makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='[email protected] (see https://gmplib.org/manual/Reporting-Bugs.html)'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 6.3.0'
PACKAGE_TARNAME='gmp'
PACKAGE_URL='https://www.gnu.org/software/gmp/'
PACKAGE_VERSION='6.3.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_LIBS=''
TUNE_SQR_OBJ=''
U_FOR_BUILD=''
VERSION='6.3.0'
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=' -I$(srcdir)'
am__leading_dot='.'
am__rm_f_notfound=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
am__xargs_n='xargs -n'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gmp_srclinks=''
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/steve/Packages/gmp/salsa/install-sh'
libdir='/usr/lib/x86_64-linux-gnu'
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='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
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.3.0"
#define PACKAGE_STRING "GNU MP 6.3.0"
#define PACKAGE_BUGREPORT "[email protected] (see https://gmplib.org/manual/Reporting-Bugs.html)"
#define PACKAGE_URL "https://www.gnu.org/software/gmp/";
#define PACKAGE "gmp"
#define VERSION "6.3.0"
#define WANT_FFT 1
#define HAVE_HOST_CPU_x86_64 1

configure: exit 1

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to