Hi David,
On 6/1/20 12:31 PM, Riccardo Mottola wrote:
I reconfigured base with:
./configure LD=/usr/pkg/gnu/bin/ld.gold
Is that enough?
./configure CFLAGS=-fuse-ld=gold
does not work with clang.
I found the final solution.
I configured make with:
$ ./configure --with-library-combo=ng-gnu-gnu --prefix=/
--with-layout=gnustep LDFLAGS=-fuse-ld=/usr/pkg/gnu/bin/ld.gold
note the absolute path given to -fuse-ld
That way, it works and most GNUstep programs do run. Some have issues, I
will report them specifically. I will also test then on FreeBSD for
comparison.
As written, by disabling memory checks with "paxctl +m" on the test
binaries, the whole test suites passes too.
So we are 99% on track with libobjc2/clang9 on NetBSD/amd64 (btw, as
curiosity "genuine" amd64 not i386-64).
Riccardo