Re: GNUstep base fails - libobjc2 on NetBSD x86

David Chisnall <[email protected]>
Newsgroups gmane.comp.lib.gnustep.devel
Message-ID <[email protected]>
Hi Ricardo,

> On 3 Jan 2021, at 22:22, Riccardo Mottola <[email protected]> wrote:
> 
> /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


This is very odd.  I don’t suppose that, when you modify the CFLAGS you’re removing the -fPIC?  Aside from that, can you use objdump to print the relocations?  This is not a very helpful error message and without knowing where the text relocation is, I can’t suggest how to fix it.  I believe the only text relocations that we had in the assembly routines were fixed some years back.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.