In trying to build rust on a system with a llvm package built with LLVM_ENABLE_FFI that includes a shared libLLVM linked against libffi
https://marc.info/?l=3Dopenbsd-ports&m=3D151870701912987&w=3D2 /usr/local/lib/libLLVM-5.0.so 0x0000000000000001 (NEEDED) Shared library: [libffi.so.1.2] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.25.1] 0x0000000000000001 (NEEDED) Shared library: [libz.so.5.0] 0x0000000000000001 (NEEDED) Shared library: [libm.so.10.0] 0x0000000000000001 (NEEDED) Shared library: [libc++.so.1.0] 0x0000000000000001 (NEEDED) Shared library: [libc++abi.so.0.0] U ffi_call U ffi_prep_cif U ffi_type_double U ffi_type_float U ffi_type_pointer U ffi_type_sint16 U ffi_type_sint32 U ffi_type_sint64 U ffi_type_sint8 U ffi_type_void I see the following failure, which is similiar to https://github.com/rust-lang/rust/issues/39880 /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0= -rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b1005c5e1bf.so 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.25.1] 0x0000000000000001 (NEEDED) Shared library: [libz.so.5.0] 0x0000000000000001 (NEEDED) Shared library: [libm.so.10.0] 0x0000000000000001 (NEEDED) Shared library: [libc++.so.1.0] 0x0000000000000001 (NEEDED) Shared library: [libstd-3b6b56d8c88= cdc51.so] 0x0000000000000001 (NEEDED) Shared library: [libc++abi.so.0.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.92.3] U ffi_call U ffi_prep_cif U ffi_type_double U ffi_type_float U ffi_type_pointer U ffi_type_sint16 U ffi_type_sint32 U ffi_type_sint64 U ffi_type_sint8 U ffi_type_void Compiling rustc-main v0.0.0 (file:///usr/ports/pobj/rust-1.24.0/rustc-1.= 24.0-src/src/rustc) Running `/usr/ports/pobj/rust-1.24.0/build-amd64/build/bootstrap/debug= /rustc --crate-name rustc rustc/rustc.rs --error-format json --crate-type b= in --emit=3Ddep-info,link -C opt-level=3D2 --cfg 'feature=3D"jemalloc"' --c= fg 'feature=3D"llvm"' --cfg 'feature=3D"rustc_back"' --cfg 'feature=3D"rust= c_driver"' -C metadata=3Da84dc84e4f0334f7 -C extra-filename=3D-a84dc84e4f03= 34f7 --out-dir /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown= -openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps --target x86_64-u= nknown-openbsd -L dependency=3D/usr/ports/pobj/rust-1.24.0/build-amd64/buil= d/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps -= L dependency=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown= -openbsd/stage0-rustc/release/deps --extern rustc_back=3D/usr/ports/pobj/ru= st-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unkn= own-openbsd/release/deps/librustc_back-d5fc11b79e855d8c.so --extern rustc_d= river=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbs= d/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_driver-e1adaacc= 77d481ac.so -L native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_6= 4-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/backtra= ce-sys-b7ad29fc4a3c7b5a/out/.libs -L native=3D/usr/ports/pobj/rust-1.24.0/b= uild-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd= /release/build/miniz-sys-32b97495796da1b5/out -L native=3D/usr/ports/pobj/r= ust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unk= nown-openbsd/release/build/rustc_binaryen-53e24040dc201423/out/build/lib -L= native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/build/rustc_binaryen-53e240= 40dc201423/out -L native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x8= 6_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/rust= c_llvm-052f0139555b67fb/out -L native=3D/usr/local/lib` rustc command: "/usr/ports/pobj/rust-1.24.0/rustc-bootstrap-amd64-1.24.0-20= 180213/bin/rustc" "--crate-name" "rustc" "rustc/rustc.rs" "--crate-type" "b= in" "--emit=3Ddep-info,link" "-C" "opt-level=3D2" "--cfg" "feature=3D\"jema= lloc\"" "--cfg" "feature=3D\"llvm\"" "--cfg" "feature=3D\"rustc_back\"" "--= cfg" "feature=3D\"rustc_driver\"" "-C" "metadata=3Da84dc84e4f0334f7-rustc" = "-C" "extra-filename=3D-a84dc84e4f0334f7" "--out-dir" "/usr/ports/pobj/rust= -1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknow= n-openbsd/release/deps" "--target" "x86_64-unknown-openbsd" "-L" "dependenc= y=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/st= age0-rustc/x86_64-unknown-openbsd/release/deps" "-L" "dependency=3D/usr/por= ts/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/r= elease/deps" "--extern" "rustc_back=3D/usr/ports/pobj/rust-1.24.0/build-amd= 64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release= /deps/librustc_back-d5fc11b79e855d8c.so" "--extern" "rustc_driver=3D/usr/po= rts/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/= x86_64-unknown-openbsd/release/deps/librustc_driver-e1adaacc77d481ac.so" "-= L" "native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-o= penbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/backtrace-sys-b7ad= 29fc4a3c7b5a/out/.libs" "-L" "native=3D/usr/ports/pobj/rust-1.24.0/build-am= d64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/releas= e/build/miniz-sys-32b97495796da1b5/out" "-L" "native=3D/usr/ports/pobj/rust= -1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknow= n-openbsd/release/build/rustc_binaryen-53e24040dc201423/out/build/lib" "-L"= "native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-ope= nbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/rustc_binaryen-53e24= 040dc201423/out" "-L" "native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/bui= ld/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/build= /rustc_llvm-052f0139555b67fb/out" "-L" "native=3D/usr/local/lib" "--cfg" "s= tage1" "--sysroot" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-un= known-openbsd/stage0-sysroot" "-Cprefer-dynamic" "-C" "debug-assertions=3Dn= " "-Z" "force-unstable-if-unmarked" error: linking with `cc` failed: exit code: 1 | =3D note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/p= orts/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-sysro= ot/lib/rustlib/x86_64-unknown-openbsd/lib" "/usr/ports/pobj/rust-1.24.0/bui= ld-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/r= elease/deps/rustc-a84dc84e4f0334f7.rustc0-c9f59e7e0feb8e7b63ddb8890caecf.rs= =2Ercgu.o" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-op= enbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/rustc-a84dc84e4f0334= f7.rustc1-c9f59e7e0feb8e7b63ddb8890caecf.rs.rcgu.o" "-o" "/usr/ports/pobj/r= ust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unk= nown-openbsd/release/deps/rustc-a84dc84e4f0334f7" "/usr/ports/pobj/rust-1.2= 4.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-op= enbsd/release/deps/rustc-a84dc84e4f0334f7.crate.allocator.rcgu.o" "-Wl,--gc= -sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/u= sr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-r= ustc/x86_64-unknown-openbsd/release/deps" "-L" "/usr/ports/pobj/rust-1.24.0= /build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/release/deps" "-L" "= /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0= -rustc/x86_64-unknown-openbsd/release/build/backtrace-sys-b7ad29fc4a3c7b5a/= out/.libs" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unkno= wn-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/miniz-sys-32b9= 7495796da1b5/out" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_6= 4-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/rustc_b= inaryen-53e24040dc201423/out/build/lib" "-L" "/usr/ports/pobj/rust-1.24.0/b= uild-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd= /release/build/rustc_binaryen-53e24040dc201423/out" "-L" "/usr/ports/pobj/r= ust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unk= nown-openbsd/release/build/rustc_llvm-052f0139555b67fb/out" "-L" "/usr/loca= l/lib" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-o= penbsd/stage0-sysroot/lib/rustlib/x86_64-unknown-openbsd/lib" "-L" "/usr/po= rts/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/= x86_64-unknown-openbsd/release/deps" "-l" "rustc_driver-e1adaacc77d481ac" "= -L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/s= tage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_save_analysis-= 126e27651d9ee804" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_6= 4-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "r= ustc_resolve-364ff3f95bba3f57" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd6= 4/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/= deps" "-l" "rustc_borrowck-a67f60d03ae9d33b" "-L" "/usr/ports/pobj/rust-1.2= 4.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-op= enbsd/release/deps" "-l" "rustc_trans-bd9dc41cfa70c1b3" "-L" "/usr/ports/po= bj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64= -unknown-openbsd/release/deps" "-l" "rustc_llvm-03fe8b1005c5e1bf" "-L" "/us= r/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-ru= stc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_incremental-20b1be3a60= 661597" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-= openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_alloc= ator-4cacb7008867aaa6" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/= x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-= l" "rustc_plugin-2c588646397ede75" "-L" "/usr/ports/pobj/rust-1.24.0/build-= amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/rele= ase/deps" "-l" "rustc_metadata-03c813d57ee557b9" "-L" "/usr/ports/pobj/rust= -1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknow= n-openbsd/release/deps" "-l" "syntax_ext-05fe269c9092105e" "-L" "/usr/ports= /pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86= _64-unknown-openbsd/release/deps" "-l" "proc_macro-45b7c6e691456b3b" "-L" "= /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0= -rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_lint-2139e1f8dd29b8= 56" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_mir-249cb= 74389afd350" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unk= nown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_= trans_utils-5707ee613271b8e7" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64= /build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/d= eps" "-l" "rustc_passes-c2ecd867dda823e1" "-L" "/usr/ports/pobj/rust-1.24.0= /build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openb= sd/release/deps" "-l" "rustc_const_eval-9a3d103e327f917a" "-L" "/usr/ports/= pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_= 64-unknown-openbsd/release/deps" "-l" "rustc_privacy-63d90cd4706d2191" "-L"= "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stag= e0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_typeck-4d4703e233= e9bfe3" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-= openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_platf= orm_intrinsics-0e09b25ab293b9cd" "-L" "/usr/ports/pobj/rust-1.24.0/build-am= d64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/releas= e/deps" "-l" "rustc-44847cd10bf8c4b4" "-L" "/usr/ports/pobj/rust-1.24.0/bui= ld-amd64/build/x86_64-unknown-openbsd/stage0-sysroot/lib/rustlib/x86_64-unk= nown-openbsd/lib" "-l" "test-c10374a00d5dd393" "-L" "/usr/ports/pobj/rust-1= =2E24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknow= n-openbsd/release/deps" "-l" "rustc_const_math-d1c4ec31aa25db79" "-L" "/usr= /ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rus= tc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_back-d5fc11b79e855d8c" = "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/= stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "syntax-3ca53a0f58d3= a0e8" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-op= enbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_errors-= e00d9b7932bf0106" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_6= 4-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "s= yntax_pos-269489abeb79db40" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/b= uild/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/dep= s" "-l" "rustc_data_structures-f5099eb4e8cb22a9" "-L" "/usr/ports/pobj/rust= -1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-sysroot/lib/rustlib= /x86_64-unknown-openbsd/lib" "-l" "term-af7022a4926b5b2a" "-L" "/usr/ports/= pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_= 64-unknown-openbsd/release/deps" "-l" "serialize-02310578674602f2" "-L" "/u= sr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-r= ustc/x86_64-unknown-openbsd/release/deps" "-l" "rustc_cratesio_shim-aec347a= 5ba3870ba" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unkno= wn-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "graphviz= -efc631ec349f2bd6" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_= 64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps" "-l" "= fmt_macros-5f920b4d9e29c329" "-L" "/usr/ports/pobj/rust-1.24.0/build-amd64/= build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/de= ps" "-l" "arena-e5cbbe213e43328b" "-L" "/usr/ports/pobj/rust-1.24.0/build-a= md64/build/x86_64-unknown-openbsd/stage0-sysroot/lib/rustlib/x86_64-unknown= -openbsd/lib" "-l" "std-3b6b56d8c88cdc51" "-Wl,-Bstatic" "/usr/ports/pobj/r= ust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-sysroot/lib/rust= lib/x86_64-unknown-openbsd/lib/libcompiler_builtins-93978d50d1937517.rlib" = "-Wl,-Bdynamic" "-l" "pthread" "-l" "z" "-l" "m" "-l" "c++" "-l" "util" "-l= " "pthread" "-l" "c++abi" "-l" "c" "-l" "m" "-l" "util" =3D note: /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-op= enbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b= 1005c5e1bf.so: warning: strcpy() is almost always misused, please use strlc= py() /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: warning: sprintf() is often misused, please use snprintf() /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_float' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_sint8' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_prep_cif' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_pointer' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_call' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_double' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_sint32' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_sint16' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_void' /usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-open= bsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc_llvm-03fe8b10= 05c5e1bf.so: undefined reference to `ffi_type_sint64' cc: error: linker command failed with exit code 1 (use -v to see = invocation) =20 error: aborting due to previous error error: Could not compile `rustc-main`. Caused by: process didn't exit successfully: `/usr/ports/pobj/rust-1.24.0/build-amd6= 4/build/bootstrap/debug/rustc --crate-name rustc rustc/rustc.rs --error-for= mat json --crate-type bin --emit=3Ddep-info,link -C opt-level=3D2 --cfg fea= ture=3D"jemalloc" --cfg feature=3D"llvm" --cfg feature=3D"rustc_back" --cfg= feature=3D"rustc_driver" -C metadata=3Da84dc84e4f0334f7 -C extra-filename= =3D-a84dc84e4f0334f7 --out-dir /usr/ports/pobj/rust-1.24.0/build-amd64/buil= d/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps -= -target x86_64-unknown-openbsd -L dependency=3D/usr/ports/pobj/rust-1.24.0/= build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbs= d/release/deps -L dependency=3D/usr/ports/pobj/rust-1.24.0/build-amd64/buil= d/x86_64-unknown-openbsd/stage0-rustc/release/deps --extern rustc_back=3D/u= sr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-r= ustc/x86_64-unknown-openbsd/release/deps/librustc_back-d5fc11b79e855d8c.so = --extern rustc_driver=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_6= 4-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/deps/librustc= _driver-e1adaacc77d481ac.so -L native=3D/usr/ports/pobj/rust-1.24.0/build-a= md64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/relea= se/build/backtrace-sys-b7ad29fc4a3c7b5a/out/.libs -L native=3D/usr/ports/po= bj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64= -unknown-openbsd/release/build/miniz-sys-32b97495796da1b5/out -L native=3D/= usr/ports/pobj/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-= rustc/x86_64-unknown-openbsd/release/build/rustc_binaryen-53e24040dc201423/= out/build/lib -L native=3D/usr/ports/pobj/rust-1.24.0/build-amd64/build/x86= _64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/release/build/rustc= _binaryen-53e24040dc201423/out -L native=3D/usr/ports/pobj/rust-1.24.0/buil= d-amd64/build/x86_64-unknown-openbsd/stage0-rustc/x86_64-unknown-openbsd/re= lease/build/rustc_llvm-052f0139555b67fb/out -L native=3D/usr/local/lib` (ex= it code: 101) thread 'main' panicked at 'command did not execute successfully: "/usr/port= s/pobj/rust-1.24.0/rustc-bootstrap-amd64-1.24.0-20180213/bin/cargo" "build"= "--target" "x86_64-unknown-openbsd" "-j" "1" "-v" "--release" "--frozen" "= --features" " jemalloc llvm" "--manifest-path" "/usr/ports/pobj/rust-1.24.0= /rustc-1.24.0-src/src/rustc/Cargo.toml" "--message-format" "json" expected success, got: exit code: 101', bootstrap/compile.rs:886:9 stack backtrace: 0: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 1: <std::io::error::Error as core::fmt::Display>::fmt 2: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 3: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 4: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 5: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 6: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 7: <bootstrap::compile::Rustc as bootstrap::builder::Step>::make_run 8: <bootstrap::compile::Rustc as bootstrap::builder::Step>::make_run 9: __register_frame_info 10: <bootstrap::compile::Rustc as bootstrap::builder::Step>::make_run 11: __register_frame_info 12: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 13: <bootstrap::compile::Rustc as bootstrap::builder::Step>::make_run 14: __register_frame_info 15: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 16: <bootstrap::doc::UnstableBookGen as bootstrap::builder::Step>::make_r= un 17: __register_frame_info 18: <bootstrap::doc::UnstableBook as bootstrap::builder::Step>::make_run 19: __register_frame_info 20: <bootstrap::doc::UnstableBook as bootstrap::builder::Step>::make_run 21: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 22: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 23: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 24: <bootstrap::dist::Docs as bootstrap::builder::Step>::make_run 25: __register_frame_info 26: <bootstrap::dist::Docs as bootstrap::builder::Step>::make_run 27: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 28: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 29: <bootstrap::install::Rustc as core::fmt::Debug>::fmt 30: __register_frame_info 31: __register_frame_info 32: __register_frame_info 33: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 34: <std::env::JoinPathsError as core::fmt::Debug>::fmt 35: <std::ffi::os_str::OsString as core::fmt::Debug>::fmt 36: __register_frame_info 37: __register_frame_info 38:=20 Traceback (most recent call last): File "/usr/ports/pobj/rust-1.24.0/rustc-1.24.0-src/x.py", line 20, in <mo= dule> bootstrap.main() File "/usr/ports/pobj/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstra= p.py", line 758, in main bootstrap() File "/usr/ports/pobj/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstra= p.py", line 749, in bootstrap run(args, env=3Denv, verbose=3Dbuild.verbose) File "/usr/ports/pobj/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstra= p.py", line 148, in run raise RuntimeError(err) RuntimeError: failed to run: /usr/ports/pobj/rust-1.24.0/build-amd64/build/= bootstrap/debug/bootstrap dist --jobs=3D1 *** Error 1 in . (Makefile:147 'do-build') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2738 '/usr/ports= /pobj/rust-1.24.0/build-amd64/.build_done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1938 '/usr/ports= /packages/amd64/all/rust-1.24.0.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2440 '_internal-= package') *** Error 1 in /usr/ports/lang/rust (/usr/ports/infrastructure/mk/bsd.port.= mk:2419 'package')