Skip to content

Commit

Permalink
stdenv: use gcc9 for aarch64
Browse files Browse the repository at this point in the history
Several aarch64 builds fail with is referenced by DSO followed by
bin/ld: final link failed: bad value. This seems related to libgcc_s.so.

#108111
  • Loading branch information
FRidh committed Jan 2, 2021
1 parent e48db70 commit 22f1c74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -9180,7 +9180,8 @@ in
then ../development/compilers/gcc/6
else ../development/compilers/gcc/10);
gcc = if (with stdenv.targetPlatform; isVc4 || libc == "relibc")
then gcc6 else gcc10;
then gcc6 else
if stdenv.targetPlatform.isAarch64 then gcc9 else gcc10;
gcc-unwrapped = gcc.cc;

gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override {
Expand Down

0 comments on commit 22f1c74

Please sign in to comment.