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: Frederik Seiffert
Subject: Re: GNUstep base fails - libobjc2 on NetBSD x86
Date: Wed, 6 Jan 2021 13:06:52 +0100

Hi Riccardo,

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.

Maybe you could share how you’re building libobjc2?

Frederik


> Am 03.01.2021 um 23:22 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> 
> Hi Frederik,
> 
> 
> On 1/3/21 3:26 PM, Frederik Seiffert wrote:
>> Looks like the conftest executable is aborting. Can you try running it with 
>> a debugger to see where it fails?
> 
> 
> I couldn't find the conftest binary after the failure, seems it does get 
> removed immediately. I don't remember if there is a command to save the 
> generated executables.
> 
> I did reconstruct it from the config.log, wrote the soruce code in a file 
> then run the exact same command that is written there.
> 
> It fails this way:
> 
> (gdb) r
> Starting program: /home/multix/code/libs-base/conftest
> /System/Library/Libraries/libobjc.so.4.6: text relocations
> [Inferior 1 (process 6265) exited normally]
> (gdb) bt
> No stack.
> 
> It appears to me it does not even run and doesn't like something in my 
> libobjc.so.
> 
> I fear, it really is not built correctly then - I got it building but it is 
> not working on NetBSD/i386
> 
> Well, I should have checked:
> 
> 0% tests passed, 186 tests failed out of 186
> 
> I found this in the logs:
> 
> /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
> 
> I wonder if we are violiting some permissions of PaX ? I cannot set PaX on 
> libraries though, only on executables.
> 
> Or some address is bogus or other havoc is going on.
> 
> 
> Riccardo
> 




reply via email to

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