Skip to content

Build fails on Fedora 12 #102

Closed
Closed
@vgivanovic

Description

@vgivanovic

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

graydon commented on Jul 11, 2010

@graydon
Contributor

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

vgivanovic commented on Jul 11, 2010

@vgivanovic
Author

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

rillian

rillian commented on Oct 22, 2010

@rillian
Contributor

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

added a commit that references this issue on Oct 17, 2011
777002c
added a commit that references this issue on Jul 19, 2017
added a commit that references this issue on Dec 12, 2017

Merge pull request rust-lang#102 from fhahn/add-memrchr

added a commit that references this issue on Dec 9, 2021
1d36721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @graydon@vgivanovic@rillian

        Issue actions

          Build fails on Fedora 12 · Issue #102 · rust-lang/rust