Bus Error with ghc 6.4 on Solaris

Martin Preen preen at informatik.uni-freiburg.de
Fri Apr 15 07:27:34 EDT 2005


Martin Preen wrote:
> 
...
> then the build finishes successfully. Now I tried to re-compile
> the source using the first build:
> 
> ...
> /usr/local/fptools/bin/ghc -H16m -O  -istage1/utils
> -istage1/basicTypes  -istage1/types  -istage1/hsSyn  -istage1/prelude
> -istage1/rename  -istage1/typecheck  -istage1/deSugar  -istage1/coreSyn
> -istage1/specialise  -istage1/simplCore  -istage1/stranal
> -istage1/stgSyn  -istage1/simplStg  -istage1/codeGen  -istage1/main
> -istage1/profiling  -istage1/parser  -istage1/cprAnalysis
> -istage1/compMan  -istage1/ndpFlatten  -istage1/iface  -istage1/cmm
> -istage1/ghci -Istage1 -DOMIT_NATIVE_CODEGEN -DGHCI -package
> template-haskell -package readline -DUSE_READLINE -cpp -fglasgow-exts
> -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package
> unix -package Cabal -recomp -Rghc-timing  -H16M '-#include "hschooks.h"'
> -i../lib/compat  -fno-cse  -c main/CmdLineOpts.lhs -o
> stage1/main/CmdLineOpts.o  -ohi stage1/main/CmdLineOpts.hi
> make[2]: *** [stage1/main/CmdLineOpts.o] Bus Error (core dumped)
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/scratch/ghc-6.4/ghc'
> make: *** [build] Error 1
> 
> This seems to be a more serious problem, or is it just
> specific to the ghc build process ?

I found another situation where a Bus Error occurs.
Trying to build lhs2TeX gives

...
/usr/local/fptools/bin/ghc -c -O -package lang NewCode.lhs -o NewCode.o
/usr/local/fptools/bin/ghc -c -O -package lang Math.lhs -o Math.o
make: *** [Math.o] Bus Error (core dumped)

Regards.
Martin

-----------------------------------------------------------------
Martin Preen, Universitaet Freiburg, Institut fuer Informatik
Georges-Koehler-Allee, Geb.52, Zi.00-006, 79110 Freiburg, Germany

phone: ++49 761 203-8250         preen at informatik.uni-freiburg.de
fax: ++49 761 203-8242           www.informatik.uni-freiburg.de


More information about the Glasgow-haskell-users mailing list