LLVMAddLoopIndexSplitPass link error #2

batterseapower opened this Issue Jun 8, 2011 · 1 comment


None yet

2 participants


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


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-
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.

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