nixpkgs/pkgs/development
Adam Joseph aafab3b5b6 gcc: for cross compilers, don't build libgcc twice
Cross-compiled binaries currently end up with two different libgcc
outpaths in their closure.  This is harmless, but confusing.

The two libgccs are:

- One of them is the "first" targetPlatform libgcc, which is built
  by the "first" cross-compiler.  This "first libgcc" and "first
  compiler" are used to build the targetPlatform glibc.

- Once glibc is built, we *rebuild* the cross-compiler, since gcc
  can't enable most of its features unless you give it an
  already-compiled targetPlatform glibc.  When this "second"
  compiler is built, it also builds an extra copy of libgcc.

This commit discards the second, extra libgcc, and instead puts a
reference to the first (correct) libgcc into the "second compiler"
`.passthru.libgcc`, so that anybody expecting `stdenv.cc.cc.libgcc`
to exist will still find it there.

Closes #249680
2023-09-08 16:07:50 +03:00
..
androidndk-pkgs
beam-modules beam/buildMix: add appConfigPath arg 2023-09-07 08:59:40 +00:00
bower-modules/generic
chez-modules
compilers gcc: for cross compilers, don't build libgcc twice 2023-09-08 16:07:50 +03:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
embedded
gnuradio-modules
guile-modules
haskell-modules
idris-modules
interpreters cyber: unstable-2023-09-01 -> unstable-2023-09-07 2023-09-07 14:34:37 -04:00
java-modules
libraries Merge pull request #245300 from amjoseph-nixpkgs/pr/boost/move-mipsN32-to-badPlatforms 2023-09-08 01:32:00 +03:00
lisp-modules
lisp-modules-new-obsolete
lisp-modules-obsolete
lua-modules
misc
mobile maestro: 1.31.0 -> 1.32.0 2023-09-07 00:35:25 +05:30
nim-packages
node-packages Merge pull request #249148 from aqrln/prisma-5-1-1 2023-09-07 22:24:20 +02:00
ocaml-modules
octave-modules
perl-modules
pharo
php-packages phpExtensions.opentelemetry: 1.0.0beta6 -> 1.0.0beta7 2023-09-05 11:21:48 +02:00
python2-modules
python-modules Merge pull request #253908 from r-ryantm/auto-update/python310Packages.idasen 2023-09-07 18:30:54 -04:00
quickemu
r-modules
rocm-modules/update-script
ruby-modules
scheme-modules/scheme-bytestructures
skaware-packages
tools Merge pull request #253901 from figsoda/biome 2023-09-07 18:31:24 -04:00
web nodejs_20: 20.5.1 -> 20.6.0 2023-09-07 04:20:00 +00:00