We should have a gcc-toolset-13-gcc component.
First build: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=2337160 but please don't test it yet, I still have to rebase it.
I've added hwasan but can't really test it: # gcc nested-functions-0.c -fsanitize=hwaddress; ./a.out cc1: warning: ‘-fsanitize=hwaddress’ is not supported for this target /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: warning: /tmp/ccOSoDrK.o: requires executable stack (because the .note.GNU-stack section is executable) FATAL: HWAddressSanitizer requires a kernel with tagged address ABI. Not sure if I should keep hwasan around.
# ./gcc-sanity.sh gcc (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4) g++ (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4) GNU Fortran (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4) /tmp/tmp.SLPEa1gAvv C Hello World ... C++ Hello World ... Fortran Hello World ... NOTE: skipping ObjC NOTE: skipping ObjC++ NOTE: skipping Ada NOTE: skipping Go NOTE: skipping gofmt (not found) OpenMP #1 ... Fortran -fopenmp ... Fortran with include 'omp_lib.h' ... Fortran with #include "omp_lib.h" ... Make sure libgfortran_nonshared is available... NOTE: skipping libquadmath #1 libitm #1 ... NOTE: skipping libasan #1 NOTE: skipping libasan #2 NOTE: skipping libasan #3 NOTE: skipping libtsan #1 libubsan #1 ... liblsan #1 ... libatomic #1 ... NOTE: skipping libgccjit #1 C++03 headers ... C++11 headers ... checking dependent libs... trying shared_ptr ... trying std::variant ... trying std::mt19937 ... trying std::invalid_argument ... trying std::filesystem ... trying to compile & use module foo...