From Fedora Project Wiki

< Changes

Revision as of 17:12, 22 December 2021 by Submachine (talk | contribs) (Initial input of summary and change details)

Important.png
Comments and Explanations
The page source contains comments providing guidance to fill out each section. They are invisible when viewing this page. To read it, choose the "view source" link.
Copy the source to a new page before making changes! DO NOT EDIT THIS TEMPLATE FOR YOUR CHANGE PROPOSAL.
Idea.png
Guidance
For details on how to fill out this form, see the documentation.


GNU Toolchain Update (gcc 12, glibc 2.35, binutils 2.38, gdb 11.1)

Summary

Switch the Fedora 36 GNU Toolchain to gcc 12 (latest point release), binutils 2.38, glibc 2.35, and gdb 11.1.

The gcc 12 is currently under development and will be included in Fedora 36 upon release. The glibc 2.35 change will be tracked in this top-level GNU Toolchain system-wide update. Likewise the binutils 2.38 release will be tracked in this top-level GNU Toolchain system-wide update. The gdb 11.1 is already in Fedora 36, but the release will be updated to the latest point release.

Owner


Current status

  • Targeted release: Fedora Linux 36
  • Last updated: 2021-12-22
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

The GNU Compiler Collection, GNU C Library, GNU Debugger, and GNU Binary Utilities make up the core part of the GNU Toolchain and it is useful to transition these components as a complete implementation when making a new release of Fedora.

The GNU Compiler Collection is expected to release version 12 containing many new features documented here: https://gcc.gnu.org/gcc-12/changes.html. The latest point release for gcc 12 will be included in Fedora 36, this will most probably mean 12.1, or possibly 12.2.

The GNU C Library version 2.35 is expected to be released in the beginning of February 2022; we have started closely tracking the glibc 2.35 development code in Fedora Rawhide and are addressing any issues as they arise. Given the present schedule Fedora 36 will branch after the release of glibc 2.35. However, the mass rebuild schedule means Fedora 36 will mass rebuild (if required).

The GNU Binutils version 2.38 will be released near the end of TODO INCLUDE MONTH 2022;

The GNU Debugger verion 11.1 is already released.

Benefit to Fedora

Stays up to date with latest features, improvements security and bug fixes from gcc, binutils, gdb and glibc upstream.

The goal is to track and transition to the latest components of the GNU Toolchain.

Scope

  • Proposal owners: Fedora Toolchain Team (gcc, glibc, binutils, gdb, ...)
  • Other developers: Developers need to ensure that gcc, binutils, gdb, and glibc in rawhide are stable and ready for the Fedora 36 branch. Given that glibc is backwards compatible and we have been testing the new glibc in rawhide it should make very little impact when updated, except for the occasional deprecation warnings and removal of legacy interfaces from public header files. An update to GCC 12.1 would be mean a new major release and could have broad scope for change. The binutils 2.38 update also has the broad scope for change and generated object files should be reviewed and failures to build analyzed.

A mass rebuild is strongly encouraged. TODO LIST ANY SPECIFICS TO LOOK OUT FOR.

  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives:

Upgrade/compatibility impact

How To Test

User Experience

Dependencies

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No


Documentation

N/A (not a System Wide Change)

Release Notes