Skip to content

Commit

Permalink
linux.stdenv: gcc_10 → gcc_11
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhjr committed Mar 25, 2022
1 parent eff8a32 commit 52f8cf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12137,6 +12137,7 @@ with pkgs;
num =
if (with stdenv.targetPlatform; isVc4 || libc == "relibc") then 6
else if (stdenv.targetPlatform.isAarch64 && stdenv.isDarwin) then 11
else if (stdenv.targetPlatform.isx86_64 && stdenv.isLinux) then 11

This comment has been minimized.

Copy link
@drupol

drupol Apr 26, 2022

Contributor

This update broke compilation of PHP < 7.4, see: fossar/nix-phps#101 (comment)

This comment has been minimized.

Copy link
@fabianhjr

fabianhjr Apr 26, 2022

Author Member

7.3 seems to break during test phase and the buildPhase completes sucessfully.

Error seems related to linking due to collect2: ld error code.

Could be possible that something is compiled with a different/mismatch gcc version already; additionally seems like php 7.4 >= are from nixpkgs and <= 7.3 are from the overrides; not familiar with the overrides to be sure what could be the exact cause.

else if stdenv.targetPlatform.isAarch64 then 9
else 10;
numS = toString num;
Expand Down

1 comment on commit 52f8cf5

@cab404
Copy link
Member

@cab404 cab404 commented on 52f8cf5 May 28, 2022

Choose a reason for hiding this comment

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

This breaks about 150 unique packages — https://gist.github.com/cab404/96259f25450d778e744108c0ea9bfaa8 (I listed only ones still broken)

Please sign in to comment.