#5635: compiling iteratee with llvm backend fails with panic
---------------------------------+------------------------------------------
    Reporter:  jwlato            |       Owner:  dterei                  
        Type:  bug               |      Status:  new                     
    Priority:  normal            |   Component:  Compiler (LLVM)         
     Version:  7.2.1             |    Keywords:  llvm, LlvmMangler, panic
    Testcase:                    |   Blockedby:                          
          Os:  Unknown/Multiple  |    Blocking:                          
Architecture:  Unknown/Multiple  |     Failure:  Compile-time crash      
---------------------------------+------------------------------------------
Changes (by jwlato):

  * status:  infoneeded => new


Comment:

 The .ll file is too big to attach, but I've put it at
 http://www.tiresiaspress.us/other/Char.ll

 I haven't changed the iteratee source; I just tried building from a fresh
 "cabal unpack".

 I've double-check the ghc version (7.2.1 x64 and 7.2.2 x64), but is there
 a good way to check the llvm version?  I should only have 2.9 installed,
 and e.g. llvm-ld --version shows

 {{{
 $ llvm-ld --version
 Low Level Virtual Machine (http://llvm.org/):
   llvm version 2.9
   Optimized build.
   Built Nov 15 2011 (03:37:10).
   Host: x86_64-apple-darwin11
   Host CPU: i686

   Registered Targets:
     (none)
 }}}

 Also, the panic only happens when building with profiling enabled.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5635#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to