|
From: | Mathieu Lirzin |
Subject: | bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib" |
Date: | Thu, 08 Feb 2018 18:20:59 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello, I have been facing a weird issue where some shitty build tool I was using has tried to run ‘cmake’ after setting LD_LIBRARY_PATH. The result was a non terminating call to ‘collect2’. Here is a way to reproduce the issue: $ guix environment --pure --ad-hoc gcc-toolchain $ echo "int main() { return 0; }" > foo.c $ LD_LIBRARY_PATH="$HOME/.guix-profile/lib" gcc foo.c When adding ‘binutils’ to the environment, the problem dissapears since ‘ld-wrapper’ is not used anymore. Thanks. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
[Prev in Thread] | Current Thread | [Next in Thread] |