Has anyone seen this on 16-CURRENT?
/export/wrkdir/amd64/export/freebsd/git/ports/lang/gcc14/work/gcc-14.2.0/gcc/tree-ssa-loop-niter.cc:1955:7: error:
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/gcc/tree-ssa-loop-niter.cc:1957:7: error:
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
| ^~~~~~~~~~~~~~
I suspect, though haven't fully followed the trail, that gmp.h (from math/gmp) isSee https://bugs.freebsd.org/297562, this is a problem after base
not included by some header file. Or possibly not detected properly during ./configure.
On 17 Aug 2026, at 16:39, Cy Schubert <Cy.Schubert@cschubert.com> wrote:
=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
Has anyone seen this on 16-CURRENT?
=20
=
use of undeclared identifier '__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
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
| ^~~~~~~~~~~~~~
=
use of undeclared identifier '__gmpz_out_str'math/gmp) is
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 =
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
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 60:19:02 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 286,177 |