Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
.Updated GCC Toolset 11
GCC Toolset 11 is a compiler toolset that provides recent versions of development tools. It is available as an Application Stream in the form of a Software Collection in the `AppStream` repository.
Notable changes introduced with RHEL 8.6 include:
* The GCC compiler has been updated to version 11.2.1.
* `annobin` has been updated to version 10.23.
The following tools and versions are provided by GCC Toolset 10:
[options="header"]
|====
| Tool | Version
| GCC | 11.2.1
| GDB | 10.2
| Valgrind | 3.17.0
| SystemTap | 4.5
| Dyninst | 11.0.0
| binutils | 2.36.1
| elfutils | 0.185
| dwz | 0.14
| make | 4.3
| strace | 5.13
| ltrace | 0.7.91
| annobin | 10.23
|====
To install GCC Toolset 11, run the following command as root:
[literal]
----
# yum install gcc-toolset-11
----
To run a tool from GCC Toolset 11:
[literal,subs="quotes"]
----
$ scl enable gcc-toolset-11 __tool__
----
To run a shell session where tool versions from GCC Toolset 11 override system versions of these tools:
[literal]
----
$ scl enable gcc-toolset-11 bash
----
For more information about usage, see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/developing_c_and_cpp_applications_in_rhel_8/additional-toolsets-for-development_developing-applications#gcc-toolset_assembly_additional-toolsets-for-development[Using GCC Toolset].
The GCC Toolset 11 components are available in the two container images:
* `rhel8/gcc-toolset-11-toolchain`, which includes the GCC compiler, the GDB debugger, and the `make` automation tool.
* `rhel8/gcc-toolset-11-perftools`, which includes the performance monitoring tools, such as SystemTap and Valgrind.
To pull a container image, run the following command as root:
----
# podman pull registry.redhat.io/<image_name>
----
Note that only the GCC Toolset 11 container images are now supported. Container images of earlier GCC Toolset versions are deprecated.
For details regarding the container images, see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/developing_c_and_cpp_applications_in_rhel_8/additional-toolsets-for-development_developing-applications#using-the-gcc-toolset-container-images_assembly_additional-toolsets-for-development[Using the GCC Toolset container images].
We should update from gcc-11.2.1-3.fc36 (or newer), which brings various changes (updated to latest snapshot, added the libgcc LDFLAGS_FOR_TARGET patch, __VA_OPT__ support, constint thread_local opt, bundled(lib{backtrace,ffi}), ldconfig* fix etc.
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 (gcc-toolset-11-gcc bug fix and enhancement update), 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/RHBA-2022:1761
We should update from gcc-11.2.1-3.fc36 (or newer), which brings various changes (updated to latest snapshot, added the libgcc LDFLAGS_FOR_TARGET patch, __VA_OPT__ support, constint thread_local opt, bundled(lib{backtrace,ffi}), ldconfig* fix etc.