Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=atomicity.lo -O2 -g -grecord-gcc-switches -Wno-complain-wrong-lang -Wformat -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -D_GNU_SOURCE -c atomicity.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o atomicity.o /bin/sh ../libtool --tag CC --tag disable-shared --mode=compile /builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/./gcc/xgcc -B/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/./gcc/ -B/usr/riscv64-redhat-linux/bin/ -B/usr/riscv64-redhat-linux/lib/ -isystem /usr/riscv64-redhat-linux/include -isystem /usr/riscv64-redhat-linux/sys-include -fno-checking -DHAVE_CONFIG_H -I.. -I/builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/../libiberty -I/builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/../include -prefer-pic -D_GLIBCXX_SHARED -I/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/include/riscv64-redhat-linux -I/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/include -I/builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/libsupc++ -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wno-complain-wrong-lang -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -DIN_GLIBCPP_V3 -Wno-error -c cp-demangle.c libtool: compile: /builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/./gcc/xgcc -B/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/./gcc/ -B/usr/riscv64-redhat-linux/bin/ -B/usr/riscv64-redhat-linux/lib/ -isystem /usr/riscv64-redhat-linux/include -isystem /usr/riscv64-redhat-linux/sys-include -fno-checking -DHAVE_CONFIG_H -I.. -I/builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/../libiberty -I/builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/../include -D_GLIBCXX_SHARED -I/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/include/riscv64-redhat-linux -I/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/include -I/builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/libsupc++ -O2 -fexceptions -g -grecord-gcc-switches -Wall -Wno-complain-wrong-lang -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -DIN_GLIBCPP_V3 -Wno-error -c cp-demangle.c -fPIC -DPIC -o cp-demangle.o In file included from cp-demangle.c:140: /builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/../libiberty/cp-demangle.h:191:1: warning: ‘cplus_demangle_mangled_name’ declared ‘static’ but never defined [-Wunused-function] 191 | cplus_demangle_mangled_name (struct d_info *, int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gcc-14.0.1-20240411/libstdc++-v3/../libiberty/cp-demangle.h:195:1: warning: ‘cplus_demangle_type’ declared ‘static’ but never defined [-Wunused-function] 195 | cplus_demangle_type (struct d_info *); | ^~~~~~~~~~~~~~~~~~~ cp-demangle.c:174:30: warning: ‘d_print’ defined but not used [-Wunused-function] 174 | #define cplus_demangle_print d_print | ^~~~~~~ cp-demangle.c:4686:1: note: in expansion of macro ‘cplus_demangle_print’ 4686 | cplus_demangle_print (int options, struct demangle_component *dc, | ^~~~~~~~~~~~~~~~~~~~ make[5]: Leaving directory '/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos/src' make[4]: *** [Makefile:485: all-recursive] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos' make[3]: *** [Makefile:412: all] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/gcc-14.0.1-20240411/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos' make[2]: *** [Makefile:24141: all-stageprofile-target-libphobos] Error 2 make[2]: *** Waiting for unfinished jobs....