Sorry for late response, it's been very rush month. At Wed, 07 Jan 2015 21:14:46 +0100, Ludovic Courtès wrote: > > Tomas Cech <sleep_wal...@suse.cz> skribis: > > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: > > > > /gnu/store/ij22m0lalbagkm4fflnxc9691ax4bpvk-luajit-2.0.3/lib/libluajit-5.1.a(lj_err.o): > > relocation R_X86_64_32S against `.rodata' can not be used when making a > > shared object; recompile with -fPIC > > /gnu/store/ij22m0lalbagkm4fflnxc9691ax4bpvk-luajit-2.0.3/lib/libluajit-5.1.a: > > error adding symbols: Bad value > > collect2: error: ld returned 1 exit status > > It took me a while to notice it, but it seems you’re using the linker of > your host distro here and not that of Guix.
Good catch - my linker indeed. But it is because I manually retried `make V=1' when it failed to obtain the full command causing the error message. > This problem cannot occur in builds run by the guix-daemon because it > sets up a chroot. So I’m guessing this is in your own environment, > right? The problem occurs when run by guix, not by me manually. > In that case, please make sure to run: > > guix package -i gcc-toolchain > > to get the “right” compiler, linker, etc. I'm afraid that I got the same error even with this package installed. See you on FOSDEM. S_W