Re: Small change in NSObject.m ASM needed for PowerPC build

2009-05-03 Thread David Chisnall
Checking the ISA reference, it appears that the required atomic instructions appeared in the 486, so -march=486 should work. I have an almost identical patch applied locally and it builds correctly with no modifications to the GNUmakefile, so I'm slightly confused as to why this fails for

Re: Small change in NSObject.m ASM needed for PowerPC build

2009-05-03 Thread Riccardo Mottola
David Chisnall wrote: On i386, you need -march=i586 or higher for this to work. The existing code will break at runtime, rather than link time, on an 80486 and earlier, and so I assume (from the fact no one has complained) that no one is using GNUstep on a 386/486. Well, how old is that

Re: Small change in NSObject.m ASM needed for PowerPC build

2009-05-03 Thread David Chisnall
On 3 May 2009, at 17:26, Riccardo Mottola wrote: David Chisnall wrote: On i386, you need -march=i586 or higher for this to work. The existing code will break at runtime, rather than link time, on an 80486 and earlier, and so I assume (from the fact no one has complained) that no one is

Re: Small change in NSObject.m ASM needed for PowerPC build

2009-05-03 Thread Fred Kiefer
Sorry, no idea, why this fails for me. uname -a give this result: Linux hugo 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 +0200 i686 i686 i386 GNU/Linux But I don't know what gcc relies on. I also read somewhere that you have to use the link flag -lgcc to use the new build in functions, but this