A tracker BZ for devtoolset-12-gcc addition.
I've built devtoolset-12-gcc-12.1.1-1.el7. Testing looks OK so far: # ./gcc-sanity.sh gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) g++ (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) GNU Fortran (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) /tmp/tmp.zEUTEGYMNY 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 NOTE: skipping 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...
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: devtoolset-12-gcc), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:8596