Hi!

I just upgraded to freeBSD 12.2.
I did upgrade from 11.4 to 12.1 just a few days before - gnustep was crashing badly even if everything was rebuiilt and configured. But given the 12.2 release, beter to work on latest anyway.

I use clang, libobjc2 from our repository and configured gnustep make with:
$ ./configure --with-layout=gnustep --prefix=/ --with-library-combo=ng-gnu-gnu

I cannot test yet if 12.2 improves thing, because back fails to compile:


 Compiling file GSFunction.m ...
 Compiling file externs.m ...
 Linking subproject gsc ...
clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
ld: error: -r and --export-dynamic may not be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[5]: *** [/System/Library/Makefiles/Instance/subproject.make:61: obj/subproject.o] Error 1

Specifically, the command line is:
Making all for subproject gsc...
clang -nostdlib -Wl,-r -rdynamic -pthread -fexceptions -o ./obj/subproject.o 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 ; clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
ld: error: -r and --export-dynamic may not be used together


I wonder if this is a gnustep-make issue or a project issue?

Where are -r and -rdynamic coming from? I found nothing therelike in gsc's subproject itself.

Riccardo

Reply via email to