[haskell-llvm] Adapting to LLVM-2.8 (Was: Very slow assembling and disassembling in LLVM-2.7)
Henning Thielemann
lemming at henning-thielemann.de
Wed Oct 6 14:31:35 EDT 2010
On Sat, 2 Oct 2010, David Terei wrote:
> I'll have to check but don't haven't been aware of it. Would be pretty
> easy for me to miss though.
>
> On the bright side, 2.8 will be out in a few days :) Grab an svn copy
> of it and see if that helps.
Ok, LLVM-2.8 is out now and I have installed it. Then I compiled
llvm-0.8.2 again, but when I try my List example I get:
llvm/examples> make List.exe
ghc -Wall -optl -w --make -o List.exe -main-is List.main List.hs
[1 of 1] Compiling List ( List.hs, List.o )
Linking List.exe ...
/home/thielema/.cabal/lib/llvm-0.8.2.0/ghc-6.12.3/libHSllvm-0.8.2.0.a(Core.o):
In function `seq6_info':
(.text+0x127fd): undefined reference to `LLVMConstUnion'
/home/thielema/.cabal/lib/llvm-0.8.2.0/ghc-6.12.3/libHSllvm-0.8.2.0.a(Core.o):
In function `serf_info':
(.text+0x128b1): undefined reference to `LLVMCountUnionElementTypes'
/home/thielema/.cabal/lib/llvm-0.8.2.0/ghc-6.12.3/libHSllvm-0.8.2.0.a(Core.o):
In function `sezG_info':
(.text+0x12dcd): undefined reference to `LLVMGetUnionElementTypes'
/home/thielema/.cabal/lib/llvm-0.8.2.0/ghc-6.12.3/libHSllvm-0.8.2.0.a(Core.o):
In function `seKk_info':
(.text+0x133c9): undefined reference to `LLVMUnionTypeInContext'
collect2: ld returned 1 exit status
make: *** [List.exe] Fehler 1
Do the LLVM developers occasionally remove or rename existing functions
and how to get to know how they were changed?
More information about the Haskell-llvm
mailing list