MONDAY, JULY 6, 2026
gcc/contrib
Update download_prerequisites to use gettext-1.0.tar.gz
GCC's download script now uses gettext-1.0.tar.gz to avoid build issues.
The script contrib/download_prerequisites has been updated to use a newer version of gettext, specifically gettext-1.0.tar.gz. This change resolves build issues caused by core dumps from gettext-0.22 during GCC’s in-tree gettext builds, which polluted systemd-coredump logs. The update to gettext-1.0 is expected to eliminate these problems.
In Details
Updates contrib/download_prerequisites to fetch gettext-1.0.tar.gz. The motivation is to bypass issues with gettext-0.22's configure tests that trigger core dumps, leading to pollution of systemd-coredump mechanisms. This change ensures a cleaner build environment when including gettext as a prerequisite.
For Context
- contrib/download_prerequisites
- A script within the GCC source tree used to download and set up external dependencies required for building GCC, such as GMP, MPFR, and MPC.
- gettext
- A GNU package that provides internationalization and localization functions for software. GCC can optionally build with an in-tree version of gettext.
- core dump
- A file containing the memory image of a process that has terminated abnormally (crashed). It's used for debugging.
- systemd-coredump
- A systemd service that automatically collects and stores core dumps when processes crash on a Linux system.