gnustep-dev
[Top][All Lists]
Advanced

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

Re: GNUstep base fails - libobjc2 on NetBSD x86


From: Riccardo Mottola
Subject: Re: GNUstep base fails - libobjc2 on NetBSD x86
Date: Wed, 6 Jan 2021 19:43:00 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 SeaMonkey/2.53.5.1

Hi,

Frederik Seiffert wrote:
Sorry I’m not familiar with NetBSD or PaX, but I’ve seen messages on the 
mailing list e.g. from Wolfgang Lux that suggest they got libobjc2 working on 
NetBSD.

Wolfgang is always a steap ahead of me :)



Maybe you could share how you’re building libobjc2?

Sure, but I tried to change it the leat possible:

First, I configured make with:
./configure --with-library-combo=ng-gnu-gnu prefix=/ --with-layout=gnustep

Then, in libobjc2, with "ccmake ." I changed some parameters:

 CMAKE_CXX_FLAGS                  -march=i686 -mtune=i686
 CMAKE_C_FLAGS                    -march=i686 -mtune=i686

(these are necessary so that gcc does nto need external libatomic, causing other issues)

And I tried fiddling with the linker:
 CMAKE_LINKER                     /usr/pkg/gnu/bin/ld.gold

but using bfd did not improve things either

ineed, running "make test" has all tests fail, and I see:

/home/multix/code/libobjc2/Build/libobjc.so.4.6: text relocations
/home/multix/code/libobjc2/Build/libobjc.so.4.6: Cannot write-enable text segment: Permission denied
<end of output>

So this has nothing with base, but libobjc2 is broken by itself.

Riccardo



reply via email to

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