new(gnu.org/gcc/v8): GCC 8 for legacy C++ projects#13070
Open
tannevaled wants to merge 3 commits into
Open
Conversation
Many projects vendoring older C++ libraries (RocksDB 6.3.x in cubefs, InnoDB in MySQL 5.7, pre-C++17 codebases) hit gcc 12+'s stricter copy-ctor / atomic / std::pair-construction rules. They compile cleanly with gcc 8 (last default-C++14 major) but couldn't build in pantry without a 8.x bottle — pkgx CLI returns "ResolveError" on `gnu.org/gcc^8`. This recipe is a thin pin to the 8.x line, parallel to the main gnu.org/gcc recipe. Linux only — darwin's old-SDK situation makes gcc 8 hard to bring up there, and llvm.org clang covers legacy on darwin anyway. Enables follow-up: cubefs.io (pkgxdev#13050) and mysql.com/v5_7 (pkgxdev#13062) can pin `gnu.org/gcc/v8: '*'` to compile their vendored old C++.
This was referenced May 29, 2026
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.
Summary
Why
`pkgx +gnu.org/gcc^8` currently returns `ResolveError` — no 8.x bottle exists. This PR adds the recipe so pantry CI builds and bottles gcc 8 for downstream legacy recipes.
Test plan
🤖 Generated with Claude Code