Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


LLVMAddLoopIndexSplitPass link error #2

batterseapower opened this Issue · 1 comment

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

Fixed in 23afe0c.

@bos bos closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.