[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 20 00:24:11 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134
--- Comment #8 from kargl at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #5)
> The file uses
> #if __GNUC__ >= 10
> # pragma GCC diagnostic push
> # pragma GCC diagnostic ignored "-Wformat-diag"
> #endif
> ...
> #if __GNUC__ >= 10
> # pragma GCC diagnostic pop
> #endif
> but in a region different from what is reported about.
Note, I configured gcc to use gcc 11.2 to be the initial bootstrap compiler.
% gcc11 --version
gcc11 (FreeBSD Ports Collection) 11.2.0
% cat confx
#! /bin/sh
CC=/usr/local/bin/gcc11
export CC
CXX=/usr/local/bin/g++11
export CXX
LD_LIBRARY_PATH=/usr/local/lib/gcc11
export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/lib/gcc11
export LD_RUN_PATH
../gccx/configure --prefix=$HOME/work/x --enable-languages=c,c++,fortran,lto \
--enable-bootstrap --disable-nls --enable-checking
More information about the Gcc-bugs
mailing list