Ticket #5103 (closed bug: fixed)
LLVM backend broken with LLVM 2.9
Description
Even simplest programs like
module Main where main = return ()
Fail when compiled with -fllvm
The error is:
ghc -fllvm --make llvm.hs
[1 of 1] Compiling Main ( llvm.hs, llvm.o )
/tmp/ghc3024_0/ghc3024_0.s: Assembler messages:
/tmp/ghc3024_0/ghc3024_0.s:175:0:
Error: can't resolve `Main_main_srt' {.rodata section} - `Main_main_info' {.text; .text 6# section}
/tmp/ghc3024_0/ghc3024_0.s:185:0:
Error: can't resolve `ZCMain_main_srt' {.rodata section} - `ZCMain_main_info' {.text; .text 12# section}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

