#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
-------------------------------+--------------------------------------------
Comment(by tener):
Replying to [comment:2 dterei]:
> 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.
Do you mean that GHC HEAD should work fine? I tried but it failed with the
same error.
Also the script you provided doesn't solve the issue, unfortunately:
- $4 should be renamed to $5, at least on x86_64
- the errors are still the same
Perhaps on 64 bit platform labels have different handling still?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5103#comment:3>
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