Bug 2184811

Summary: gcc toolset packages and dependencies
Product: Red Hat Enterprise Linux 9 Reporter: Paulo Andrade <pandrade>
Component: gcc-toolset-12Assignee: Marek Polacek <mpolacek>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.4   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-05 21:18:41 UTC 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 Paulo Andrade 2023-04-05 20:53:15 UTC
It is a bit confusing that there is no proper way to make sure an
update from gcc-toolset-11 to gcc-toolset-12 is correct.

Several previous gcc-toolset-X are no longer available and/or now
use system versions.

It would be desirable to run:

# dnf install gcc-toolset-12-toolchain

to make sure every dependency is in place, and then run:

#scl enable gcc-toolset-12 bash

to make sure to be using the proper environment.

Comment 1 Marek Polacek 2023-04-05 21:18:41 UTC
I removed gcc-toolset-12-toolchain because it no longer made sense; the perftools packages were dropped from GTS.

$ dnf install gcc-toolset-12
should install all GTS 12 packages.

Comment 2 Paulo Andrade 2023-04-06 14:40:12 UTC
Thanks.
I understand now how to make sure to be using the proper environment!