Skip to content

Llvm_bitreader.Error while running tutorial01.byte #2

Open
@ckyhc

Description

@ckyhc

I followed your tutorial and installed all packages you mentioned except clang. The last one I have installed with llgo things like in this readme. Thus, I have clang 5.0.0.

So, this clang produced me hello.bc file and when I do
LD_LIBRARY_PATH=/usr/lib/ocaml/llvm-3.5/ ./build/tutorial01/src/tutorial01.byte ./hello.bc

I get error:
Fatal error: exception Llvm_bitreader.Error("Invalid type for value")

Thanks in advance,
Kseniia

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions