Closed
Description
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'.
Activity
graydon commentedon 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 commentedon Jul 11, 2010
Thanks. Disabling the LLVM backend allowed the build to complete.
rillian commentedon Oct 22, 2010
There's now a check for the llvm bindings, so this issue should be resolved.
Fix LLVM-detection logic to notice when we have, or don't have, the o…
Merge pull request rust-lang#102 from oli-obk/rustup
Merge pull request rust-lang#102 from fhahn/add-memrchr
Change create_object_file to a Result to better indicate failure. Fixes
Remove unused dependency on object (rust-lang#102)
query stack during panic
after ICE #112522Contracts and Harnesses for `unchecked_neg` (rust-lang#102)