Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs --+- Reporter: mm |Owner: benl Type: bug| Status: new Priority: normal |Milestone: 6.10.2 Component: Compiler | Version: 6.8.2 Severity: normal | Resolution: Keywords: hangs compilation | Difficulty: Unknown Testcase: | Os: Solaris Architecture: sparc | --+- Changes (by benl): * status: reopened = new * owner: = benl Comment: Current plan is to fix the SPARC native code generator and avoid GCC entirely. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs --+- Reporter: mm |Owner: benl Type: bug| Status: assigned Priority: normal |Milestone: 6.10.2 Component: Compiler | Version: 6.8.2 Severity: normal | Resolution: Keywords: hangs compilation | Difficulty: Unknown Testcase: | Os: Solaris Architecture: sparc | --+- Changes (by benl): * status: new = assigned -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#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.10.2 Component: Compiler |Version: 6.8.2 Severity: normal | Resolution: Keywords: hangs compilation | Difficulty: Unknown Testcase: | Architecture: sparc Os: Solaris| ---+ Changes (by igloo): * milestone: 6.10.1 = 6.10.2 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#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 TIMECPU 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 Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#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| ---+ Comment (by Isaac Dupree): seeing cc1, maybe related to something I found here: http://hackage.haskell.org/trac/ghc/ticket/2002#comment:12 , namely that GCC can't, performance-wise, deal with everything that GHC can generate. Is the time mostly spent in GHC or GCC? and are you having any trouble with amount of RAM/swap memory it uses, or just the amount of CPU-ish time spent? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#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| ---+ Comment (by maeder): It's just the CPU time spent by gcc. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#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| ---+ Comment (by maeder): The files are rather big: {{{ 15051 Jun 13 12:30 /tmp/ghc8219_0/ghc8219_0.hscpp 10497049 Jun 13 12:31 /tmp/ghc8219_0/ghc8219_0.p_hc 15187968 Jun 13 15:50 /tmp/ghc8219_0/ghc8219_0.raw_s }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1293: building ghc 6.8.3 hangs on sparc solaris at Language/Haskell/Syntax.hs
#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.10.1 Component: Compiler |Version: 6.8.2 Severity: normal | Resolution: Keywords: hangs compilation | Difficulty: Unknown Testcase: | Architecture: sparc Os: Solaris| ---+ Changes (by igloo): * milestone: 6.8.1 = 6.10.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1293#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs