Skip to content

gccNGPackages_15.gcc: drop unused libelf dependency#425849

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
trofi:gccNGPackages_15.gcc-drop-libelf
Jul 16, 2025
Merged

gccNGPackages_15.gcc: drop unused libelf dependency#425849
Ericson2314 merged 1 commit intoNixOS:masterfrom
trofi:gccNGPackages_15.gcc-drop-libelf

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Jul 16, 2025

This mirrors the #187234 change where libelf was removed from gcc packages. libelf is not used by gcc since 4.6.0 version.

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/)
  • Nixpkgs 25.11 Release Notes (or backporting 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 25.05 NixOS Release notes)
    • (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, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

This mirrors the NixOS#187234 change
where `libelf` was removed from `gcc` packages. `libelf` is not used
by `gcc` since `4.6.0` version.
@trofi trofi mentioned this pull request Jul 16, 2025
13 tasks
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

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

Thank you!

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jul 16, 2025
@nix-owners nix-owners bot requested review from Synthetica9 and vcunat July 16, 2025 17:33
@Ericson2314 Ericson2314 merged commit 6e98748 into NixOS:master Jul 16, 2025
29 of 33 checks passed
@trofi
Copy link
Contributor Author

trofi commented Jul 16, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 425849
Commit: 6a74f3839d0d4a5440822af3b9d9348a00a2070f


x86_64-linux

✅ 37 packages built:
  • gccNGPackages_15.gcc
  • gccNGPackages_15.gcc-unwrapped
  • gccNGPackages_15.gcc-unwrapped.info
  • gccNGPackages_15.gcc-unwrapped.man
  • gccNGPackages_15.gcc.info
  • gccNGPackages_15.gcc.man
  • gccNGPackages_15.gccNoLibgcc
  • gccNGPackages_15.gccNoLibgcc.info
  • gccNGPackages_15.gccNoLibgcc.man
  • gccNGPackages_15.gccWithLibatomic
  • gccNGPackages_15.gccWithLibatomic.info
  • gccNGPackages_15.gccWithLibatomic.man
  • gccNGPackages_15.gccWithLibc
  • gccNGPackages_15.gccWithLibc.info
  • gccNGPackages_15.gccWithLibc.man
  • gccNGPackages_15.gccWithLibssp
  • gccNGPackages_15.gccWithLibssp.info
  • gccNGPackages_15.gccWithLibssp.man
  • gccNGPackages_15.gfortran
  • gccNGPackages_15.gfortran-unwrapped
  • gccNGPackages_15.gfortran-unwrapped.info
  • gccNGPackages_15.gfortran-unwrapped.man
  • gccNGPackages_15.gfortran.info
  • gccNGPackages_15.gfortran.man
  • gccNGPackages_15.gfortranNoLibgfortran
  • gccNGPackages_15.gfortranNoLibgfortran.info
  • gccNGPackages_15.gfortranNoLibgfortran.man
  • gccNGPackages_15.libatomic
  • gccNGPackages_15.libgcc
  • gccNGPackages_15.libgcc.dev
  • gccNGPackages_15.libgfortran
  • gccNGPackages_15.libgfortran.dev
  • gccNGPackages_15.libsanitizer
  • gccNGPackages_15.libssp
  • gccNGPackages_15.libstdcxx
  • gccNGPackages_15.libstdcxx.dev
  • gccNGPackages_15.stdenv

@trofi trofi deleted the gccNGPackages_15.gcc-drop-libelf branch July 16, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants