GCC 14 Build Failure

Cy Schubert <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
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) is
not included by some header file. Or possibly not detected properly during
./configure.


-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.