Subject: Re: Games/craft 3.5 still won't work :-(
To: Reinoud Zandijk <zandijk@cs.utwente.nl>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-arm32
Date: 08/03/1999 13:45:59
	What happend if you disable some of the optimisation flags?
	eg: change '-O2 -fexpensive-optmizations -finline-functions'
	to just '-O2', or even ''.

		David/absolute

                  -=-  Trust is a non-renewable resource  -=-

On Tue, 3 Aug 1999, Reinoud Zandijk wrote:

> Hi folks,
> 
> 'm still trying to get craft to work on NetBSD 1.4.1/arm32, but it
> core-dumps ... have any of you got the same problem? or is my NetBSD
> installation getting wacky ? I just sup'd the pkgsrc-current just to make
> sure, but it didn't matter.
> 
> Cheers,
> 
> Reinoud
> 
> The build gave the following script :
> 
> Script started on Tue Aug  3 14:44:44 1999
> ismaelda# pwd
> /usr/pkgsrc/games/craft
> ismaelda# make
> ===>  Validating dependencies for craft-3.5
> >> Checksum OK for craftcc35.tar.Z.
> ===>  Extracting for craft-3.5
> ===>  craft-3.5 depends on executable: gmake - /usr/pkg/bin/gmake found
> ===>  Patching for craft-3.5
> ===>  Applying NetBSD patches for craft-3.5
> /bin/rm -f /usr/pkgsrc/games/craft/work/hcc/hcc
> /bin/cp /usr/pkgsrc/games/craft/work/.windefaults.params /usr/pkgsrc/games/craft/work/foo
> /usr/bin/sed -e 's+buttons+/usr/X11R6/share/craft/buttons+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/.windefaults.params
> /bin/cp /usr/pkgsrc/games/craft/work/win.hc /usr/pkgsrc/games/craft/work/foo
> /usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/win.hc
> /bin/cp /usr/pkgsrc/games/craft/work/setupedit.hc /usr/pkgsrc/games/craft/work/foo
> /usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/setupedit.hc
> /bin/cp /usr/pkgsrc/games/craft/work/option_menu.hc /usr/pkgsrc/games/craft/work/foo
> /usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/option_menu.hc
> /bin/cp /usr/pkgsrc/games/craft/work/craft_def.h /usr/pkgsrc/games/craft/work/foo
> /usr/bin/sed -e 's+@PREFIX@+/usr/X11R6+' </usr/pkgsrc/games/craft/work/foo> /usr/pkgsrc/games/craft/work/craft_def.h
> /bin/rm -f /usr/pkgsrc/games/craft/work/foo
> ===>  Configuring for craft-3.5
> ===>  Building for craft-3.5
> g++  -I/usr/X11R6/include -DCRAFT_DIR=\"/usr/X11R6/share/craft/\"  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  hcc/hcc.cc   -o hcc/hcc
> hcc/hcc.cc: In function `bool pass_1(char *)':
> hcc/hcc.cc:248: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:276: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:295: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:341: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:386: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:433: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:480: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:525: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:570: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:616: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:666: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:717: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:745: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:760: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:790: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:808: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:866: warning: comparison is always 1 due to limited range of data type
> hcc/hcc.cc:916: warning: comparison is always 1 due to limited range of data type
> hcc/hcc -compiler gcc -I/usr/X11R6/include -DCRAFT_DIR=\"/usr/X11R6/share/craft/\" -O2 -fexpensive-optimizations -finline-functions -c xtimer
> gmake: *** [xtimer.o] Segmentation fault (core dumped)
> *** Error code 2
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> ismaelda# exit
> Script done on Tue Aug  3 14:50:12 1999
> 
>