That way it would match GNU_USER_TARGET_LINK_SPEC in i386/gnu-user.h, where -dynamic-linker appears within %{!static ... %{!shared ...}}. So, could you do: (define patched-gcc (package (inherit gcc-4.8) (sources (origin (inherit (package-source gcc-4.8)) (patches ...))))) build it, and then use it in the failed glibc build tree to rebuild ld.so? There are ways we could have worked around it, for instance by adding: (setenv "GUIX_LD_WRAPPER_DISABLE_RPATH" "yes") in the glibc recipe. But I think it’s better to understand what’s going on. Thanks, Ludo’.