Comments (5)
23a80ea seems to have fixed this.
from bfc.
I cloned the most recent master, and it didn't fix it for me. I'm using a fresh install of Gentoo Linux.
[arni][~/src/bfc][master]% cargo build --release --verbose
Fresh lazy_static v1.4.0
Fresh regex-syntax v0.6.14
Fresh semver-parser v0.7.0
Fresh cc v1.0.50
Fresh unicode-width v0.1.7
Fresh matches v0.1.8
Fresh itertools v0.4.19
Fresh ansi_term v0.9.0
Fresh thread_local v1.0.1
Fresh memchr v2.3.0
Fresh libc v0.2.66
Fresh semver v0.9.0
Fresh getopts v0.2.21
Fresh aho-corasick v0.7.7
Fresh rand v0.4.6
Fresh regex v1.3.4
Fresh rand v0.3.23
Fresh tempfile v2.2.0
Fresh llvm-sys v80.1.2
Compiling bfc v1.8.0 (/home/arni/src/bfc)
Running `rustc --crate-name bfc src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=41f48e523d88ce6c -C extra-filename=-41f48e523d88ce6c --out-dir /home/arni/src/bfc/target/release/deps -L dependency=/home/arni/src/bfc/target/release/deps --extern ansi_term=/home/arni/src/bfc/target/release/deps/libansi_term-ae8d49a5b9b73184.rlib --extern getopts=/home/arni/src/bfc/target/release/deps/libgetopts-c46d67f0ffc1131d.rlib --extern itertools=/home/arni/src/bfc/target/release/deps/libitertools-c620c3319d61d000.rlib --extern llvm_sys=/home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib --extern matches=/home/arni/src/bfc/target/release/deps/libmatches-b4ff4a474b7aedf5.rlib --extern tempfile=/home/arni/src/bfc/target/release/deps/libtempfile-b223a620fd8ba7cb.rlib -C target-cpu=native -L native=/home/arni/src/bfc/target/release/build/llvm-sys-4e87a2be44f0f5f4/out -L native=/usr/lib/llvm/9/lib64`
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.0.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.1.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.10.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.11.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.12.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.13.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.14.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.15.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.2.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.4.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.5.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.6.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.7.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.8.rcgu.o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.9.rcgu.o" "-o" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c" "/home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.2cdxdy1jcu9yqgz1.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/arni/src/bfc/target/release/deps" "-L" "/home/arni/src/bfc/target/release/build/llvm-sys-4e87a2be44f0f5f4/out" "-L" "/usr/lib/llvm/9/lib64" "-L" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/arni/src/bfc/target/release/deps/libmatches-b4ff4a474b7aedf5.rlib" "/home/arni/src/bfc/target/release/deps/libtempfile-b223a620fd8ba7cb.rlib" "/home/arni/src/bfc/target/release/deps/librand-498c74ab8f02a4eb.rlib" "/home/arni/src/bfc/target/release/deps/librand-f73a5f6af10df1d9.rlib" "/home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib" "/home/arni/src/bfc/target/release/deps/liblibc-5cc997263ec9d596.rlib" "/home/arni/src/bfc/target/release/deps/libitertools-c620c3319d61d000.rlib" "/home/arni/src/bfc/target/release/deps/libgetopts-c46d67f0ffc1131d.rlib" "/home/arni/src/bfc/target/release/deps/libunicode_width-397b6227577b65ae.rlib" "/home/arni/src/bfc/target/release/deps/libansi_term-ae8d49a5b9b73184.rlib" "-Wl,--start-group" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9d59e25e2eb2384d.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4affccee0db9d60e.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cd6b495608e342d1.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-347d88a586b28b4c.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-46f3dc0b263b900a.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6789aa6fbcfdf14c.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9f9436f1ab051941.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ad8ec269e6d86d01.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-3699f95d33475c27.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fe798441633702e1.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-979288990efe6065.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2181f1e1dd7399d7.rlib" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b8952fd765001238.rlib" "-Wl,--end-group" "/opt/rust-bin-1.41.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e99fedbd2b621435.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
= note: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `core::ptr::real_drop_in_place':
bfc.1cccbn85-cgu.3:(.text._ZN4core3ptr18real_drop_in_place17h1443a00507248e66E+0x5): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `core::ptr::real_drop_in_place':
bfc.1cccbn85-cgu.3:(.text._ZN4core3ptr18real_drop_in_place17h264fcfe4f95e3415E+0x10): undefined reference to `LLVMDisposeModule'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `core::ptr::real_drop_in_place':
bfc.1cccbn85-cgu.3:(.text._ZN4core3ptr18real_drop_in_place17h5077c15ba3044512E+0x5): undefined reference to `LLVMDisposeTargetMachine'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `bfc::llvm::Module::to_cstring':
bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm6Module10to_cstring17hebc9ba7472062212E+0xe): undefined reference to `LLVMPrintModuleToString'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm6Module10to_cstring17hebc9ba7472062212E+0x58): undefined reference to `LLVMDisposeMessage'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `bfc::llvm::add_function_call':
bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17add_function_call17hc5462d90ed1820faE+0x25): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17add_function_call17hc5462d90ed1820faE+0x39): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17add_function_call17hc5462d90ed1820faE+0x60): undefined reference to `LLVMGetNamedFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17add_function_call17hc5462d90ed1820faE+0x89): undefined reference to `LLVMBuildCall'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17add_function_call17hc5462d90ed1820faE+0x95): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `bfc::llvm::add_current_cell_access':
bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm23add_current_cell_access17h989c11390eaacfb1E+0x1b): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm23add_current_cell_access17h989c11390eaacfb1E+0x2e): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm23add_current_cell_access17h989c11390eaacfb1E+0x51): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm23add_current_cell_access17h989c11390eaacfb1E+0xb1): undefined reference to `LLVMBuildGEP'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm23add_current_cell_access17h989c11390eaacfb1E+0xd7): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm23add_current_cell_access17h989c11390eaacfb1E+0xf6): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `bfc::llvm::compile_instr':
bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x4b): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x63): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x86): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x8f): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x9d): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xc9): undefined reference to `LLVMBuildAdd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x136): undefined reference to `LLVMBuildGEP'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x15c): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x165): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x175): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x19e): undefined reference to `LLVMBuildAdd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x1ad): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x200): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x22a): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x23f): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x250): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x270): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x293): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x2ae): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x2d4): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x2e1): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x31d): undefined reference to `LLVMBuildICmp'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x331): undefined reference to `LLVMBuildCondBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x371): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x37a): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x387): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x393): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x3a6): undefined reference to `LLVMGetFirstBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x3b2): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x3c8): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x428): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x436): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x44d): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x464): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x487): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x4e7): undefined reference to `LLVMBuildGEP'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x53d): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x566): undefined reference to `LLVMBuildTrunc'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x577): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x596): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x5aa): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x5c4): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x5ed): undefined reference to `LLVMBuildSExt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x676): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x68e): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x6b1): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x6ba): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x6c8): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x6f1): undefined reference to `LLVMBuildAdd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x700): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x724): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x73c): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x75f): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x768): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x776): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x79f): undefined reference to `LLVMBuildAdd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x7ff): undefined reference to `LLVMBuildGEP'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x808): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x818): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x827): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x871): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x8a5): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x8bc): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x8e5): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x8f2): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x922): undefined reference to `LLVMBuildICmp'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x93b): undefined reference to `LLVMBuildCondBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x947): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x94d): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x95a): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0x96b): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xa79): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xa87): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xad1): undefined reference to `LLVMBuildGEP'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xafd): undefined reference to `LLVMBuildLoad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xbba): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xbc8): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xbfa): undefined reference to `LLVMBuildMul'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xc27): undefined reference to `LLVMBuildAdd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xc38): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xcb3): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm13compile_instr17hf7593ddf809e9e52E+0xcbc): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `bfc::llvm::compile_to_module':
bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x6a): undefined reference to `LLVMModuleCreateWithName'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x154): undefined reference to `LLVMGetDefaultTargetTriple'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x17b): undefined reference to `LLVMDisposeMessage'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x1af): undefined reference to `LLVMSetTarget'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x1b5): undefined reference to `LLVMVoidType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x1c1): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x1ce): undefined reference to `LLVMPointerType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x1dd): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x1ef): undefined reference to `LLVMInt1Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x21f): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x247): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x24d): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x257): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x262): undefined reference to `LLVMPointerType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x275): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x2a2): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x2a8): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x2b3): undefined reference to `LLVMPointerType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x2ca): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x2f7): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x303): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x30e): undefined reference to `LLVMPointerType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x338): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x365): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x382): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x3af): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x3b5): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x3c7): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x3f4): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x476): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x488): undefined reference to `LLVMFunctionType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x4b5): undefined reference to `LLVMAddFunction'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x4da): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x507): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x545): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x561): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x568): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x5c9): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x64d): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x66b): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x67c): undefined reference to `LLVMArrayType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x690): undefined reference to `LLVMConstArray'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x6bd): undefined reference to `LLVMAddGlobal'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x6cc): undefined reference to `LLVMSetInitializer'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x6da): undefined reference to `LLVMSetGlobalConstant'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x6e1): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x6f0): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x718): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x723): undefined reference to `LLVMPointerType'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x753): undefined reference to `LLVMBuildPointerCast'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x7cb): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x7fd): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x819): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x81f): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x82d): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x8a3): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x8aa): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x8ca): undefined reference to `LLVMInt1Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x8f5): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x904): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x910): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x919): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0x98d): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xa00): undefined reference to `LLVMInt8Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xa0a): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xaba): undefined reference to `LLVMBuildGEP'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xb9c): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xbf7): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc09): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc21): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc27): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc57): undefined reference to `LLVMBuildAlloca'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc60): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc6e): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc7d): undefined reference to `LLVMBuildStore'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xc86): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xcd9): undefined reference to `LLVMAppendBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xcf0): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xcfd): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xd09): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xd1f): undefined reference to `LLVMGetFirstBasicBlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xd2b): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xd3a): undefined reference to `LLVMBuildBr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xd43): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xda2): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xdb6): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe3c): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe45): undefined reference to `LLVMCreateBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe54): undefined reference to `LLVMPositionBuilderAtEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe5a): undefined reference to `LLVMInt32Type'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe67): undefined reference to `LLVMConstInt'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe73): undefined reference to `LLVMBuildRet'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17compile_to_module17h7e5748603fe08698E+0xe7c): undefined reference to `LLVMDisposeBuilder'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.3.rcgu.o: in function `bfc::llvm::write_object_file':
bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17write_object_file17h8db4335fef55442dE+0x22): undefined reference to `LLVMGetTarget'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17write_object_file17h8db4335fef55442dE+0x4a): undefined reference to `LLVMGetTargetFromTriple'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17write_object_file17h8db4335fef55442dE+0x117): undefined reference to `LLVMCreateTargetMachine'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17write_object_file17h8db4335fef55442dE+0x1b2): undefined reference to `LLVMTargetMachineEmitToFile'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.3:(.text._ZN3bfc4llvm17write_object_file17h8db4335fef55442dE+0x1c3): undefined reference to `LLVMDisposeTargetMachine'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.6.rcgu.o: in function `core::ptr::real_drop_in_place':
bfc.1cccbn85-cgu.6:(.text._ZN4core3ptr18real_drop_in_place17h264fcfe4f95e3415E+0x10): undefined reference to `LLVMDisposeModule'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/bfc-41f48e523d88ce6c.bfc.1cccbn85-cgu.6.rcgu.o: in function `bfc::main':
bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x234): undefined reference to `LLVMGetDefaultTargetTriple'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x25b): undefined reference to `LLVMDisposeMessage'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1dd9): undefined reference to `LLVMPassManagerBuilderCreate'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1de7): undefined reference to `LLVMPassManagerBuilderSetOptLevel'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1ded): undefined reference to `LLVMCreatePassManager'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1dfc): undefined reference to `LLVMPassManagerBuilderPopulateModulePassManager'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1e05): undefined reference to `LLVMPassManagerBuilderDispose'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1e14): undefined reference to `LLVMRunPassManager'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x1e2f): undefined reference to `LLVMDisposePassManager'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x23dc): undefined reference to `LLVMDisposeModule'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bfc.1cccbn85-cgu.6:(.text._ZN3bfc4main17h9942b690b39d47a4E+0x297d): undefined reference to `LLVMDisposeModule'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib(target.o): in function `LLVM_InitializeAllTargetInfos':
target.c:(.text.LLVM_InitializeAllTargetInfos+0x5): undefined reference to `LLVMInitializeX86TargetInfo'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargetInfos+0xa): undefined reference to `LLVMInitializeAMDGPUTargetInfo'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargetInfos+0xf): undefined reference to `LLVMInitializeBPFTargetInfo'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargetInfos+0x18): undefined reference to `LLVMInitializeNVPTXTargetInfo'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib(target.o): in function `LLVM_InitializeAllTargets':
target.c:(.text.LLVM_InitializeAllTargets+0x5): undefined reference to `LLVMInitializeX86Target'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargets+0xa): undefined reference to `LLVMInitializeAMDGPUTarget'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargets+0xf): undefined reference to `LLVMInitializeBPFTarget'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargets+0x18): undefined reference to `LLVMInitializeNVPTXTarget'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib(target.o): in function `LLVM_InitializeAllTargetMCs':
target.c:(.text.LLVM_InitializeAllTargetMCs+0x5): undefined reference to `LLVMInitializeX86TargetMC'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargetMCs+0xa): undefined reference to `LLVMInitializeAMDGPUTargetMC'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargetMCs+0xf): undefined reference to `LLVMInitializeBPFTargetMC'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllTargetMCs+0x18): undefined reference to `LLVMInitializeNVPTXTargetMC'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib(target.o): in function `LLVM_InitializeAllAsmPrinters':
target.c:(.text.LLVM_InitializeAllAsmPrinters+0x5): undefined reference to `LLVMInitializeX86AsmPrinter'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllAsmPrinters+0xa): undefined reference to `LLVMInitializeAMDGPUAsmPrinter'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllAsmPrinters+0xf): undefined reference to `LLVMInitializeBPFAsmPrinter'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllAsmPrinters+0x18): undefined reference to `LLVMInitializeNVPTXAsmPrinter'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib(target.o): in function `LLVM_InitializeAllAsmParsers':
target.c:(.text.LLVM_InitializeAllAsmParsers+0x5): undefined reference to `LLVMInitializeX86AsmParser'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllAsmParsers+0xa): undefined reference to `LLVMInitializeAMDGPUAsmParser'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: target.c:(.text.LLVM_InitializeAllAsmParsers+0x13): undefined reference to `LLVMInitializeBPFAsmParser'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile `bfc`.
Caused by:
process didn't exit successfully: `rustc --crate-name bfc src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=41f48e523d88ce6c -C extra-filename=-41f48e523d88ce6c --out-dir /home/arni/src/bfc/target/release/deps -L dependency=/home/arni/src/bfc/target/release/deps --extern ansi_term=/home/arni/src/bfc/target/release/deps/libansi_term-ae8d49a5b9b73184.rlib --extern getopts=/home/arni/src/bfc/target/release/deps/libgetopts-c46d67f0ffc1131d.rlib --extern itertools=/home/arni/src/bfc/target/release/deps/libitertools-c620c3319d61d000.rlib --extern llvm_sys=/home/arni/src/bfc/target/release/deps/libllvm_sys-cde0bf14eac4515a.rlib --extern matches=/home/arni/src/bfc/target/release/deps/libmatches-b4ff4a474b7aedf5.rlib --extern tempfile=/home/arni/src/bfc/target/release/deps/libtempfile-b223a620fd8ba7cb.rlib -C target-cpu=native -L native=/home/arni/src/bfc/target/release/build/llvm-sys-4e87a2be44f0f5f4/out -L native=/usr/lib/llvm/9/lib64` (exit code: 1)
from bfc.
$ rustc --version
rustc 1.42.0-nightly (cd1ef390e 2020-01-31)
$ cargo build --release
Compiling memchr v2.3.0
Compiling libc v0.2.66
Compiling lazy_static v1.4.0
Compiling regex-syntax v0.6.14
Compiling semver-parser v0.7.0
Compiling cc v1.0.50
Compiling unicode-width v0.1.7
Compiling itertools v0.4.19
Compiling matches v0.1.8
Compiling ansi_term v0.9.0
Compiling thread_local v1.0.1
Compiling semver v0.9.0
Compiling getopts v0.2.21
Compiling aho-corasick v0.7.7
Compiling rand v0.4.6
Compiling regex v1.3.4
Compiling rand v0.3.23
Compiling tempfile v2.2.0
Compiling llvm-sys v80.1.2
Compiling bfc v1.8.0 (/home/wilfred/projects/bfc)
Finished release [optimized] target(s) in 55.25s
What nightly are you on?
from bfc.
[arni][~]% rustc --version
rustc 1.41.0 (5e1a79984 2020-01-27)
from bfc.
I get this for both the current stable 1.43.1, and the current nightly 1.45.0
Running Ubuntu in WSL2
marcus@DESKTOP-GF3DT5F:~/Dev/bf_stuff/bfc$ cargo build --release
Compiling memchr v2.3.0
Compiling libc v0.2.66
Compiling lazy_static v1.4.0
Compiling regex-syntax v0.6.14
Compiling semver-parser v0.7.0
Compiling cc v1.0.50
Compiling unicode-width v0.1.7
Compiling matches v0.1.8
Compiling ansi_term v0.9.0
Compiling itertools v0.4.19
Compiling thread_local v1.0.1
Compiling getopts v0.2.21
Compiling semver v0.9.0
Compiling aho-corasick v0.7.7
Compiling rand v0.4.6
Compiling rand v0.3.23
Compiling tempfile v2.2.0
Compiling regex v1.3.4
Compiling llvm-sys v80.1.2
Compiling bfc v1.8.0 (/home/marcus/Dev/bf_stuff/bfc)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.0.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.1.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.10.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.11.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.12.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.13.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.14.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.15.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.2.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.3.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.4.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.5.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.6.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.7.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.8.rcgu.o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.bfc.8rp4442y-cgu.9.rcgu.o" "-o" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/bfc-96d6e63e2e7b09e3.2z5kpgsno21kotdk.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps" "-L" "/home/marcus/Dev/bf_stuff/bfc/target/release/build/llvm-sys-292c78f14cdd104d/out" "-L" "/usr/lib/llvm-8/lib" "-L" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libmatches-d81ea5de58d59e95.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libtempfile-40bc5bfa3731c224.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/librand-273867f3c1c103fe.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/librand-d09323969ae6618c.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libllvm_sys-96c186f96b817c63.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/liblibc-2927373a27dce213.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libitertools-4bbc2b50fc3702f9.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libgetopts-714196b4d7f347ca.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libunicode_width-bfb71e551dab2849.rlib" "/home/marcus/Dev/bf_stuff/bfc/target/release/deps/libansi_term-3106df05e9744040.rlib" "-Wl,--start-group" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3859b7e52a41a8fd.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b6f63fdced5391b3.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f1162cb368d8a940.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-3a410b3342175ea9.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8465780e2e7f26a2.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-dc606003556dfe9c.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9b57db8474cf9a25.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-eb5c673507e106bb.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6bfbf42e528a9aa0.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bd6281bbe193935c.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1ca9bb8ed5fdbc90.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d0d38ef150f70011.rlib" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0d0018c00d4fd6be.rlib" "-Wl,--end-group" "/home/marcus/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2541f1e09df1c67d.rlib" "-Wl,-Bdynamic" "-lz" "-lrt" "-ldl" "-ltinfo" "-lpthread" "-lm" "-lstdc++" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
= note: /usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile `bfc`.
To learn more, run the command again with --verbose.
from bfc.
Related Issues (20)
- Beautiful Project! HOT 1
- Add REPL
- Max cell index HOT 1
- Missing License HOT 1
- Warnings sent to stdout
- Can this become a library on crates.io? HOT 3
- strip behave different for linux and mac
- Possible additions HOT 1
- Linker fails HOT 3
- Compilation time is exponential wrt. source size HOT 3
- "Pass is not initialized" on LLVM 8 HOT 10
- bfc hangs due to compile-time evaluation HOT 4
- cannot use `state` because it was mutably borrowed
- cargo build --release returns errors E0503 and E0592 (cannot use `state` because it was mutably borrowed) HOT 13
- Take in inputs on multiple lines
- Add license
- Core dump in LLVMBuildCall HOT 2
- Soundness issue in annotate_known_zero
- Mangled output of ANSI escape sequences in v1.11.0 and master branch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfc.