Re: GCC 14 Build Failure
Cy Schubert <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]>, Dimitry Andric w rites: > On 17 Aug 2026, at 16:39, Cy Schubert <[email protected]> wrote: > >=20 > > Has anyone seen this on 16-CURRENT? > >=20 > > = > /export/wrkdir/amd64/export/freebsd/git/ports/lang/gcc14/work/gcc-14.2.0/g= > cc/tree-ssa-loop-niter.cc:1955:7: error:=20 > > use of undeclared identifier '__gmpz_out_str' > > 1955 | mpz_out_str (dump_file, 10, bnds.below); > > | ^~~~~~~~~~~ > > /usr/local/include/gmp.h:962:21: note: expanded from macro > > 'mpz_out_str' > > 962 | #define mpz_out_str __gmpz_out_str > > | ^~~~~~~~~~~~~~ > > = > /export/wrkdir/amd64/export/freebsd/git/ports/lang/gcc14/work/gcc-14.2.0/g= > cc/tree-ssa-loop-niter.cc:1957:7: error:=20 > > use of undeclared identifier '__gmpz_out_str' > > 1957 | mpz_out_str (dump_file, 10, bnds.up); > > | ^~~~~~~~~~~ > > /usr/local/include/gmp.h:962:21: note: expanded from macro > > 'mpz_out_str' > > 962 | #define mpz_out_str __gmpz_out_str > > | ^~~~~~~~~~~~~~ > >=20 > >=20 > > I suspect, though haven't fully followed the trail, that gmp.h (from = > math/gmp) is > > not included by some header file. Or possibly not detected properly = > during > > ./configure. > > See https://bugs.freebsd.org/297562, this is a problem after base > cd0727ec709b, causing gmp to fail to detect the inclusion of stdio.h. > > -Dimitry > Thank you for the patch. -- Cheers, Cy Schubert <[email protected]> FreeBSD UNIX: <[email protected]> Web: https://FreeBSD.org NTP: <[email protected]> Web: https://nwtime.org e**(i*pi)+1=0