Current trunk fails to build gmp
Rainer Emrich
rainer@emrich-ebersheim.de
Fri Feb 14 07:01:32 GMT 2025
Since some time in November last year trunk fails to build gmp.
Last successfull build was 30th of October last year.
The issue seems to be a failing configure test. From config.log:
Test compile: long long reliability test 1
configure:6585:
/opt/devel/gnu/gcc/Linux/x86_64-pc-linux-gnu/Ubuntu_22.04/gcc-15.0.0-standard/bin/gcc
-O2 -pedantic -fomit-frame-pointer -m64 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:6588: $? = 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:7072: result: no, long long reliability test 1
Any comments?
I can open a PR if neccessary.
Rainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x917D882CE22A6AD2_and_old_rev.asc
Type: application/pgp-keys
Size: 13356 bytes
Desc: OpenPGP public key
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20250214/7d3729b3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20250214/7d3729b3/attachment-0001.sig>
More information about the Gcc
mailing list