[Coco] OT: NetBSD on Quadra 700???

Kevin Diggs kevdig at hypersurf.com
Tue Sep 27 22:28:41 EDT 2005


Hi,

	Umm. If anybody can explain the odd behavior I am seeing with a Quadra 
700 running NetBSD 1.6.1 I would appreciate it. With the standard 25 MHz 
040 it runs ... as expected. When I put a 50 MHz Newer Tech 040 
overdrive in it it seems to run fine ... until I try to compile a small 
X program, an updated version of maze. The following command should 
produce an assembler file (-S):

gcc -O2 -m68040 -fomit-frame-pointer -S -v -I/usr/X11R6/include 
-DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-DBITMAPDIR=\"/usr/X11R6/include/X11/bitmaps\" -DPOLL_IN=0 
-DxmzmStopBM=\"stop32.xbm\" -DxmzmStopMaskBM=\"stopmask32.xbm\" xmaze.c

With the overdrive this command rarely produces the same output. Aren't 
compilers supposed to be deterministic? The resulting program will not 
run. This program does not have any problems on Linux, x86 or ppc.

	If -fno-gcse is added it works. I've never seen anything like this before?

					kevin

Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
  /usr/libexec/cpp0 -lang-c -v -I/usr/X11R6/include -D__GNUC__=2 
-D__GNUC_MINOR__=95 -D__m68k__ -D__NetBSD__ -D__ELF__ 
-D__KPRINTF_ATTRIBUTE__ -D__SVR4_ABI__ -D__motorola__ -D__m68k__ 
-D__NetBSD__ -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -D__SVR4_ABI__ 
-D__motorola__ -Asystem(unix) -Asystem(NetBSD) -Acpu(m68k) 
-Amachine(m68k) -D__OPTIMIZE__ -D__mc68040__ -D__HAVE_68881__ 
-D__HAVE_FPU__ -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-DBITMAPDIR="/usr/X11R6/include/X11/bitmaps" -DPOLL_IN=0 
-DxmzmStopBM="stop32.xbm" -DxmzmStopMaskBM="stopmask32.xbm" xmaze.c 
/var/tmp/cc2DkxGs.i
GNU CPP version 2.95.3 20010315 (release) (NetBSD nb3) (NetBSD/m68k ELF)
#include "..." search starts here:
#include <...> search starts here:
  /usr/X11R6/include
  /usr/include
End of search list.
The following default directories have been omitted from the search path:
  /usr/include/g++
End of omitted list.
  /usr/libexec/cc1 /var/tmp/cc2DkxGs.i -quiet -dumpbase xmaze.c -m68040 
-O2 -version -fomit-frame-pointer -o xmaze.s
GNU C version 2.95.3 20010315 (release) (NetBSD nb3) (m68k--netbsdelf) 
compiled by GNU C version 2.95.3 20010315 (release) (NetBSD nb3).






More information about the Coco mailing list