#5103: LLVM backeng broken with LLVM 2.9
-------------------------------+--------------------------------------------
    Reporter:  tener           |       Owner:  dterei         
        Type:  bug             |      Status:  new            
    Priority:  normal          |   Component:  Compiler (LLVM)
     Version:  7.1             |    Keywords:                 
    Testcase:                  |   Blockedby:                 
          Os:  Linux           |    Blocking:                 
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown   
-------------------------------+--------------------------------------------
Changes (by dterei):

  * owner:  davidterei@… => dterei


Comment:

 Yeah this is a known issue. On Mac OS X things should work but on Linux
 and Windows LLVM has changed how section labels are handled and so this is
 the problem.

 A work around is this. Put the attached script on your path before the
 system 'as' program so it runs instead. Basically the script runs sed over
 the assembly to fix up the labels before running 'as' as usual.

 Otherwise you'll have to wait for the next GHC release. LLVM 2.9 works
 fine otherwise. I actually helped fix 2 fairly major bugs in the RC's to
 make sure of this.

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

Reply via email to