LLVMAddLoopIndexSplitPass link error #2

Closed
batterseapower opened this Issue Jun 8, 2011 · 1 comment

Projects

None yet

2 participants

@batterseapower
Contributor

Apparently Scalar.hsc still references LLVMAddLoopIndexSplitPass even though it has been removed:

http://www.mail-archive.com/llvmbugs@cs.uiuc.edu/msg10326.html

As a result, I'm getting link errors like this:

"""
$ ghc --make Main.hs
[1 of 1] Compiling Main ( Main.hs, Main.o )
Linking Main ...
Undefined symbols:
"_LLVMAddLoopIndexSplitPass", referenced from:
_smpv_info in libHSllvm-0.9.1.2.a(Scalar.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
"""

I'm not sure which versions of LLVM are affected. I'm using LLVM HEAD (as of today), so this may be a recent change.

Owner
bos commented Jun 8, 2011

Fixed in 23afe0c.

@bos bos closed this Jun 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment