|
Fail to compile 5.04.3 on Solaris: msg#00026lang.haskell.glasgow.bugs
Hi! I've tried to compile 5.04.3 on Solaris some time now but I can't make it work. Compiling the compiler works fine. The problem is when trying to compile the libraries. Compiling GHC/Handle always fails with either Bus error or Segmentation fault. Like this: rm -f GHC/Handle.o; if [ ! -d GHC/Handle_split ]; then mkdir GHC/Handle_split; else /usr/bin/find GHC/Handle_split -name '*.o' | xargs rm -f __rm_food; fi; ../../ghc/compiler/ghc-inplace -ldl -fglasgow-exts -cpp -Iinclude -funbox-strict-fields -package-name base -O -Rghc-timing -split-objs -c GHC/Handle.hs -o GHC/Handle.o Bus Error <<ghc: 486170608 bytes, 1662 GCs, 5862901/9509368 avg/max bytes residency (13 samples), 26M in use, 0.01 INIT (0.02 elapsed), 11.98 MUT (30.24 elapsed), 8.40 GC (8.76 elapsed) :ghc>> The funny thing is though that if I cd into the libraries directory and do `make` afterwards it works fine. Problems show up again when I do `make` in hslibs. Then I get: rm -f ByteArray.o; if [ ! -d ByteArray_split ]; then mkdir ByteArray_split; else /usr/bin/find ByteArray_split -name '*.o' | xargs rm -f __rm_food; fi; ../../ghc/compiler/ghc-inplace -ldl -cpp -fglasgow-exts -Icbits -imonads -package-name lang -O -Rghc-timing -split-objs -c ByteArray.lhs -o ByteArray.o ByteArray.lhs:34: failed to load interface for `PrelByteArr': Could not find interface file for `PrelByteArr' <<ghc: 10332428 bytes, 4 GCs, 9760/9760 avg/max bytes residency (1 samples), 7M in use, 0.02 INIT (0.01 elapsed), 0.26 MUT (0.52 elapsed), 0.09 GC (0.15 elapsed) :ghc>> I guess that the make process isn't quite made for restarting in the middle of everything... Any hints are welcome. I'm using ghc 5.04 to compile the compiler. > uname -a SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-80 > gcc --version 2.95.3 The linker is Sun's own linker. Cheers, /Josef
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-720878 ] ghci fails on Red Hat 9.0, SourceForge.net |
|---|---|
| Next by Date: | RE: Fail to compile 5.04.3 on Solaris, Simon Peyton-Jones |
| Previous by Thread: | [ ghc-Bugs-720878 ] ghci fails on Red Hat 9.0, SourceForge.net |
| Next by Thread: | RE: Fail to compile 5.04.3 on Solaris, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |