Cannot build 5.02.2 on Solaris 2.7
Martin Dorr
P28549 at email.sps.mot.com
Fri Apr 5 16:30:05 EST 2002
Simon Marlow wrote:
> > If I do the following ...
>
> I think these bugs (the illegal -x option to ld, and the messed up
> installation directories) were fixed in 5.02.2. Could you try building
> that version instead?
>
> Cheers,
> Simon
Well, the -x options are still there and now I dump core while compiling with
the new ghc-inplace opbject. Below is the trace ...
$ tar xvfi ghc-5.02.2-src-1.tar
$ cd ghc-5.02.2
$ cp -r ../happy-1.11/happy .
$ echo "prefix = /home/dorr/func/haskell/installs/ghc-5.02.2" >mk/build.mk
$ find . -name configure
./ghc/rts/gmp/configure
./ghc/configure
./configure
$ ./configure
$ cd ghc
$ ./configure
$ cd rts/gmp
$ ./configure
$ cd ../../..
$ make
:
/usr/ccs/bin/ld: illegal option -- x
-> remove ld -x options in mk/target.mk per posting on buglist
-> remove ld -x options in ghc/lib/std/Makefile per posting on buglist
$ make
:
rm -f Monad.p_o; if [ ! -d Monad ]; then mkdir Monad; else /usr/bin/find Monad -name '*.p_o' | xargs rm -f __rm_food; fi;
../../../ghc/compiler/ghc-inplace -ldl -fvia-C -cpp -fglasgow-exts -O -Rghc-timing -package-name std -split-objs -hisuf p_hi -h
csuf p_hc -osuf p_o -prof -c Monad.lhs -o Monad.p_o
Bus Error - core dumped
<<ghc: 65936848 bytes, 21 GCs, 966856/1743392 avg/max bytes residency (3 samples), 7M in use, 0.02 INIT (0.02 elapsed), 1.81 MUT
(5.98 elapsed), 0.63 GC (0.66 elapsed) :ghc>>
make[4]: *** [Monad.p_o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dorr/func/haskell/sources/ghc-5.02.2/ghc'
make: *** [all] Error 1
I tried another make with the same result.
Martin
More information about the Glasgow-haskell-bugs
mailing list