[GHC] #5903: GHC 7.4.1 32 bit: LLVM backend fails on OSX 64bit

2012-02-28 Thread GHC
#5903: GHC 7.4.1 32 bit: LLVM backend fails on OSX 64bit
+---
 Reporter:  dterei  |  Owner:  dterei 
 Type:  bug | Status:  new
 Priority:  normal  |  Component:  Compiler (LLVM)
  Version:  7.4.1   |   Keywords: 
   Os:  MacOS X |   Architecture:  x86_64 (amd64) 
  Failure:  Compile-time crash  |   Testcase: 
Blockedby:  |   Blocking: 
  Related:  |  
+---
 If running:

 * GHC: 7.4.1, 32bit
 * OSX: 64 bit
 * LLVM: 3.0

 Things fail because the correct 32bit mode flag isn't being passed to the
 clang compiler used by the LLVM backend as the assembler.


 Work around for now is to compile using:
 {{{
 $ ghc -opta-m32 -fllvm
 }}}

 But need to fix for 7.4.2

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


[GHC] #5904: panic on :m *SomeModule followed by :reload, if SomeModule is already in scope

2012-02-28 Thread GHC
#5904: panic on :m *SomeModule followed by :reload, if SomeModule is already in
scope
-+--
 Reporter:  SimonHengel  |  Owner:
 Type:  bug  | Status:  new   
 Priority:  normal   |  Component:  GHCi  
  Version:  7.4.1|   Keywords:
   Os:  Linux|   Architecture:  x86_64 (amd64)
  Failure:  GHCi crash   |   Testcase:
Blockedby:   |   Blocking:
  Related:   |  
-+--
 Steps to reproduce:

 {{{
 $ echo 'foo = 23'  Main.hs  ghci Main.hs
 *Main :m *Main
 *Main :reload
 *Main *Main foo
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for x86_64-unknown-linux):
 plusProv

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

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5904
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] #5897: GHC runtime task workers are not released with C FFI

2012-02-28 Thread GHC
#5897: GHC runtime task workers are not released with C FFI
--+-
 Reporter:  sanketr   |  Owner:
 Type:  bug   | Status:  new   
 Priority:  normal|  Component:  Runtime System
  Version:  7.4.1 |   Keywords:  worker, ffi   
   Os:  Unknown/Multiple  |   Architecture:  x86_64 (amd64)
  Failure:  None/Unknown  |   Testcase:
Blockedby:|   Blocking:
  Related:  #4262 |  
--+-
Changes (by sanketr):

  * related:  4262 = #4262


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5897#comment:2
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] #5897: GHC runtime task workers are not released with C FFI

2012-02-28 Thread GHC
#5897: GHC runtime task workers are not released with C FFI
--+-
 Reporter:  sanketr   |  Owner:
 Type:  bug   | Status:  new   
 Priority:  normal|  Component:  Runtime System
  Version:  7.4.1 |   Keywords:  worker, ffi   
   Os:  Unknown/Multiple  |   Architecture:  x86_64 (amd64)
  Failure:  None/Unknown  |   Testcase:
Blockedby:|   Blocking:
  Related:  #4262 |  
--+-

Comment(by sanketr):

 In case this helps locate the cause of the issue further, this is what I
 got once on Mac when causing seg fault (I commented out mutex
 locking/unlocking in C sendSignal function - so, it was just mvar callback
 at that point when this error happened):

 internal error: ARR_WORDS object entered!
 (GHC version 7.4.1 for x86_64_apple_darwin)
 Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

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


Re: [GHC] #5897: GHC runtime task workers are not released with C FFI

2012-02-28 Thread GHC
#5897: GHC runtime task workers are not released with C FFI
--+-
 Reporter:  sanketr   |  Owner:
 Type:  bug   | Status:  new   
 Priority:  normal|  Component:  Runtime System
  Version:  7.4.1 |   Keywords:  worker, ffi   
   Os:  Unknown/Multiple  |   Architecture:  x86_64 (amd64)
  Failure:  None/Unknown  |   Testcase:
Blockedby:|   Blocking:
  Related:  #4262 |  
--+-

Comment(by sanketr):

 Edit: it wasn't seg fault as I noted above. I was trying to cause seg
 fault, but got the above error instead, once. Can't reproduce it again.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5897#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] #5897: GHC runtime task workers are not released with C FFI

2012-02-28 Thread GHC
#5897: GHC runtime task workers are not released with C FFI
---+
Reporter:  sanketr |   Owner:  simonmar
Type:  bug |  Status:  new 
Priority:  highest |   Milestone:  7.4.2   
   Component:  Runtime System  | Version:  7.4.1   
Keywords:  worker, ffi |  Os:  Unknown/Multiple
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown
  Difficulty:  Unknown |Testcase:  
   Blockedby:  |Blocking:  
 Related:  #4262   |  
---+
Changes (by simonmar):

  * owner:  = simonmar
  * difficulty:  = Unknown
  * priority:  normal = highest
  * milestone:  = 7.4.2


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


[GHC] #5905: ghc with incorrect arguments deletes source file

2012-02-28 Thread GHC
#5905: ghc with incorrect arguments deletes source file
--+-
 Reporter:  dowski|  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Component:  Compiler
  Version:  7.0.3 |   Keywords:  
   Os:  Linux |   Architecture:  Unknown/Multiple
  Failure:  Compile-time performance bug  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-
 I'm just learning haskell and I mistakenly passed the -o argument to ghc
 instead of -c.  When combined with the -i argument (which I also
 mistakenly supplied, thinking of ghci), this unlinks the file named by -o.

 This is certainly a case of PEBKAC, but ghc should probably do something
 other than unlinking the file.

 {{{
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.0.3
 $ ls path/to/
 source.hs
 $ ghc -i . -o path/to/source.hs
 /usr/bin/ld: cannot find .: File format not recognized
 collect2: ld returned 1 exit status
 $ ls path/to/
 $
 }}}

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


[GHC] #5906: The 'Impossible' Happened, thread blocked indefinitely in an MVar operation

2012-02-28 Thread GHC
#5906: The 'Impossible' Happened, thread blocked indefinitely in an MVar 
operation
+---
 Reporter:  Falias  |  Owner:
 Type:  bug | Status:  new   
 Priority:  normal  |  Component:  GHCi  
  Version:  7.0.4   |   Keywords:
   Os:  Windows |   Architecture:  x86_64 (amd64)
  Failure:  GHCi crash  |   Testcase:
Blockedby:  |   Blocking:
  Related:  |  
+---
 Unable to reproduce but...
 Windows 7 64bit
 GHCi 7.0.4
 gcc 4.6.1

 While experimenting with displaying infinite lists (working in prompt),
 holding arrow key to alter a previously entered statement, received the
 message
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 7.0.4 for i386-unknown-mingw32):
 thread blocked indefinitely in an MVar operation

 (Great error message btw)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5906
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] #5897: GHC runtime task workers are not released with C FFI

2012-02-28 Thread GHC
#5897: GHC runtime task workers are not released with C FFI
---+
Reporter:  sanketr |   Owner:  simonmar
Type:  bug |  Status:  new 
Priority:  highest |   Milestone:  7.4.2   
   Component:  Runtime System  | Version:  7.4.1   
Keywords:  worker, ffi |  Os:  Unknown/Multiple
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown
  Difficulty:  Unknown |Testcase:  
   Blockedby:  |Blocking:  
 Related:  #4262   |  
---+

Comment(by sanketr):

 I am attaching simplified test code, the bare minimum that reproduces the
 bug of unreleased worker threads, and segmentation fault (on mac 10.7.2
 x86_64). The c FFI code is now much simpler.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5897#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] #2895: Implement the Class System Extension proposal

2012-02-28 Thread GHC
#2895: Implement the Class System Extension proposal
-+--
Reporter:  porges|   Owner:  
Type:  feature request   |  Status:  new 
Priority:  normal|   Milestone:  _|_ 
   Component:  Compiler  | Version:  6.10.1  
Keywords:  proposal  |  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by bgamari):

 * cc: bgamari@… (added)


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


Re: [GHC] #788: Implement class aliases and/or constraint synonyms

2012-02-28 Thread GHC
#788: Implement class aliases and/or constraint synonyms
--+-
 Reporter:  simonpj   |   Type:  feature request
   Status:  new   |   Priority:  normal 
Milestone:  _|_   |  Component:  Compiler (Type checker)
  Version:|   Keywords: 
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple   
  Failure:  None/Unknown  | Difficulty:  Unknown
 Testcase:  N/A   |  Blockedby: 
 Blocking:|Related: 
--+-
Changes (by bgamari):

 * cc: bgamari@… (added)


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