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. 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? In that case, please make sure to run: guix package -i gcc-toolchain to get the “right” compiler, linker, etc. HTH, Ludo’.