nixpkgs/pkgs/stdenv
Sergei Trofimovich c2e14a73e6 xgcc: avoid libc.so mix between gcc and binutils-ld linker plugin
Without the change when I attempt to built `nixpkgs` with weekly
`gcc-13` (it pulls in `flex` as a build input`) I am getting build
failure related to glibc mix caused by glibc loading:

    ...-binutils-patchelfed-ld-2.40/bin/ld: ...-xgcc-13.0.0/libexec/gcc/x86_64-unknown-linux-gnu/13.0.1/liblto_plugin.so:
    error loading plugin: ...-bootstrap-tools/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE

The change disables LTO plugin entirely to avoid loading of `glibc` mix.
2023-04-05 07:43:22 +01:00
..
cross stdenv/cross: remove now-redundant file nativeBuildInput on mingw 2022-06-06 11:26:46 -07:00
custom
cygwin
darwin stdenvBootstrapTools: native aarch64-darwin build 2023-02-11 20:11:55 +01:00
freebsd
generic Merge branch 'master' into staging-next 2023-03-24 09:07:41 +01:00
linux xgcc: avoid libc.so mix between gcc and binutils-ld linker plugin 2023-04-05 07:43:22 +01:00
native treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix Merge staging-next into staging 2023-02-23 18:01:49 +00:00
booter.nix
default.nix stdenv: Simplify dispatch 2022-07-29 18:34:02 -04:00