From: Gwenole B. <gb...@di...> - 2002-01-16 18:44:14
|
On Wed, 16 Jan 2002, Hetz Ben Hamo wrote: > > Probably "someone" is trying to access above the SratchMemory area. It > > could be a compiler bug too. Please try compiling with optimizations off > > (edit the CXXFLAGS in Makefile). > > CXXFLAGS = -O2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > -fno-merge-constants > ^^ thats what I modified, which brings the same problem (same error). > removing also the -fno-merge-constants make B2 screams "floating point > exception". -fno-merge-constants is mandatory with "2.96"-RH/MDK, 3.0-RH/MDK, or FSF 3.1. Probably due to a bug in the constants merging code. I have yet to check with the current gcc 3.1 snapshots. Otherwise, B2 indeed crashes. Please try with s/-O2/-O0/ and keep -fno-merge-constants. > I tried to compile with and without DGA support - same error. Sorry, I meant at runtime. ;-) > Actually, it doesn't work well - I get on the "mac" - "sorry, a system error > occured. "system" "illegal instruction" > And on the console: Illegal instruction: 000b at 00034888 > Thats on the 68030 with FPU, or with 68040. With the 68040 mode I get at the > console: Illegal instruction: 000b at 0003c9dc Hmmm, then probably a cpu core bug. Please try this one: In the generated Makefile, change all occurrences of $(OBJ_DIR)/cpuopti used in any cpufast?.s: rule with a cat. i.e. Don't use the cpuopti pass. > I'm on IRC in irc.kde.org server (on channel #winehq) - feel free to contact > me and I'll let you in to 1 of my machines if you want to test or change B2.. Sorry, I have another idea but I really have to go now. Bye, Gwenole. |