Release Process
Stable Glibc releases are further maintained in release branches, where they continue to receive backports of bugfixes committed to the main development branch (master). Thus, users will be able to get a glibc with many bugfixes from mainline (compared to the "main release" 2.27). Releases happen every 6 months around 1st February and 1st August, subject to any regressions or ABI issues. Exact release dates for future releases are decided by consensus and are tracked in their respective release pages. The source tree is frozen 6 weeks before release to allow time for architecture testing and bug fixes.
Contents
- Current branches
- Distribution Branch Mapping
- General policy
- New Release Manager [REQUIRED]
- Step-by-Step Release
-
Release Steps
- Development [REQUIRED] (6 months before release)
- Soft Freeze [REQUIRED] (6 weeks before release)
- Update libc.pot for the Translations project, string freeze [REQUIRED] (Right after soft freeze)
- Incorporate translations [REQUIRED] (All through the freeze)
- Hard Freeze (4 weeks before release)
- Testing / Machine testing [REQUIRED] (All through the freeze)
- RM Testing [RECOMMENDED] (All through the freeze)
- News [RECOMMENDED] (Just before release)
- Insert list of fixed bugs in NEWS [REQUIRED]
- Insert list of fixed security advisories in NEWS [REQUIRED]
- Update manual/contrib.texi [RECOMMENDED]
- Update manual/install.texi [RECOMMENDED]
- Regenerate [REQUIRED]
- Final Translations [REQUIRED] (Just before release)
- Prepare announcement [REQUIRED] (At release)
- First Tag [REQUIRED] (At release)
- Branch [REQUIRED] (At release)
- Prepare master for new development [REQUIRED] (At release)
- Prepare release branch [REQUIRED] (At release)
- Second Tag [REQUIRED] (At release)
- Make tarballs and upload release [REQUIRED] (At release)
- Announce release [REQUIRED] (At release)
- Set up NEWS file in release branch for backports [REQUIRED] (After release)
- Party [RECOMMENDED] (After release)
1. Current branches
Currently, these release branches are maintained:
Release/2.33 by Adhemerval Zanella
Release/2.40 by Andreas K. Hüttel with a release planned for 2024-08-01 (upcoming release).
See Glibc Timeline for the release timelines.
Notes: When creating a new release page, chose the ReleaseXYTemplate page template!
2. Distribution Branch Mapping
The following is the mapping of actively supported distribution branches, public or private, with respect to the upstream glibc branches.
Distribution |
Branch |
EOL |
ALT p10 |
2.32 |
Ongoing |
Amazon Linux 2023 |
2.34 |
|
Amazon Linux 2025 |
?? |
2030 |
Amazon Linux 2027 |
?? |
2032 |
Amazon Linux 2029 |
?? |
2034 |
Azure Linux 2.0 (CBL-Mariner) |
2.35 |
?? |
Debian 11 (Bullseye) |
2.31 |
Ongoing |
Fedora 38 |
2.37 |
Ongoing |
Fedora 39 |
2.38 |
Ongoing |
Fedora 40 |
2.39 |
In progress |
Gentoo stable |
2.39 |
n/a |
Gentoo testing |
2.39 |
n/a |
IBM Advance Toolchain 15.0 |
2.34 |
2024-08-31 |
IBM Advance Toolchain 16.0 |
2.36 |
2025-08-31 |
IBM Advance Toolchain 17.0 |
2.38 |
2026-08-31 |
Python manylinux_2_32 |
2.32 |
Ongoing |
Python manylinux_2_33 |
2.33 |
Ongoing |
Python manylinux_2_34 |
2.34 |
Ongoing |
Python manylinux_2_35 |
2.35 |
Ongoing |
Python manylinux_2_36 |
2.36 |
Ongoing |
Python manylinux_2_37 |
2.37 |
Ongoing |
Python manylinux_2_38 |
2.38 |
Ongoing |
Python manylinux_2_39 |
2.39 |
Ongoing |
Red Hat Enterprise Linux 7 |
2.17 |
2028-06-30 (End of Extended Life-cycle support) |
Red Hat Enterprise Linux 8 |
2.28 |
2032-05-31 (End of Extended Life-cycle support) |
Red Hat Enterprise Linux 9 |
2.34 |
2035-05-31 (End of Extended Life-cycle support) |
Red Hat Enterprise Linux 10 |
2.39 |
Ongoing |
Ubuntu 18.04 LTS (Bionic Beaver) |
2.27 |
2028-04 |
Ubuntu 20.04 LTS (Focal Fossa) |
2.31 |
2030-04 |
Ubuntu 22.04 LTS (Jammy Jellyfish) |
2.35 |
2032-04 |
The following is the mapping of distribution branches beyond their EOL date with respect to the upstream glibc branches.
Distribution |
Branch |
EOL |
ALT p9 |
2.27 |
2023-12 |
Debian 8 (Jessie) |
2.19 |
2020-06-30 |
Debian 9 (Stretch) |
2.24 |
2022-06-30 |
Debian 10 (Buster) |
2.28 |
2022-06-30 |
Fedora 21 |
2.20 |
2015-06-23 |
Fedora 22 |
2.21 |
2015-12-01 |
Fedora 23 |
2.22 |
2016-07-19 |
Fedora 24 |
2.23 |
2016-12-20 |
Fedora 25 |
2.24 |
2017-12-12 |
Fedora 26 |
2.25 |
2017-12-12 |
Fedora 27 |
2.26 |
2018-05-29 |
Fedora 28 |
2.27 |
2018-11-30 |
Fedora 29 |
2.28 |
2019-05-28 |
Fedora 30 |
2.29 |
2019-11-30 |
Fedora 31 |
2.30 |
2020-11-24 |
Fedora 32 |
2.31 |
2021-05-25 |
Fedora 33 |
2.32 |
2021-11-30 |
Fedora 34 |
2.33 |
2022-06-07 |
Fedora 35 |
2.34 |
2022-12-13 |
Fedora 36 |
2.35 |
2023-05-06 |
Fedora 37 |
2.36 |
2023-12-05 |
IBM Advance Toolchain 12.0 |
2.28 |
2021-08-31 |
IBM Advance Toolchain 13.0 |
2.30 |
2022-08-31 |
IBM Advance Toolchain 14.0 |
2.32 |
2023-08-31 |
Red Hat Enterprise Linux 5 |
2.5 |
2020-11-30 (End of Extended Life-cycle Support) |
Red Hat Enterprise Linux 6 |
2.12 |
2024-06-30 (End of Extended Life-cycle Support) |
Ubuntu 16.04 LTS (Xenial Xerus) |
2.23 |
2024-04 |
3. General policy
Each release branch owns a Git ref namespace release/VERSION/, recommended structure being release/VERSION/master for development, while tags are made under the common scheme glibc-VERSION.REVISION (i.e. glibc-2.27).
Normally, a release branch is forked off master after the stable version is tagged (usually, commits intended to update the version appear for few days after the version is tagged and the release branch would diverge only right before version.h is updated to reflect start of development for next main version), and consists purely or almost purely of cherry-picked fixes committed to the master branch.
Each branch is maintained by a single release manager, who has the responsibility of maintaining the particular stable branch, has final say on what goes in. The branch is expected to receive many liberally merged bugfixes from master at the beginning when many new bugs are found, then become more conservative and decrease the rate of back-ports as most major problems are solved and the branch is being propagated to more mature distribution versions. Usually, the interested committers have discretion over which bugfixes to pick for back-porting, but if discussion arises, general consensus of the community is sought, the default choice being to err on the conservative side. Patch backports to stable branches are discussed on the libc-stable mailing list, and any patch on master that doesn't change ABI or API is immediately suitable for backporting to a stable branch. It is polite to post your backport to libc-stable (in parallel with your commit) and explain the reason for the backport; this helps distro maintainers decide if they want to sync to get the fix.
It is best if a release manager volunteers, and is agreed by the community, at the start of mainline development leading to the new release (for example, a 2.28 release manager should be agreed around the time 2.27 is released). If a release manager is agreed at that time, they may then agree a release timetable with the community for the next stable release and branch. If you would like to try this out, and especially if you have some interest in the branch well-being (e.g. you are distro maintainer who will base a distro branch on top of this release), feel free to just suggest yourself on libc-alpha!
Anyone can suggest a fix committed on master (unless it's N/A for master for some reason - in that case, discussion about the patch is expected) to be included in a release branch, either by marking it by an appropriate keyword in bugzilla, or cherry-picking it themselves and sending a pull request. Developers with glibc commit permissions can in general push into any release branch, but they are expected to execute reasonable judgement and follow the branch policies. All cherry-picked commits should be created using git cherry-pick -x to indicate the id of the original commit in the commit message (see details on cherry-picking in Git). Always aim at having one cherry-picked commit for one original commit.
As of today the release branches are rolling releases that accumulates fixes and are consumed directly by distributions.
Final words: Always keep in mind the GNU copyright discipline.
4. New Release Manager [REQUIRED]
Each release manager should have or gradually obtain:
- Push access to git.sourceware.org. [REQUIRED]
- A published (preferably well cross-signed) PGP key for signing release tags. [REQUIRED]
5. Step-by-Step Release
Process |
Full Release |
When? |
Development |
New development |
6 months before release |
Soft Freeze |
|
6 weeks before release |
Translations |
|
Right after soft freeze |
Feature completion |
|
Through soft freeze |
Testing |
|
All through the freeze |
Hard Freeze |
|
4 weeks before release |
Machine Testing |
|
All through the freeze |
RM Testing |
|
All through the freeze |
News/Contrib |
|
Just before release |
Regenerate |
|
Just before release |
Final translations |
|
Just before release |
Tag |
|
At release |
Branch |
|
At release |
Upload release |
|
At release |
Move the ChangeLog |
|
Post release |
6. Release Steps
6.1. Development [REQUIRED] (6 months before release)
Active development is carried out on master.
Create wiki page for the coming branch from ReleaseXYTemplate template, and link it here at the top of the page. [REQUIRED]
6.2. Soft Freeze [REQUIRED] (6 weeks before release)
A general development freeze should be declared some time before release.
During this period before the release, the release manager may ask committers to limit commits to master. Changes to avoid include:
- Anything requiring ports architecture maintainers to update their ports (the period should allow them to catch up with any updates left from the previous development).
- Anything changing the public ABI and so requiring check-abi updates on each architecture, or adding libm tests that will require ulps updates on each architecture (again, the period allows for architecture maintainers to update these files and get them ready for the release).
- Anything that subjectively seems too risky.
The initial period, also called "Soft Freeze", is additionally intended for the completion and inclusion of feature sets that are already well-progressed, under review and near completion.
6.3. Update libc.pot for the Translations project, string freeze [REQUIRED] (Right after soft freeze)
Some time before the release, regenerate libc.pot. See Regeneration for details.
If there are any new messages or changes to messages since the last libc.pot submitted to the Translation Project, generate a snapshot tarball. Submit it to the Translation Project so translations can be updated before the release.
The step by step process is like this:
- Regenerate libc.pot, review the changes and check it in.
Generate tarballs using make dist.
With the help of a project steward upload snapshot to alpha.gnu.org using gnupload e.g. ./gnupload --to alpha.gnu.org:glibc glibc-2.26.9000-1108-gee61d02850.tar.bz2 (Careful that absolute path to tarball is also appended on the remote host). Do not upload to ftp.gnu.org, only official releases should be uploaded there.
Email coordinator@translationproject.org with the URL of the snapshot tarballs, for example:
From: You To: coordinator@translationproject.org Subject: libc-2.36.9000.pot Translation Project, The GNU C Library is about to release version 2.37. * Complete snapshot of 2.37 release containing `po/libc.pot': https://alpha.gnu.org/gnu/glibc/glibc-2.36.9000-????-????????.tar.bz2 Cheers, You.
This also means that we're now technically in string freeze (the addition or modification of translateable strings is prohibited).
(How do we handle it if the patchsets added during soft freeze include string changes? Send another version to translators late in the process?)
6.4. Incorporate translations [REQUIRED] (All through the freeze)
Monitor the libc-alpha mailing list for notifications of new translations being available. The subject is of the form "New $LANG PO file for 'libc'". The maintainer can then incorporate the translation by running the following command in the build directory:
make -r PARALLELMFLAGS="" -C <source directory>/po objdir=`pwd` update-translations
This should download all of the latest translations, merge them in and trim untranslated strings, giving a minimal change against master. Finally, send a message to the list indicating which language translations have been merged.
6.5. Hard Freeze (4 weeks before release)
Bug fixes only.
6.6. Testing / Machine testing [REQUIRED] (All through the freeze)
Architecture maintainers should update ABI baselines; see Regeneration. [REQUIRED]
All architecture maintainers should update the ulps baselines for libm tests as needed; see Regeneration. [RECOMMENDED]
Starting with the hard freeze, architecture maintainers should test glibc for their architectures using the testsuite to make sure it is working well (the release manager should ask them to do so). [REQUIRED]
Test suite results should be collected on the release wiki page, accompanied by the following information:
==== machinename ==== Build system: * Compiler: gcc -v * Binutils: as -v * Kernel: uname -a * Tester: Your Name * Branch master at COMMIT HASH * possibly notes on config options or *FLAGS
6.7. RM Testing [RECOMMENDED] (All through the freeze)
In an attempt to increase the quality of a release we run the following additional testsuites at this time:
GnuLib Testsuite [RECOMMENDED] - the results can be documented at the end of the release page
Linux Testsuite Project (LTP) [OPTIONAL]
6.8. News [RECOMMENDED] (Just before release)
Shortly before the release, look for any significant user-visible changes not mentioned in the NEWS file and add them to that file.
6.9. Insert list of fixed bugs in NEWS [REQUIRED]
On bugzilla, go through the list of bugs that mention the upcoming release as target milestone but are not marked as fixed. If they are fixed, mark them as such (so they are picked up by the script below).
There should be a placeholder at the bottom of the NEWS file section for the new release:
The following bugs are resolved with this release: [The release manager will add the list generated by scripts/list-fixed-bugs.py just before the release.]
Replace that last paragraph by the (UTF-8) output of scripts/list-fixed-bugs.py (with version number as argument, e.g. scripts/list-fixed-bugs.py 2.123) and commit the result.
6.10. Insert list of fixed security advisories in NEWS [REQUIRED]
There should be a placeholder at the bottom of the NEWS file section for the new release:
The following CVEs were fixed in this release, details of which can be found in the advisories directory of the release tarball: [The release manager will add the list generated by scripts/process-advisories.sh just before the release.]
Replace that last paragraph by the (UTF-8) output of scripts/process-advisories.sh news and commit the result.
6.11. Update manual/contrib.texi [RECOMMENDED]
Shortly before the release, check that the contributors for this releases are given credit in manual/contrib.texi.
6.12. Update manual/install.texi [RECOMMENDED]
Shortly before the release, test building with the most recent GCC release and update the statement in manual/install.texi about the most recent GCC release with which building glibc was tested. Similarly for binutils and texinfo. Regenerate the INSTALL file.
6.13. Regenerate [REQUIRED]
After testing and shortly before the release (perhaps a week before) regenerate all files that need regeneration. See Regeneration.
Please note that make dist-prepare is not sufficient for this use case since it should regenerate files even if the timestamps are up to date.
6.14. Final Translations [REQUIRED] (Just before release)
Update translations one last time before tagging a release:
make -r PARALLELMFLAGS="" -C <source directory>/po objdir=`pwd` update-translations
6.15. Prepare announcement [REQUIRED] (At release)
Prepare the announcement text locally. Recommended contents is as follows:
FROM: Release Manager <you@exmaple.com> SUBJECT: The GNU C Library version X.Y is now available The GNU C Library ================= The GNU C Library version X.Y is now available. The GNU C Library is used as *the* C library in the GNU system and in GNU/Linux systems, as well as many other systems that use Linux as the kernel. The GNU C Library is primarily designed to be a portable and high performance C library. It follows all relevant standards including ISO C11 and POSIX.1-2017. It is also internationalized and has one of the most complete internationalization interfaces known. The GNU C Library webpage is at http://www.gnu.org/software/libc/ Packages for the X.Y release may be downloaded from: http://ftpmirror.gnu.org/libc/ http://ftp.gnu.org/gnu/libc/ The mirror list is at http://www.gnu.org/order/ftp.html Distributions are encouraged to track the release/* branches corresponding to the releases they are using. The release branches will be updated with conservative bug fixes and new features while retaining backwards compatibility. NEWS for version X.Y ==================== <Cut and paste from NEWS file> Release Notes ============= https://sourceware.org/glibc/wiki/Release/X.Y Contributors ============ This release was made possible by the contributions of many people. The maintainers are grateful to everyone who has contributed changes or bug reports. These include: <git shortlog --summary -w72 glibc-(Previous X.Y tag).. | sed -e 's,^.*\t,,g'> We would like to call out the following and thank them for their tireless patch review: <git log glibc-(Previous X.Y tag e.g. 2.36).9000..HEAD | grep -e 'Reviewed-by:\|Reviewed-By:' | sed -e 's,^.*: ,,g' -e 's, <.*$,,g' | sort -u>
See also general GNU instructions on announcing releases.
6.16. First Tag [REQUIRED] (At release)
The release is tagged:
Update RELEASE to "stable" and VERSION to "X.Y" e.g. "2.28" in version.h.
Update __GLIBC_MINOR__ in include/features.h.
Push the commit (which includes the version.h, include/features.h). This is required so the ChangeLog includes this change.
Use the gnulib vcs-to-changelog utility to generate and commit a ChangeLog file since the last release, as a new file ChangeLog.old/ChangeLog.N (where N is one more than the highest numbered ChangeLog file in that directory):
${gnulib_dir}/build-aux/vcs-to-changelog.py -q scripts/vcstocl_quirks.py glibc-2.<rev-1> HEAD > ChangeLog.old/ChangeLog.N
Push the ChangeLog update as a distinct commit, e.g., "Create ChangeLog.old/ChangeLog.N."
Create a signed tag glibc-X.Y and push it to the public glibc repository
Create the tag using git tag -s; verify it's signed by the PGP key you want to sign it with.
- The tag comment shall contain the full announcement text you just prepared.
Push the tag git push origin glibc-X.Y to the remote server for everyone to reference.
Send an email to libc-alpha@sourceware.org with a developer announcement about the tag.
6.17. Branch [REQUIRED] (At release)
Branch the release from master:
Create a release/X.Y/ branch from master on glibc using the tag made in the previous step:
git branch release/X.Y/master glibc-X.Y git push ssh://username@sourceware.org/git/glibc.git release/X.Y/master
6.18. Prepare master for new development [REQUIRED] (At release)
Development starts for the next major release:
On the master branch, update RELEASE to "development" and VERSION e.g. "2.28.9000" in version.h
Create a section for the next release in the NEWS file:
Version 2.NN Major new features: [Add new features here] Deprecated and removed features, and other changes affecting compatibility: [Add deprecations, removals and changes affecting compatibility here] Changes to build and runtime requirements: [Add changes to build and runtime requirements here] Security related changes: The following CVEs were fixed in this release, details of which can be found in the advisories directory of the release tarball: [The release manager will add the list generated by scripts/process-advisories.sh just before the release.] The following bugs were resolved with this release: [The release manager will add the list generated by scripts/list-fixed-bugs.py just before the release.]
6.19. Prepare release branch [REQUIRED] (At release)
- In the release branch, remove the advisories directory and instead add a text file ADVISORIES
For the GNU C Library Security Advisories, see the git master branch: https://sourceware.org/git/?p=glibc.git;a=tree;f=advisories;hb=HEAD
Ask the Bugzilla Admin Team to update the sourceware bugzilla to add a new version and milestone to track the NEXT release e.g. M.N. Versions and milestones must be added when development starts for a release, not after branching (for example, create those for 2.29 at the time 2.28 branches), but if the newly branched version does not already have them, then they should be created at that time. This is important since it allows downstream users and distributions to discover and file bugs for the in-development version of glibc and get them fixed before GA.
6.20. Second Tag [REQUIRED] (At release)
A second tag is required for the first commit on the master branch after the release (the one that changes version.h back to "development").
The tag name is the version of the release with .9000 appended to it (the same pseudo-version which is in VERSION in version.h) e.g. glibc-2.28.9000 for the 2.29 development cycle.
Create the tag using git tag -s or git tag -a.
The tag comment should be like this (after the glibc 2.28 release):
Open master branch for glibc 2.29 development
Push the tag git push origin glibc-X.Y.9000 to the remote server for everyone to reference.
- The tag comment should refer to the *next* release, and the version in the tag itself is chosen in such a way that it sorts between the current release and the next.
6.21. Make tarballs and upload release [REQUIRED] (At release)
The release manager creates tarballs and sends announcements.
Important: Reset your git repo to exactly the tagged release state!
git checkout glibc-x.xx
- Create a tarball of the tagged release.
Use make dist in a build tree - it will generate couple of ../glibc*tar* files.
- Verify the tarballs are sensible, try to build the glibc from the tarball (e.g. using it as source for your distribution package).
configure --prefix=/usr
make
make check
make install DESTDIR=<PATH>
make localedata/install-locales DESTDIR=<PATH>
make localedata/install-locale-files DESTDIR=<PATH>
- With the help of a project steward sign + upload your tarballs to ftp.gnu.org - see below for a gnupload invocation that can make your life easier.
You may use gnupload to easily sign and upload your tarballs:
gnupload --to ftp.gnu.org:glibc \ glibc-2.11.1.tar.gz glibc-2.11.1.tar.bz2 glibc-2.11.1.tar.xz
If you don't have PGP key on gnu.org then you may ask CarlosODonell (Project Stewared), or SiddheshPoyarekar (Previous Release Manager) for assistance with the uploads.
Ask the Bugzilla Admin Team to update the sourceware bugzilla to add a new keyword to track this release e.g. glibc_M.N.
- Check for the tarballs to appear on the download site.
6.22. Announce release [REQUIRED] (At release)
See also general GNU instructions on announcing releases.
Send a mail with your announcement to libc-alpha@sourceware.org, libc-announce@sourceware.org, and info-gnu@gnu.org.
Ask the Web Admin Team to update the glibc homepage at gnu.org with a NEWS item that links to the release announcement (libc.html, sources.html, and started.html). Also have them build and upload the the manual for the release.
Update the release page e.g. https://sourceware.org/glibc/wiki/Release/2.28, with status.
Update HomePage and Glibc Timeline.
Also announce the release in the news feed of the Savannah site for aggregation at planet.gnu.org. This involves logging into Savannah, clicking My Groups, then GNU C Library, and then News and Submit. Then get one of the project stewards to accept the submission (same process but click Manage instead of Submit and the steward reviews the text and clicks Submit
- Announce it on Mastodon with #glibc and @gnutools.
Announce it on LinkedIn and LinkedIn glibc developers group. Post only a single line comment about the release and include a link to the libc-alpha annoucement (avoids moderation delays for posting a large post). If your post doesn't show up then get a project steward to approve the post since it's probably stuck in moderation.
6.23. Set up NEWS file in release branch for backports [REQUIRED] (After release)
On the just created release branch, start a section for bug fixes backported from master:
Version 2.NN.1 The following bugs are resolved with this release:
The branch is effectively a rolling release. If a release manager wanted to cut the .1 release they would do so using the information collected under the 2.NN.1 section. Traditionally we don't cut another release and the branch is used as the rolling release e.g. ABI stable, bug fixes, performance improvements. Please note that git describe still calls the branch 2.NN rather than 2.NN.1 since no .1 release has been made.
6.24. Party [RECOMMENDED] (After release)