Re: GNUstep base fails - libobjc2 on NetBSD x86
Riccardo Mottola <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.devel |
|---|---|
| Message-ID | <[email protected]> |
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