#1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
-------------------------------+--------------------------------------------
Reporter: mm | Owner:
Type: bug | Status: reopened
Priority: normal | Milestone: 6.8.1
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution:
Keywords: hangs compilation | Difficulty: Unknown
Testcase: | Architecture: sparc
Os: Solaris |
-------------------------------+--------------------------------------------
Changes (by maeder):
* status: closed => reopened
* severity: blocker => normal
* os: Linux => Solaris
* summary: building ghc 6.6.1 hangs on linux-x86 at
Language/Haskell/Syntax.hs => building ghc
6.8.3 hangs on sparc solaris at
Language/Haskell/Syntax.hs
* version: 6.6.1 => 6.8.2
* architecture: x86 => sparc
* resolution: invalid =>
Comment:
compiling this file takes really rather long on my poor machine.
Hardware Architecture: sparc
Operating System: solaris10
Model: Sun Fire 280R
Memory Size (MB): 3072
Processor Speed (MHz): 900
{{{
load averages: 1.07, 1.07, 1.06
15:03:32
57 processes: 54 sleeping, 2 running, 1 on cpu
CPU states: 0.0% idle, 93.2% user, 6.8% kernel, 0.0% iowait, 0.0% swap
Memory: 3072M real, 1617M free, 845M swap in use, 4450M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
8273 maeder 1 0 10 554M 541M run 148:17 96.66% cc1
}}}
Without profiling it takes already long (about 1 hour)
{{{
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O -optc-
mcpu=ultrasparc -opta-mcpu=ultrasparc -O -Rghc-timing -fgenerics -c
Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o -ohi
dist/build/Language/Haskell/Syntax.hi
<<ghc: 3161523500 bytes, 5142 GCs, 18526044/40419328 avg/max bytes
residency (25 samples), 106M in use, 0.00 INIT (0.00 elapsed), 39.27 MUT
(12245.73 elapsed), 22.81 GC (23.44 elapsed) :ghc>>
}}}
Can't this be changed, somehow?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1293#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs