GHC | 1 Oct 03:15 2010

Re: #4300: :show packages does not list all loaded packages

#4300: :show packages does not list all loaded packages
---------------------------+------------------------------------------------
  Reporter:  claus         |          Owner:  igloo           
      Type:  bug           |         Status:  closed          
  Priority:  normal        |      Milestone:  7.0.1           
 Component:  GHCi          |        Version:  6.12.3          
Resolution:  fixed         |       Keywords:                  
  Testcase:                |      Blockedby:                  
Difficulty:                |             Os:  Unknown/Multiple
  Blocking:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 As far as I can see, it's never worked, and as you say, the information is
 available via `:show linker`, so I've just removed the incorrect output:
 {{{
 Thu Sep 30 14:01:28 PDT 2010  Ian Lynagh <igloo <at> earth.li>
   * Don't show the loaded packages in ":show packages"; fixes #4300
   It's never worked properly, and the information is in ":show linker".
 }}}

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4300#comment:2>
(Continue reading)

GHC | 1 Oct 03:17 2010

Re: #4297: `gmake clean' or `gmake distclean' does not clean up testsuite directory

#4297: `gmake clean' or `gmake distclean' does not clean up testsuite directory
-------------------------+--------------------------------------------------
  Reporter:  kgardas     |          Owner:  igloo  
      Type:  bug         |         Status:  closed 
  Priority:  normal      |      Milestone:  7.0.1  
 Component:  Test Suite  |        Version:  6.13   
Resolution:  fixed       |       Keywords:         
  Testcase:              |      Blockedby:         
Difficulty:              |             Os:  Solaris
  Blocking:              |   Architecture:  x86    
   Failure:  Other       |  
-------------------------+--------------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Running `make test` in the root of the build tree now does the right
 thing.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4297#comment:4>
GHC | 1 Oct 20:17 2010

#4358: infinite loop on unification with a type family context

#4358: infinite loop on unification with a type family context
--------------------------------+-------------------------------------------
    Reporter:  patrick_premont  |       Owner:                                   
        Type:  bug              |      Status:  new                              
    Priority:  normal           |   Component:  Compiler (Type checker)          
     Version:  6.12.1           |    Keywords:  infinite loop type family context
    Testcase:                   |   Blockedby:                                   
          Os:  Windows          |    Blocking:                                   
Architecture:  x86_64 (amd64)   |     Failure:  Compile-time crash               
--------------------------------+-------------------------------------------
 The following throws ghc (and ghci) in a loop (ghc-7.0.0.20100925 for i386
 -unknown-mingw32)
 and it eventually aborts with "ghc.exe: out of memory".

 {{{

 > {-# LANGUAGE TypeFamilies, Rank2Types, FlexibleContexts #-}

 > type family T a

 > t2 :: forall a. ((T a ~ a) => a) -> a
 > t2 = t

 > t :: forall a. ((T a ~ a) => a) -> a
 > t = undefined

 }}}

 Using ghc 6.12.1 we do not get a loop, but a puzzling error:

(Continue reading)

GHC | 1 Oct 20:28 2010

Re: #4358: infinite loop on unification with a type family context

#4358: infinite loop on unification with a type family context
--------------------------------+-------------------------------------------
    Reporter:  patrick_premont  |       Owner:                                   
        Type:  bug              |      Status:  new                              
    Priority:  normal           |   Component:  Compiler (Type checker)          
     Version:  7.1              |    Keywords:  infinite loop type family context
    Testcase:                   |   Blockedby:                                   
          Os:  Windows          |    Blocking:                                   
Architecture:  x86_64 (amd64)   |     Failure:  Compile-time crash               
--------------------------------+-------------------------------------------
Changes (by patrick_premont):

  * version:  6.12.1 => 7.1

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4358#comment:1>
GHC | 2 Oct 13:58 2010

Re: #4345: Compiler crash building regex-posix version 0.94.1 using ghc 7.0.1-rc1

#4345: Compiler crash building regex-posix version 0.94.1 using ghc 7.0.1-rc1
-------------------------+--------------------------------------------------
    Reporter:  dsf       |        Owner:  simonpj           
        Type:  bug       |       Status:  new               
    Priority:  highest   |    Milestone:  7.0.1             
   Component:  Compiler  |      Version:  7.1               
    Keywords:            |     Testcase:                    
   Blockedby:            |   Difficulty:                    
          Os:  Linux     |     Blocking:                    
Architecture:  x86       |      Failure:  Compile-time crash
-------------------------+--------------------------------------------------
Changes (by igloo):

  * owner:  => simonpj

Comment:

 Standalone testcase attached.
 {{{
 $ ghc -c Wrap.hs -O
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.0.0.20100924 for x86_64-unknown-linux):
         initC: srt_lbl

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4345#comment:8>
(Continue reading)

GHC | 2 Oct 17:18 2010

Re: #4332: regression: GHCi command output can no longer be redirected on a by-command basis

#4332: regression: GHCi command output can no longer be redirected on a by-command
basis
---------------------------------+------------------------------------------
    Reporter:  claus             |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.0.1       
   Component:  GHCi              |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Windows           |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by claus):

 Confirmed: with `7.1.20100927`, the reported problem has mostly
 disappeared.

 Redirecting `:cd` still fails (the overlooked `outputStr` in
 `changeDirectory`).

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4332#comment:6>
GHC | 2 Oct 17:24 2010

Re: #4034: GHC > 6.10 fails to build on PowerPC / MacOS X Leopard

#4034: GHC > 6.10 fails to build on PowerPC / MacOS X Leopard
----------------------------------+-----------------------------------------
  Reporter:  PHO                  |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  low                  |      Milestone:  7.0.1  
 Component:  Compiler             |        Version:  7.1    
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  MacOS X
  Blocking:                       |   Architecture:  powerpc
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by PHO):

 I can build the darcs HEAD on ppc with the patch I posted to #1845.
 The compiler I'm currently using is GHC 6.12.3.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4034#comment:10>
GHC | 2 Oct 17:34 2010

Re: #3464: Find import declaration importing a certain function

#3464: Find import declaration importing a certain function
---------------------------------+------------------------------------------
    Reporter:  fasta             |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:  7.0.1       
   Component:  GHCi              |      Version:  6.10.4      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by claus):

  * failure:  => None/Unknown

Comment:

 Until you find someone to implement this feature properly, there is a
 workaround.

 Using the GHCi script `redir.script`, attached to #4332, you can capture
 the output of `:browse!`.

 `:browse!` extends `:browse` by including information about import paths
 in comments, so we can filter for lines with comments or the identifier in
 question to get the info you're after:
 {{{
 *ModMain> :redir output :browse! *ModMain
 *ModMain> putStrLn $ unlines $ filter ((`elem`["--","map"]).head.words) $
 lines output
(Continue reading)

GHC | 2 Oct 17:34 2010

Re: #4345: Compiler crash building regex-posix version 0.94.1 using ghc 7.0.1-rc1

#4345: Compiler crash building regex-posix version 0.94.1 using ghc 7.0.1-rc1
-------------------------+--------------------------------------------------
    Reporter:  dsf       |        Owner:  simonpj           
        Type:  bug       |       Status:  new               
    Priority:  highest   |    Milestone:  7.0.1             
   Component:  Compiler  |      Version:  7.1               
    Keywords:            |     Testcase:                    
   Blockedby:            |   Difficulty:                    
          Os:  Linux     |     Blocking:                    
Architecture:  x86       |      Failure:  Compile-time crash
-------------------------+--------------------------------------------------

Comment(by simonpj):

 Thanks for the test case!  I've boiled it down a lot more.
 {{{
 module Wrap where

 isNull :: IO Bool
 isNull = error "urk"

 wrapMatchAll :: IO (Maybe ())
 wrapMatchAll = do
   nsub <- undefined
   let loop True = do atEnd <- isNull
                      return Nothing
       loop False = loop False
   result <- undefined
   loop undefined
 }}}
(Continue reading)

GHC | 2 Oct 17:49 2010

Re: #4034: GHC > 6.10 fails to build on PowerPC / MacOS X Leopard

#4034: GHC > 6.10 fails to build on PowerPC / MacOS X Leopard
----------------------------------+-----------------------------------------
  Reporter:  PHO                  |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  low                  |      Milestone:  7.0.1  
 Component:  Compiler             |        Version:  7.1    
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  MacOS X
  Blocking:                       |   Architecture:  powerpc
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by maeder):

 So someone should create a binary ghc-6.12.3 distribution for ppc first
 and put it on
 http://darcs.haskell.org/download/download_ghc_6_12_3.html#binaries

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4034#comment:11>

Gmane