Re: Fix for clang-provoked relocation errors

2017-07-20 Thread Stuart Henderson
On 2017/07/20 20:56, Christian Weisgerber wrote: > Mark Kettenis: > > > The diff below fixes the > > > > /usr/bin/ld: /tmp/BC-10602a.o: relocation R_X86_64_PC32 against `xxx' can > > not be used when making a shared object; recompile with -fPIC > > > > errors that we see with some ports when c

Re: Fix for clang-provoked relocation errors

2017-07-20 Thread Christian Weisgerber
Mark Kettenis: > The diff below fixes the > > /usr/bin/ld: /tmp/BC-10602a.o: relocation R_X86_64_PC32 against `xxx' can not > be used when making a shared object; recompile with -fPIC > > errors that we see with some ports when compiled with clang. That's great news! > should go through a fu

Fix for clang-provoked relocation errors

2017-07-18 Thread Mark Kettenis
The diff below fixes the /usr/bin/ld: /tmp/BC-10602a.o: relocation R_X86_64_PC32 against `xxx' can not be used when making a shared object; recompile with -fPIC errors that we see with some ports when compiled with clang. It is essentially a diff that was carried for a while in upstream binuti