[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building libobjc2 fPIC issue and ccmake . effectiveness
From: |
Riccardo Mottola |
Subject: |
Re: building libobjc2 fPIC issue and ccmake . effectiveness |
Date: |
Tue, 2 Jun 2020 18:53:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
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