nixpkgs-suyu/pkgs/stdenv
Sergei Trofimovich b470a6b212 linux/bootstrap-tools: move libstdc++ out of default library search path
This change allows building new gcc during bootstrap without fear of
pulling in outdated libstdc++.so after g++ switched from bootstrapTools
to freshly built g++.

Noticed when tried to add early bootstrap stage to rebuild `gcc` before
`glibc` is fully untangled from `bootstrapTools` as a failure to built
`binutils`:

    ld: dwp.o: in function `__gnu_cxx::new_allocator<gold::Dwp_output_file::Contribution>::allocate(unsigned long, void const*)':
    /nix/store/...-gcc-11.3.0/include/c++/11.3.0/ext/new_allocator.h:116: undefined reference to `std::__throw_bad_array_new_length()'

The change survives existing bootstrap and unblockes early `gcc` bootstrap.
2023-01-04 16:02:22 +00:00
..
cross
custom
cygwin
darwin darwin: use // for binutils-unwrapped and cctools to preserve the other 2022-12-08 21:09:02 +02:00
freebsd
generic Merge branch 'staging-next' into staging 2023-01-02 03:04:32 +01:00
linux linux/bootstrap-tools: move libstdc++ out of default library search path 2023-01-04 16:02:22 +00:00
native
nix
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix stdenv: remove deprecated adapters 2022-08-26 16:25:44 +02:00
booter.nix
default.nix