nixpkgs/pkgs/stdenv/linux
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
..
bootstrap-files Merge remote-tracking branch 'origin/master' into staging-next 2023-03-10 13:09:25 +01:00
bootstrap-tools unpack-bootstrap-tools.sh: patchelf libgcc_s.so.1 2023-04-02 13:49:53 -07:00
bootstrap-tools-musl gcc: mark hardeningUnsupportedFlags fortify3 for all but gcc 12 2023-01-24 21:52:12 +00:00
default.nix xgcc: avoid libc.so mix between gcc and binutils-ld linker plugin 2023-04-05 07:43:22 +01:00
make-bootstrap-tools-cross.nix make-bootstrap-tools-cross: enable Hydra builds of mips32el bootstrap-files 2022-06-29 14:48:13 -07:00
make-bootstrap-tools.nix make-bootstrap-tools.nix: use a patchelf built with -static-{libgcc,libstdc++} 2023-04-02 13:49:53 -07:00