dev-libs/gmp-6.3.0-r1 fails configure phase Reproducible: Always Steps to Reproduce: emerge =gcc-15.0.0_pre20241117 emerge =gmp-6.3.0 Actual Results: conftest.c:12:48: error: too many arguments to function 'g' 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.wrapped: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; works with =gcc-15.0.0_pre20241110
Created attachment 908920 [details] configure log
Created attachment 908921 [details] emerge --info
This is another C23 issue, as void g() now means "accepts no arguments".
https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8017296671ac17c48f70c888413b648b7b00400d commit 8017296671ac17c48f70c888413b648b7b00400d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-18 14:26:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-18 14:27:48 +0000 dev-libs/gmp: build w/ -std=gnu17 Bug: https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html Closes: https://bugs.gentoo.org/943710 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/gmp/gmp-6.3.0-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)