From owner-freebsd-ports-bugs@freebsd.org Sat Feb 3 05:48:08 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FAABEEA1A5 for ; Sat, 3 Feb 2018 05:48:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 998D775586 for ; Sat, 3 Feb 2018 05:48:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D283D40F2 for ; Sat, 3 Feb 2018 05:48:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w135m6is037360 for ; Sat, 3 Feb 2018 05:48:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w135m695037359 for freebsd-ports-bugs@FreeBSD.org; Sat, 3 Feb 2018 05:48:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225643] lang/rust build failure at compiling rustc_driver Date: Sat, 03 Feb 2018 05:48:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gergely.czuczy@harmless.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2018 05:48:08 -0000 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 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.=