discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking -back on freebsd 13


From: Frederik Seiffert
Subject: Re: Linking -back on freebsd 13
Date: Wed, 17 Mar 2021 22:59:02 +0100

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 <graham@iamleeg.com>:

Hi all,

FreeBSD 13 (I’m on RC1, which is what we’re currently using over at 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

[Prev in Thread] Current Thread [Next in Thread]