Ticket #2729 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

Stuck when compiling XMonad.StackSet in xmonad 0.9 (hackage version)

Reported by: mnislaih Owned by:
Priority: normal Milestone: 6.12 branch
Component: Compiler Version: 6.11
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: x86_64 (amd64)
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

This is the end of the -v output without -O2

Ready for upsweep
  [NONREC
      ModSummary {
         ms_hs_date = Fri Sep  5 21:53:18 CEST 2008
         ms_mod = main:XMonad.StackSet,
         ms_imps = [Data.Map, Data.List, Data.List, Data.Maybe, Prelude]
         ms_srcimps = []
      }]
compile: input file ./XMonad/StackSet.hs
Created temporary directory: /tmp/ghc14177_0
*** Checking old interface for main:XMonad.StackSet:
[1 of 1] Compiling XMonad.StackSet  ( XMonad/StackSet.hs, XMonad/StackSet.o )
*** Parser:
*** Renamer/typechecker:
*** Desugar:
    Result size = 7813
*** Simplify:
    Result size = 6756
    Result size = 6535
    Result size = 6511
    Result size = 6511
*** Tidy Core:
    Result size = 6511
*** CorePrep:

...and then it stops, consuming full CPU and constant (~27MB) memory.

The output with -O2 is slightly different

Ready for upsweep
  [NONREC
      ModSummary {
         ms_hs_date = Fri Sep  5 21:53:18 CEST 2008
         ms_mod = main:XMonad.StackSet,
         ms_imps = [Data.Map, Data.List, Data.List, Data.Maybe, Prelude]
         ms_srcimps = []
      }]
compile: input file ./XMonad/StackSet.hs
Created temporary directory: /tmp/ghc14187_0
*** Checking old interface for main:XMonad.StackSet:
[1 of 1] Compiling XMonad.StackSet  ( XMonad/StackSet.hs, XMonad/StackSet.o )
*** Parser:
*** Renamer/typechecker:
*** Desugar:
    Result size = 7808
*** Simplify:
    Result size = 6281
    Result size = 6189
    Result size = 6189
*** Specialise:
    Result size = 6189
*** Float out (not lambdas, not constants):

I waited for about 30 minutes before killing it. This problem doesn't seem to be present in the 6.10 branch, so the culprit must be a relatively recent patch.

Attachments

cabal.log Download (36.3 KB) - added by mnislaih 4 years ago.
full 'cabal install xmonad -v3' log

Change History

Changed 4 years ago by mnislaih

full 'cabal install xmonad -v3' log

Changed 4 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.12 branch

Thanks for the report.

Changed 3 years ago by simonpj

I've tried and failed to reproduce this. I downloaded xmonad 0.8 from hackage (that seems to be the latest version) and X11-1.4.4 from hackage. This fails because xmonad 0.8 is incompatible with GHC 6.10

bash-3.2$ runhaskell Setup.lhs build
Preprocessing library xmonad-0.8...
Preprocessing executables for xmonad-0.8...
Building xmonad-0.8...
[1 of 8] Compiling XMonad.StackSet  ( XMonad/StackSet.hs, dist/build/XMonad/StackSet.o )
[2 of 8] Compiling XMonad.Core      ( XMonad/Core.hs, dist/build/XMonad/Core.o )

XMonad/Core.hs:36:49:
    Module
    `Control.Exception'
    does not export
    `Exception(ExitException)'

(However, StackSet compiled ok.)

I got the latest xmonad from

darcs get --partial http://code.haskell.org/xmonad

That compiled fine, both with GHC 6.10.1 and with HEAD. So I'm stumped. Can you check?

Simon

Changed 3 years ago by mnislaih

I will test with the current HEAD on the same box. By the way somehow I managed to add one to the version number, I meant XMonad 0.8 not 0.9.

Changed 3 years ago by mnislaih

  • architecture changed from Unknown/Multiple to x86_64 (amd64)

Changed 3 years ago by mnislaih

  • status changed from new to closed
  • resolution set to invalid

I have tried with the current HEAD on the same box and cannot replicate this anymore. XMonad compiles fine!

Changed 3 years ago by simonpj

Excellent news!

Simon

Note: See TracTickets for help on using tickets.