[Bug bootstrap/104134] New: Bootstrap on FreeBSD files compiling gcc/cp/error.cc

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 19 22:32:50 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134

            Bug ID: 104134
           Summary: Bootstrap on FreeBSD files compiling gcc/cp/error.cc
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a  -liconv ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -lisl -L/usr/local/lib
-lmpc -lmpfr -lgmp -rdynamic  -L./../zlib -lz -lzstd 
/usr/home/sgk/gcc/objx/./prev-gcc/xg++ -B/usr/home/sgk/gcc/objx/./prev-gcc/
-B/usr/home/sgk/work/x/x86_64-unknown-freebsd14.0/bin/ -nostdinc++
-B/usr/home/sgk/gcc/objx/prev-x86_64-unknown-freebsd14.0/libstdc++-v3/src/.libs
-B/usr/home/sgk/gcc/objx/prev-x86_64-unknown-freebsd14.0/libstdc++-v3/libsupc++/.libs

-I/usr/home/sgk/gcc/objx/prev-x86_64-unknown-freebsd14.0/libstdc++-v3/include/x86_64-unknown-freebsd14.0
 -I/usr/home/sgk/gcc/objx/prev-x86_64-unknown-freebsd14.0/libstdc++-v3/include 
-I/usr/home/sgk/gcc/gccx/libstdc++-v3/libsupc++
-L/usr/home/sgk/gcc/objx/prev-x86_64-unknown-freebsd14.0/libstdc++-v3/src/.libs
-L/usr/home/sgk/gcc/objx/prev-x86_64-unknown-freebsd14.0/libstdc++-v3/libsupc++/.libs
 -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC    
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -Icp -I../../gccx/gcc -I../../gccx/gcc/cp
-I../../gccx/gcc/../include -I../../gccx/gcc/../libcpp/include
-I../../gccx/gcc/../libcody -I/usr/local/include 
-I../../gccx/gcc/../libdecnumber -I../../gccx/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gccx/gcc/../libbacktrace   -o cp/error.o -MT
cp/error.o -MMD -MP -MF cp/.deps/error.TPo ../../gccx/gcc/cp/error.cc
In file included from ../../gccx/gcc/cp/error.cc:29:
../../gccx/gcc/cp/error.cc: In function 'void
dump_aggr_type(cxx_pretty_printer*, tree, int)':
../../gccx/gcc/cp/error.cc:841:27: error: spurious leading punctuation sequence
'<' in format [-Werror=format-diag]
  841 |         pp_printf (pp, M_("<unnamed %s>"), variety);
../../gccx/gcc/intl.h:40:26: note: in definition of macro 'gettext'
   40 | # define gettext(msgid) (msgid)
      |                          ^~~~~
../../gccx/gcc/cp/error.cc:52:56: note: in expansion of macro '_'
   52 | #define M_(msgid) (pp_translate_identifiers (cxx_pp) ? _(msgid) :
(msgid))
      |                                                        ^
../../gccx/gcc/cp/error.cc:841:24: note: in expansion of macro 'M_'
  841 |         pp_printf (pp, M_("<unnamed %s>"), variety);
      |                        ^~
../../gccx/gcc/cp/error.cc:841:27: error: spurious trailing punctuation
sequence '>' in format [-Werror=format-diag]
  841 |         pp_printf (pp, M_("<unnamed %s>"), variety);
../../gccx/gcc/intl.h:40:26: note: in definition of macro 'gettext'
   40 | # define gettext(msgid) (msgid)
      |                          ^~~~~
../../gccx/gcc/cp/error.cc:52:56: note: in expansion of macro '_'
   52 | #define M_(msgid) (pp_translate_identifiers (cxx_pp) ? _(msgid) :
(msgid))
      |                                                        ^
../../gccx/gcc/cp/error.cc:841:24: note: in expansion of macro 'M_'
  841 |         pp_printf (pp, M_("<unnamed %s>"), variety);
      |                        ^~
cc1plus: all warnings being treated as errors


More information about the Gcc-bugs mailing list