Skip to content

Instantly share code, notes, and snippets.

@jessicah
Created September 3, 2017 20:58
Show Gist options
  • Save jessicah/a85359ab855e6992737ec0ed87da56cc to your computer and use it in GitHub Desktop.
Save jessicah/a85359ab855e6992737ec0ed87da56cc to your computer and use it in GitHub Desktop.
Rust at 24055d0f2aa8dce5caed7544e6006aa48dceaea5
error: failed to run custom build command for `rustc_llvm v0.0.0 (file:///home/jessicah/rust/src/librustc_llvm)`
process didn't exit successfully: `/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/build/rustc_llvm-e075265e763f3f29/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-cfg=cargobuild
cargo:rerun-if-changed=/home/jessicah/cross/bin/llvm-config
cargo:rustc-cfg=llvm_component="aarch64"
cargo:rustc-cfg=llvm_component="arm"
cargo:rustc-cfg=llvm_component="asmparser"
cargo:rustc-cfg=llvm_component="bitreader"
cargo:rustc-cfg=llvm_component="bitwriter"
cargo:rustc-cfg=llvm_component="instrumentation"
cargo:rustc-cfg=llvm_component="interpreter"
cargo:rustc-cfg=llvm_component="ipo"
cargo:rustc-cfg=llvm_component="linker"
cargo:rustc-cfg=llvm_component="mcjit"
cargo:rustc-cfg=llvm_component="mips"
cargo:rustc-cfg=llvm_component="msp430"
cargo:rustc-cfg=llvm_component="nvptx"
cargo:rustc-cfg=llvm_component="powerpc"
cargo:rustc-cfg=llvm_component="sparc"
cargo:rustc-cfg=llvm_component="systemz"
cargo:rustc-cfg=llvm_component="x86"
cargo:rerun-if-changed=../rustllvm/PassWrapper.cpp
cargo:rerun-if-changed=../rustllvm/RustWrapper.cpp
cargo:rerun-if-changed=../rustllvm/ArchiveWrapper.cpp
TARGET = Some("x86_64-unknown-haiku")
OPT_LEVEL = Some("2")
PROFILE = Some("release")
TARGET = Some("x86_64-unknown-haiku")
debug=false opt-level=2
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-haiku")
TARGET = Some("x86_64-unknown-haiku")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-haiku = None
CXX_x86_64_unknown_haiku = None
TARGET_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
CROSS_COMPILE = None
TARGET = Some("x86_64-unknown-haiku")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-haiku = None
CXXFLAGS_x86_64_unknown_haiku = None
TARGET_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O2" "-ffunction-sections" "-fdata-sections" "-m64" "-fPIC" "-I//haiku-cross/sysroot/boot/system/develop/headers" "-fPIC" "-fvisibility-inlines-hidden" "-Wall" "-W" "-Wno-unused-parameter" "-Wwrite-strings" "-Wcast-qual" "-Wno-missing-field-initializers" "-pedantic" "-Wno-long-long" "-Wno-maybe-uninitialized" "-Wdelete-non-virtual-dtor" "-Wno-comment" "-Werror=date-time" "-std=c++11" "-ffunction-sections" "-fdata-sections" "-O3" "-DNDEBUG" "-fno-exceptions" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DLLVM_COMPONENT_AARCH64" "-DLLVM_COMPONENT_ARM" "-DLLVM_COMPONENT_ASMPARSER" "-DLLVM_COMPONENT_BITREADER" "-DLLVM_COMPONENT_BITWRITER" "-DLLVM_COMPONENT_INSTRUMENTATION" "-DLLVM_COMPONENT_INTERPRETER" "-DLLVM_COMPONENT_IPO" "-DLLVM_COMPONENT_LINKER" "-DLLVM_COMPONENT_MCJIT" "-DLLVM_COMPONENT_MIPS" "-DLLVM_COMPONENT_MSP430" "-DLLVM_COMPONENT_NVPTX" "-DLLVM_COMPONENT_POWERPC" "-DLLVM_COMPONENT_SPARC" "-DLLVM_COMPONENT_SYSTEMZ" "-DLLVM_COMPONENT_X86" "-o" "/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-haiku/release/build/rustc_llvm-c62dd47b4f641ddc/out/../rustllvm/PassWrapper.o" "-c" "../rustllvm/PassWrapper.cpp"
cargo:warning=In file included from ../rustllvm/PassWrapper.cpp:13:0:
cargo:warning=../rustllvm/rustllvm.h:11:30: fatal error: llvm-c/BitReader.h: No such file or directory
cargo:warning= #include "llvm-c/BitReader.h"
cargo:warning= ^
cargo:warning=compilation terminated.
ExitStatus(ExitStatus(256))
command did not execute successfully, got: exit code: 1
--- stderr
thread 'main' panicked at 'explicit panic', /home/jessicah/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.40/src/lib.rs:1006
note: Run with `RUST_BACKTRACE=1` for a backtrace.
command did not execute successfully: "/home/jessicah/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "-j" "16" "--target" "x86_64-unknown-haiku" "--release" "--features" "" "--manifest-path" "/home/jessicah/rust/src/rustc/Cargo.toml"
expected success, got: exit code: 101
jessicah@rustbootstrap:~/rust$ ls ../cross/sysroot/boot/system/develop/headers/llvm-c/
Analysis.h BitWriter.h Disassembler.h ExecutionEngine.h IRReader.h LinkTimeOptimizer.h Object.h Support.h TargetMachine.h Types.h
BitReader.h Core.h ErrorHandling.h Initialization.h Linker.h lto.h OrcBindings.h Target.h Transforms
jessicah@rustbootstrap:~/rust$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment