Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Fedora 12 #102

Closed
vgivanovic opened this issue Jul 11, 2010 · 3 comments
Closed

Build fails on Fedora 12 #102

vgivanovic opened this issue Jul 11, 2010 · 3 comments

Comments

@vgivanovic
Copy link

I have an up-to-date Fedora 12 (Linux 2.6.33.5-124.fc13.x86_64 x86_64) with all the prerequisites, and the build fails with:

$ NO_VALGRIND=1 make check
cfg: building on Linux x86_64
cfg: unix-y environment
cfg: using gcc
cfg: using ocaml native compiler
cfg: building native compiler
cfg: using LLVM version 2.8svn
cfg: found llvm-config at /usr/local/llvm-2.8svn/bin/llvm-config
check: formatting
compile: boot/llvm/llasm.ml
File "boot/llvm/llasm.ml", line 118, characters 4-30:
Error: Unbound value Llvm.set_module_inline_asm
make: *** [boot/llvm/llasm.cmx] Error 2

My path includes /usr/local/llvm-2.8svn/bin which I got from the LLVM svn repository, built, tested and installed today with 'make happiness'.

@graydon
Copy link
Contributor

graydon commented Jul 11, 2010

Ah. The makefile autoconfigury is assuming that "having LLVM" means "having LLVM ocaml bindings", which is not true. As a short-term fix, I've disabled the LLVM backend by default (it's significantly more broken than the built-in one at present). I'll modify the logic later in the week to be more particular about sensing presence or absence of the ocaml bindings. Leaving this open for now.

@vgivanovic
Copy link
Author

Thanks. Disabling the LLVM backend allowed the build to complete.

@rillian
Copy link
Contributor

rillian commented Oct 22, 2010

There's now a check for the llvm bindings, so this issue should be resolved.

mbrubeck pushed a commit to mbrubeck/rust that referenced this issue Oct 17, 2011
oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add binding for memrchr on Linux
bjorn3 added a commit to bjorn3/rust that referenced this issue Dec 31, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants