Thanks Frederik, you’re right, that works! I had installed latest -make from 
source using the same options as the port, but hadn’t appreciated that the port 
relocates it to /usr/local/GNUstep even though —with-layout=gnustep implies 
/usr/GNUstep, so my “new” make was going to the wrong place. I’ve sorted that 
out and it’s working fine!

Cheers,
Graham.

> On 17 Mar 2021, at 21:59, Frederik Seiffert <[email protected]> wrote:
> 
> Hi Graham,
> 
> Can you try with the latest tools-make master from GitHub? That contains a 
> change removing -r for subprojects and should fix your issue I think. 
> 
> Frederik
> 
> 
>> Am 17.03.2021 um 22:52 schrieb Graham Lee <[email protected]>:
>> 
>> Hi all,
>> 
>> FreeBSD 13 (I’m on RC1, which is what we’re currently using over at 
>> twitch.tv/objcretain <http://twitch.tv/objcretain>, though will probably 
>> upgrade to RC2 soon) has switched to LLD 11.0.1, and I can’t build 
>> gnustep-back on this platform. I get this linker error at gsc:
>> 
>> “/usr/bin/ld” --eh-frame-hdr -export-dynamic -dynamic-linker 
>> /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o 
>> ./obj/subproject.o -L/usr/local/lib -L/usr/lib -r obj/gsc.obj/gscolors.c.o 
>> obj/gsc.obj/GSContext.m.o obj/gsc/obj/GSGState.m.o 
>> obj/gsc.obj/GSStreamContext.m.o obj/gsc.obj/GSStreamGState.m.o 
>> obj/gsc.obj/GSFunction.m.o obj/gsc.obj/externs.m.o
>> 
>> ld: error: -r and --export-dynamic may not be used together
>> 
>> I don’t know enough about LLD or about tools-make to be able to fix this, I 
>> suspect the value of BUNDLE_LDFLAGS may need to be different on FreeBSD 12- 
>> and 13+ but I don’t know how to effect that change. Is anyone able to help, 
>> please?
>> 
>> Cheers,
>> Graham.

Reply via email to