Re: segfault on solaris10/sparc

2014-06-21 Thread Riccardo Mottola
Hi, Richard Frith-Macdonald wrote: Adding -O0 should turn off optimisation (cancelling the effect of the -O2) ... I made that change to the configure script ion svn. Please could you give it a try. That fixes it! fine! Thanks. I see you already commited the small warning patch i suggested,

Re: segfault on solaris10/sparc

2014-06-20 Thread Riccardo Mottola
Hi, Wolfgang Lux wrote: Does it still segfault if you compile the program with gcc -O2 config.align.c and then run a.out? It's about a decade ago that I have been using a Sparc machine, but I recall having a similar problem where gcc was generating code with different alignment constraints

Re: segfault on solaris10/sparc

2014-06-20 Thread Richard Frith-Macdonald
On 20 Jun 2014, at 09:14, Riccardo Mottola riccardo.mott...@libero.it wrote: Hi, Wolfgang Lux wrote: Does it still segfault if you compile the program with gcc -O2 config.align.c and then run a.out? It's about a decade ago that I have been using a Sparc machine, but I recall having a

Re: segfault on solaris10/sparc

2014-06-20 Thread Yavor Doganov
В Fri, 20 Jun 2014 10:14:18 +0200, Riccardo Mottola написа: I wonder if we can foce executing the test without opt. flags or complicate so that it doesn't get optimized.. That's easy, it is already done for other tests. Before the test: saved_CFLAGS=$CFLAGS CFLAGS= ...test... And then

Re: segfault on solaris10/sparc

2014-06-19 Thread Wolfgang Lux
Hi Riccardo, Fred Kiefer wrote: If you look at the code in NSData.m you will see that just before the failing line there is an #if NEED_WORD_ALIGNMENT clause. The question now is why this isn't defined in your case. You will have to report back the configure results of your Sparc machine.

Re: segfault on solaris10/sparc

2014-06-18 Thread Fred Kiefer
If you look at the code in NSData.m you will see that just before the failing line there is an #if NEED_WORD_ALIGNMENT clause. The question now is why this isn't defined in your case. You will have to report back the configure results of your Sparc machine. Hope this helps, Fred On the road

Re: segfault on solaris10/sparc

2014-06-18 Thread Riccardo Mottola
Hi, Fred Kiefer wrote: If you look at the code in NSData.m you will see that just before the failing line there is an #if NEED_WORD_ALIGNMENT clause. The question now is why this isn't defined in your case. You will have to report back the configure results of your Sparc machine. Hope this

segfault on solaris10/sparc

2014-06-17 Thread Riccardo Mottola
Hi, Ink and other apps fail on startup. I get this stacktrace. ANy clues? could this be an alignment issue on Sparc? Riccardo Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] -[NSDataStatic deserializeTypeTag:andCrossRef:atCursor:] (self=0x29ecb8,