build error for ghc 6.4 on Solaris
Martin Preen
preen at informatik.uni-freiburg.de
Fri Apr 15 04:07:47 EDT 2005
Martin Preen wrote:
>
> Hello,
> I get the following error when building ghc 6.4 on Solaris 9.
> Any ideas how to solve this ?
...
> grep -v '^#pragma GCC' | \
> sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.installed
> ../utils/ghc-pkg/ghc-pkg-inplace --force --update-package
> <package.conf.inplace
> Creating user package database in //.ghc/sparc-solaris2-6.4/package.conf
>
> Fail: already exists
> Action: createDirectory
> Reason: File exists
>
> make[2]: *** [../driver/stamp-pkg-conf-rts] Error 1
> make[1]: *** [boot] Error 1
> make[1]: Leaving directory `/scratch/ghc-6.4/ghc'
> make: *** [build] Error 1
I found a workaround by simply pre-creating the directory and
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 ?
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