[Nix-dev] breaking an infinite loop between gcc and glibc

Rohan Hart rohan.hart17 at gmail.com
Wed Mar 3 20:29:46 CET 2010


I've been building all of a minimal Nixos using the gold linker and
have run into an issue that has me stumped.

glibc can not currently be built with gold so I've tried to
overrideGCC to one wrapped using the original binutils, which works
for other derivations.  Unfortunately the dependency of gcc on glibc
creates an infinite loop.  To break this I'd like to use the default
gcc but replace only the binutils in use.  Not unexpectedly the
gcc-wrapper used to build glibc still wants to use gold.

??

Rohan



More information about the nix-dev mailing list