Repository navigation
gcc 15.2.0 → 16.2.0, with gcc-runtime split out (pm#1182) - #1545
Open
bryan-minimal wants to merge 2 commits into
Open
bryan-minimal wants to merge 2 commits into
bryan-minimal wants to merge 2 commits into
Conversation
Consumers that need libgcc_s, libstdc++, libgomp, libatomic or libquadmath at run time now take a subset of gcc-runtime instead of gcc, so a box no longer pulls in the whole compiler. gcc-runtime-fortran carries libgfortran, for openblas. gcc-runtime copies the published gcc's files byte for byte (checked on both arches). For that, gcc's own build graph must not reach gcc-runtime: ncurses drops its C++ binding, binutils drops gprofng, and gmp drops C++, with gmpxx a new package for maude, libpoly and cvc5. gcc_runtime_guard.py enforces this. Also folded in, to pay for one world rebuild instead of several: - gcc's outputs follow the registry spec's example (gominimal/arch#183): 27 outputs, with no file in two of them; - breaker output globs name every file of their prebuilt objects (OQ-42); - #1499: amd64 binutils and ghc-9.6.7 move to gen-16's plain-loader objects; - #1535: arm64 gcc, and gcc-runtime's breaker with it, move to gen-17's glibc-seed object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gcc 16 builds against glibc 2.43 unpatched, so the libgomp -Wno-error=discarded-qualifiers workaround goes away. Fixes for packages that failed to build with gcc 16, all found by the world-build canary pkgs#1340: - abseil-cpp: build as C++17, so the installed ABI does not need C++20; - foundationdb: include <cstdint> in ClientWorkload.h; - cbmc: backport diffblue/cbmc#9024 for gcc 16's -Werror; - gcc-arm-none-eabi: 14.2.0 -> 16.2.0 and newlib 4.4.0 -> 4.6.0. The source is the upstream https URL (gominimal/arch#183 model §6.1). Its sha256 matches ftp.gnu.org's copy, and the sha512 matches gcc.gnu.org's sha512.sum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Warning Review limit reached
This review includes 183 billable files and costs up to $45.75. View limit details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This rebuilds the world, so it should be queued alone.
Its tree is the tree of canary #1340 at
9800cb3c, which built and checked green on both arches (16/16 checks). The only difference is the wording of one comment inpackages/gcc/build.ncl; gcc's evaluated spec is identical on both arches. So the builds should come from cache.Commits
134712d4): gcc's run-time libraries become their own package.New packages.
gcc-runtimeholds libgcc_s, libstdc++, libgomp, libatomic and amd64 libquadmath.gcc-runtime-fortranholds libgfortran.Consumers. 138+ runtime deps move from
subsetOf gcctosubsetOf gcc-runtime. Whole-gcc runtime deps become library subsets.Same bytes as gcc. gcc-runtime copies the published gcc's files byte for byte; every shared path was compared on both arches. For that, gcc's own build graph must not reach gcc-runtime, so:
--without-cxx-binding;--disable-gprofng;--disable-cxx, and the newgmpxxpackage serves maude, libpoly and cvc5;gcc_runtime_guard.pyenforces this.gcc outputs. gcc takes the registry spec's 27 outputs (gominimal/arch#183 example), with no file in two of them.
Breaker outputs (OQ-42). Each breaker's output globs now name every file of its prebuilt object, as D-24 requires. bash-bootstrap and bzip2 previously had
outputs = {}. Also covered: binutils arm64's target tools, attr'setc/xattr.conf, and glibc's bedrock sysroot and arm64usr/lib64.Folded in: binutils, ghc-9.6.7: amd64 onto gen-16's plain-loader objects (world rebuild; needs gen-16 published) #1499 (amd64 binutils and ghc-9.6.7 move to gen-16 objects) and gcc: arm64 prebuilt onto gen-17's gcc-15.2.0-glibc-seed (arm64 world rebuild) #1535 (arm64 gcc and gcc-runtime breakers move to gen-17's glibc-seed object).
gcc-arm-none-eabi drops man7, which gcc also ships.
1ab009c3):<cstdint>; cbmc backports Fix GCC 16 warning-as-error build failures diffblue/cbmc#9024; gcc-arm-none-eabi moves to 16.2.0 with newlib 4.6.0.sha512.sum.After merge: close #1340 (canary), #1499 and #1535.
🤖 Generated with Claude Code