Date: Sat, 03 Feb 2018 05:48:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225643] lang/rust build failure at compiling rustc_driver Message-ID: <bug-225643-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225643 Bug ID: 225643 Summary: lang/rust build failure at compiling rustc_driver Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: rust@FreeBSD.org Reporter: gergely.czuczy@harmless.hu Flags: maintainer-feedback?(rust@FreeBSD.org) Assignee: rust@FreeBSD.org Hello, When building rust on aarch64/-CURRENT(r328533M), after workarounding 22560= 0 by swapping native with armv8, I'm getting the following build error: Compiling rustc_borrowck v0.0.0 (file:///usr/ports/lang/rust/work/rustc-1.23.0-src/src/librustc_borrowck) error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports note: rustc 1.23.0 running on aarch64-unknown-freebsd thread 'rustc' panicked at 'other was less than the current instant', src/libstd/sys/unix/time.rs:284:16 note: Run with `RUST_BACKTRACE=3D1` for a backtrace. error: Could not compile `rustc_driver`. Caused by: process didn't exit successfully: `/usr/ports/lang/rust/work/rustc-1.23.0-src/build/bootstrap/debug/rustc --crate-name rustc_driver src/librustc_driver/lib.rs --error-format json --crate-type dylib --emit=3Ddep-info,link -C prefer-dynamic -C opt-level=3D= 2 --cfg feature=3D"llvm" --cfg feature=3D"rustc_trans" -C metadata=3Da3a248164b9fca= 10 -C extra-filename=3D-a3a248164b9fca10 --out-dir /usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/st= age1-rustc/aarch64-unknown-freebsd/release/deps --target aarch64-unknown-freebsd -L dependency=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps -L dependency=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/release/deps --extern rustc_trans_utils=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch6= 4-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librust= c_trans_utils-f26510fa78811706.so --extern rustc_back=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_back-= a3a5b2bd056cbe32.so --extern owning_ref=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libowning_ref-= 63bd539c74e1ad43.rlib --extern rustc_privacy=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-un= known-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_pr= ivacy-186ed14e87781c46.so --extern rustc_passes=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unk= nown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_pas= ses-33579faf7eb08740.so --extern rustc=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-fr= eebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc-88421f2cb3= ec171c.so --extern syntax=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-f= reebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libsyntax-9720955d= 1827f646.so --extern graphviz=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown= -freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libgraphviz-4fea= 6315732d3d2f.so --extern syntax_ext=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libsyntax_ext-= 63cd43902c76245b.so --extern rustc_resolve=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-un= known-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_re= solve-c3913faa6425f6a9.so --extern rustc_incremental=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch6= 4-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librust= c_incremental-f54997c797d290e7.so --extern rustc_lint=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_lint-= 35e6b31b6b5193b5.so --extern env_logger=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libenv_logger-= 61ab10b7ba8609ba.rlib --extern rustc_save_analysis=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarc= h64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libru= stc_save_analysis-0592fa0ae35e232a.so --extern rustc_metadata=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-u= nknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_m= etadata-18b0f3136714a43e.so --extern rustc_trans=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkn= own-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_tran= s-317ab8b75925d16d.so --extern log=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-free= bsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/liblog-83ed2b3da54da0= 65.rlib --extern rustc_const_eval=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64= -unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc= _const_eval-05b196e22aa70cdf.so --extern arena=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-fr= eebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libarena-65ac283e21= 81119c.so --extern serialize=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknow= n-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libserialize-19= d6ebe3e14c2d81.so --extern serialize=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknow= n-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libserialize-19= d6ebe3e14c2d81.rlib --extern rustc_data_structures=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aa= rch64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/lib= rustc_data_structures-ba341872e7991136.so --extern rustc_mir=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknow= n-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_mir-7c= bb1a0cffa2f90a.so --extern rustc_errors=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unk= nown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_err= ors-b57a93fd76b69004.so --extern syntax_pos=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unkno= wn-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libsyntax_pos-= 4a2ba02b1d316d6a.so --extern rustc_borrowck=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-u= nknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_b= orrowck-ff5038dd4ae6c523.so --extern rustc_typeck=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unk= nown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_typ= eck-4dec9bfa76e487f7.so --extern rustc_plugin=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unk= nown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_plu= gin-a85cffab17462240.so --extern rustc_allocator=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-= unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_= allocator-f6c447de9905625a.so --extern ar=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freeb= sd/stage1-rustc/aarch64-unknown-freebsd/release/deps/libar-5f0d891fd82be381= .rlib -L native=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-f= reebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/miniz-sys-e6cdcc5= 603fc9027/out -L native=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-f= reebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/rustc_binaryen-97= e9aebd5f88f774/out/build/lib -L native=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-f= reebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/rustc_binaryen-97= e9aebd5f88f774/out -L native=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-f= reebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/rustc_llvm-a9214e= d59bd74bf2/out -L native=3D/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-f= reebsd/llvm/lib` (exit code: 101) thread 'main' panicked at 'command did not execute successfully: "/usr/ports/lang/rust/work/rustc-1.23.0-src/build/aarch64-unknown-freebsd/s= tage0/bin/cargo" "build" "--target" "aarch64-unknown-freebsd" "--release" "--frozen" "--features" " jemalloc llvm" "--manifest-path" "/usr/ports/lang/rust/work/rustc-1.23.0-src/src/rustc/Cargo.toml" "--message-format" "json" expected success, got: exit code: 101', src/bootstrap/compile.rs:882:8 note: Run with `RUST_BACKTRACE=3D1` for a backtrace. Traceback (most recent call last): File "/usr/ports/lang/rust/work/rustc-1.23.0-src/x.py", line 20, in <modu= le> bootstrap.main() File "/usr/ports/lang/rust/work/rustc-1.23.0-src/src/bootstrap/bootstrap.= py", line 758, in main bootstrap() File "/usr/ports/lang/rust/work/rustc-1.23.0-src/src/bootstrap/bootstrap.= py", line 749, in bootstrap run(args, env=3Denv, verbose=3Dbuild.verbose) File "/usr/ports/lang/rust/work/rustc-1.23.0-src/src/bootstrap/bootstrap.= py", line 148, in run raise RuntimeError(err) RuntimeError: failed to run: /usr/ports/lang/rust/work/rustc-1.23.0-src/build/bootstrap/debug/bootstrap build --verbose --config ./config.toml --jobs 4 *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/rust *** Error code 1 Stop. make: stopped in /usr/ports/lang/rust Could someone please look into it? Best regards, Gergely --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225643-13>