Re: [GHC] #7313: Impossible happened : CLabel.toInfoLbl stg_newMVarzh

2012-10-23 Thread GHC
#7313: Impossible happened : CLabel.toInfoLbl stg_newMVarzh
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  Compiler
  Version:  7.7  |   Keywords:  
   Os:  Unknown/Multiple |   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--

Comment(by marlowsd@…):

 commit dc7a9364e9bae25f6d70bad24bb0aa5708cbeaad
 {{{
 Author: Simon Marlow marlo...@gmail.com
 Date:   Tue Oct 23 09:50:33 2012 +0100

 Avoid calling toInfoLbl on the entry label (#7313)

  compiler/cmm/CmmProcPoint.hs |   43
 ++---
  1 files changed, 23 insertions(+), 20 deletions(-)
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7313#comment:4
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] #7313: Impossible happened : CLabel.toInfoLbl stg_newMVarzh

2012-10-23 Thread GHC
#7313: Impossible happened : CLabel.toInfoLbl stg_newMVarzh
--+-
  Reporter:  erikd|  Owner:  
  Type:  bug  | Status:  closed  
  Priority:  normal   |  Milestone:  7.8.1   
 Component:  Compiler |Version:  7.7 
Resolution:  fixed|   Keywords:  
Os:  Unknown/Multiple |   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  | Difficulty:  Unknown 
  Testcase:   |  Blockedby:  
  Blocking:   |Related:  
--+-
Changes (by simonmar):

  * status:  new = closed
  * difficulty:  = Unknown
  * resolution:  = fixed
  * milestone:  = 7.8.1


Comment:

 I've just done a validate with `splitting_proc_points` set to `True`,
 which should weed out any other bugs in that code path, and didn't see any
 unusual failures, so I'm claiming this is now fixed.  Please re-open if
 you find otherwise.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7313#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] #7313: Impossible happened : CLabel.toInfoLbl stg_newMVarzh (was: arm-linux: impossible happened : CLabel.toInfoLbl stg_newMVarzh)

2012-10-22 Thread GHC
#7313: Impossible happened : CLabel.toInfoLbl stg_newMVarzh
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  Compiler
  Version:  7.7  |   Keywords:  
   Os:  Unknown/Multiple |   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--

Comment(by erikd):

 It seems the code that's needed looks something like:

 {{{
 toEntryLbl (CmmLabel m str CmmCode)  = ?
 }}}

 Replacing ? with the obvious `CmmLabel m str CmmCode` results in the
 following when the stage2 compiler is run

 {{{
 ghc-stage2: internal error: scavenge_stack: weird activation record found
 on stack: 65310
 (GHC version 7.7.20121022 for arm_unknown_linux)
 Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7313#comment:3
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