Bug 2188499

Summary: Add gcc-toolset-13-gcc [RHEL 9.3]
Product: Red Hat Enterprise Linux 9 Reporter: Marek Polacek <mpolacek>
Component: gccAssignee: Marek Polacek <mpolacek>
gcc sub component: gcc-toolset-13 QA Contact: Václav Kadlčík <vkadlcik>
Status: VERIFIED --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: fweimer, jchecahi, markobri, vkadlcik
Version: 9.3Keywords: FutureFeature, Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-toolset-13-gcc-13.1.1-4.1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Polacek 2023-04-20 23:18:22 UTC
We should have a gcc-toolset-13-gcc component.

Comment 1 Marek Polacek 2023-06-14 12:06:30 UTC
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.

Comment 2 Marek Polacek 2023-06-20 20:34:14 UTC
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.

Comment 3 Marek Polacek 2023-06-20 20:37:07 UTC
# ./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...