bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-18 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin skribis: > >> l...@gnu.org (Ludovic Courtès) writes: >> >>> How come this ‘gconv-modules’ file doesn’t exist? I have it here. >>> I have: >>> >>> $ guix hash -r /gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25 >>> 03la0p9pigf6r33px5nc

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-18 Thread Ludovic Courtès
Mathieu Lirzin skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Mathieu Lirzin skribis: >> >>> 13061 >>> open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/share/locale/locale.alias", >>> O_RDONLY|O_CLOEXEC) = 3 >>> 13061 fstat(3, {st_mode=S_IFREG|0444, st_size=2997, ...}) = 0

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-17 Thread Mathieu Lirzin
l...@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin skribis: > >> 13061 >> open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/share/locale/locale.alias", >> O_RDONLY|O_CLOEXEC) = 3 >> 13061 fstat(3, {st_mode=S_IFREG|0444, st_size=2997, ...}) = 0 >> 13061 read(3, "# Locale name ali

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-17 Thread Ludovic Courtès
Hi, This is getting interesting. :-) Mathieu Lirzin skribis: > l...@gnu.org (Ludovic Courtès) writes: [...] >> I don’t get it yet. The log shows this: >> >> 9543 >> execve("/gnu/store/x7i79rihhdjkps5fx0f9p2q0svh5a88n-guile-2.2.2/bin/guile", >> ["/gnu/store/x7i79rihhdjkps5fx0f9p"..., "-c"

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-16 Thread Ludovic Courtès
Mathieu Lirzin skribis: > After looking at the attached ‘strace’ log, as you initially guessed > this issue is that multiple GCC are loaded. My ‘gcc-toolchain’ is using > GCC 7.3 and ‘glibc’ is referring to GCC 5.4. Normally ‘glibc’ does not contain references to ‘gcc’: --8<---cut

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-16 Thread Ludovic Courtès
Mathieu Lirzin skribis: > GCC is waiting on ‘collect2’ to finish and ‘collect2’ according to [1] > tries to find ‘ld’. When ‘ld’ is provided by Binutils the program > completes but not with ‘ld-wrapper’ on my machine, so I suspect this is > related to ‘ld-wrapper’, but maybe this is just a sympt

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-16 Thread Mathieu Lirzin
Hi Ludo, l...@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin skribis: > >> 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 repr

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-16 Thread Ludovic Courtès
Hi Mathieu, Mathieu Lirzin skribis: > 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 --p

bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"

2018-02-08 Thread Mathieu Lirzin
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 ma