Skip to content

cling: fix regression from Nixpkgs upgrading to GCC 15#525392

Closed
thomasjm wants to merge 1 commit into
NixOS:masterfrom
codedownio:fix-cling-gcc-15
Closed

cling: fix regression from Nixpkgs upgrading to GCC 15#525392
thomasjm wants to merge 1 commit into
NixOS:masterfrom
codedownio:fix-cling-gcc-15

Conversation

@thomasjm

Copy link
Copy Markdown
Contributor

Nixpkgs master bumped the default GCC to 15.x. Cling's embedded clang 18 crashes when parsing GCC 15's C++ headers, which use attributes like __externally_visible__ that clang 18 doesn't recognize. Pinning to GCC 14 (the default on release-25.11) fixes the incompatibility.

Things done

@thomasjm thomasjm requested a review from emilazy May 28, 2026 23:42
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels May 28, 2026
@symphorien

Copy link
Copy Markdown
Member

is it a runtime failure that you are fixing? cling builds fine currently on hydra

@thomasjm

thomasjm commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Never mind, I think it's moot after #536845. Thanks!

@thomasjm thomasjm closed this Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants