Martin Costabel wrote:
[]
The crash log shows as below;
Thread 0 Crashed:
 #0   0x00204574 in LoadSymbFonts (rsfe.c:37)
 #1   0x0020442c in LoadFonts (rsfe.c:37)
 #2   0x00202a44 in initgraphic_ (rsfe.c:37)

With gcc 3.1, above crash would not occur.

Package manager version: 0.17.1
Distribution version: 0.6.2.cvs


I am seeing the same behavior on a 10.2.8 system.
The crash log is really weird, because these functions have nothing to do with the file rsfe.c. I get exactly the same crash log. No idea where this comes from.


On 10.3, I compiled scilab from the same info file, also with gcc3.3. It does not crash for me, although there is a report on fink-beginners that it crashes (I don't knwo if it's the same error).

Actually, this was a wrong information from my side: It crashes on Panther in exactly the same way.


But I found a solution now: One has to compile the file periX11.c with -O instead of -O2. I seem to remember from the distant past that this was once needed. It seems that Apple reintroduced a very old optimisation bug in gcc-3.3.

If Jeff doesn't object, I will put corrected scilab.info files into the 10.2-gcc3.3 and 10.3 trees tomorrow.

In the meantime, one can fix one's own scribus info file as follows: In the CompileScript, add a line in the middle between configure and make all, so that it looks as follows:

 ./configure %c
 make CFLAGS=-O routines/graphics/periX11.o
 make all

Then rebuild scilab, and the crash should be history.

--
Martin






------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to