Hello together, i found a possible fix
diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index b3c6ec97e7a..32ba1d52556 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -1155,7 +1155,7 @@ riscv_subset_list::parse (const char *arch, location_t loc) if (subset_list->lookup("zfinx") && subset_list->lookup("f")) error_at (loc, - "%<-march=%s%>: z*inx is conflict with float extensions", + "%<-march=%s%>: z*inx is conflict with \float extensions", arch); return subset_list; On Sun, Apr 2, 2023 at 7:13 PM Damian Tometzki <dam...@riscv-rocks.de> wrote: > > Hello together, > > i have the following build error gcc 13 current git: > > /home/damian/data/gcc13built/./prev-gcc/xg++ > -B/home/damian/data/gcc13built/./prev-gcc/ > -B/usr/riscv64-linux-gnu/bin/ -nostdinc++ > -B/home/damian/data/gcc13built/prev-riscv64-linux-gnu/libstdc++-v3/src/.libs > -B/home/damian/data/gcc13built/prev-riscv64-linux-gnu/libstdc++-v3/libsupc++/.libs > > -I/home/damian/data/gcc13built/prev-riscv64-linux-gnu/libstdc++-v3/include/riscv64-linux-gnu > -I/home/damian/data/gcc13built/prev-riscv64-linux-gnu/libstdc++-v3/include > -I/home/damian/data/gcc/libstdc++-v3/libsupc++ > -L/home/damian/data/gcc13built/prev-riscv64-linux-gnu/libstdc++-v3/src/.libs > -L/home/damian/data/gcc13built/prev-riscv64-linux-gnu/libstdc++-v3/libsupc++/.libs > -fno-PIE -c -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 > -Wconditionally-supported -Woverloaded-virtual -pedantic > -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror > -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. > -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include > -I../../gcc/gcc/../libcody -I../../gcc/gcc/../libdecnumber > -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber > -I../../gcc/gcc/../libbacktrace -o riscv-common.o -MT riscv-common.o > -MMD -MP -MF ./.deps/riscv-common.TPo > ../../gcc/gcc/common/config/riscv/riscv-common.cc > ../../gcc/gcc/common/config/riscv/riscv-common.cc: In static member > function 'static riscv_subset_list* riscv_subset_list::parse(const > char*, location_t)': > ../../gcc/gcc/common/config/riscv/riscv-common.cc:1158:48: error: > unquoted keyword 'float' in format [-Werror=format-diag] > 1158 | "%<-march=%s%>: z*inx is conflict with float extensions", > > Damian