On Mon, Jul 31, 2017 at 12:32:22PM +0200, Jeremie Courreges-Anglas wrote: > On Sun, Jul 30 2017, Jeremy Evans <[email protected]> wrote: > > Post clang switch, mednafen fails to link with: > > > > /usr/bin/ld: debug.o: relocation R_X86_64_32S against `a local symbol' can > > not be used when making a shared object; recompile with -fPIC > > debug.o: could not read symbols: Bad value c++: error: linker command > > failed with exit code 1 (use -v to see invocation) > > > > Despite the fact that COMPILER=gcc is already set, it still picks > > clang. > > Looks like the current way to do that is to set COMPILER = gcc-only. > > I guess there's no easy fix for clang?
No, it's more like there hasn't been a lot of incentive yet. You should look at unmangling the linker issue. gcc-only bad in that case. Since it will always go to gcc 4.9. Not a problem for gprolog, because it's i386/amd64 only
