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