Skip to content

gcc15, gccgo15, gfortran15, gnat15: init at 15.1.0#401948

Merged
vcunat merged 1 commit intoNixOS:masterfrom
trofi:gcc-15-update
May 25, 2025
Merged

gcc15, gccgo15, gfortran15, gnat15: init at 15.1.0#401948
vcunat merged 1 commit intoNixOS:masterfrom
trofi:gcc-15-update

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Apr 26, 2025

Changes: https://gcc.gnu.org/gcc-15/changes.html
Porting guide: https://gcc.gnu.org/gcc-15/porting_to.html

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Apr 26, 2025
@trofi
Copy link
Contributor Author

trofi commented Apr 26, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 401948


x86_64-linux

✅ 34 packages built:
  • fastStdenv
  • gcc15
  • gcc15.info
  • gcc15.man
  • gcc15Stdenv
  • gccgo15
  • gccgo15.info
  • gccgo15.man
  • gfortran15
  • gfortran15.info
  • gfortran15.man
  • gnat15
  • gnat15.info
  • gnat15.man
  • gnat15Packages.gnatcoll-core
  • gnat15Packages.gnatcoll-cpp
  • gnat15Packages.gnatcoll-db2ada
  • gnat15Packages.gnatcoll-gmp
  • gnat15Packages.gnatcoll-iconv
  • gnat15Packages.gnatcoll-lzma
  • gnat15Packages.gnatcoll-omp
  • gnat15Packages.gnatcoll-postgres
  • gnat15Packages.gnatcoll-python3
  • gnat15Packages.gnatcoll-readline
  • gnat15Packages.gnatcoll-sql
  • gnat15Packages.gnatcoll-sqlite
  • gnat15Packages.gnatcoll-syslog
  • gnat15Packages.gnatcoll-xref
  • gnat15Packages.gnatcoll-zlib
  • gnat15Packages.gnatinspect
  • gnat15Packages.gpr2
  • gnat15Packages.gprbuild
  • gnat15Packages.gprbuild-boot
  • gnat15Packages.xmlada

Copy link
Contributor

@axelf4 axelf4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Tested gcc15 on x86_64-linux.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Apr 26, 2025
@RossComputerGuy
Copy link
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 401948 --package gfortran15 --package gccgo15 --package gcc15 --package gnat15


aarch64-linux

✅ 12 packages built:
  • gcc15
  • gcc15.info (gcc15.info.info, gcc15.info.man)
  • gcc15.man (gcc15.man.info, gcc15.man.man)
  • gccgo15
  • gccgo15.info (gccgo15.info.info, gccgo15.info.man)
  • gccgo15.man (gccgo15.man.info, gccgo15.man.man)
  • gfortran15
  • gfortran15.info (gfortran15.info.info, gfortran15.info.man)
  • gfortran15.man (gfortran15.man.info, gfortran15.man.man)
  • gnat15
  • gnat15.info (gnat15.info.info, gnat15.info.man)
  • gnat15.man (gnat15.man.info, gnat15.man.man)

Copy link
Member

@RossComputerGuy RossComputerGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Built in 28 minutes and 50 seconds with 128 ARMv8.2 cores 🎉

@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Apr 27, 2025
@DavidTruby
Copy link

Is there anything blocking this that I can help with? I'm happy to run tests on Linux (either x86 or aarch64)

@vcunat vcunat merged commit de19a68 into NixOS:master May 25, 2025
45 checks passed
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented May 25, 2025

Successfully created backport PR for release-25.05:

@github-actions github-actions bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 25, 2025
@trofi trofi deleted the gcc-15-update branch May 25, 2025 08:15
@vcunat
Copy link
Member

vcunat commented May 25, 2025

For reference, all *-darwin builds fail, each differently:

Configuration aarch64-apple-darwin not supported
applying patch /nix/store/q4jsgzk16kz67lll5mw0d2p7p6ggap8s-libgcc-darwin-detection.patch
patching file libgcc/config.host
Hunk #1 FAILED at 236.

All builds on Hydra: https://hydra.nixos.org/eval/1815571?filter=15#tabs-new

@trofi
Copy link
Contributor Author

trofi commented May 26, 2025

Looking. At least libgcc-darwin-detection.patch does not look too hard to amend.

@trofi
Copy link
Contributor Author

trofi commented May 26, 2025

Trying to fix darwin as:

While at it added back missing patches that applied to "14" exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants