Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

LLVMAddLoopIndexSplitPass link error #2

Closed
batterseapower opened this Issue · 1 comment

2 participants

@batterseapower

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.

@bos
Owner
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.