From nobody Sat Nov 27 14:31:37 2021 X-Original-To: gecko@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A714618A58D1 for ; Sat, 27 Nov 2021 14:31:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J1Yvs2t7Gz3v1K for ; Sat, 27 Nov 2021 14:31:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 439F41D3FF for ; Sat, 27 Nov 2021 14:31:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AREVbww051635 for ; Sat, 27 Nov 2021 14:31:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AREVbba051634 for gecko@FreeBSD.org; Sat, 27 Nov 2021 14:31:37 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: gecko@FreeBSD.org Subject: [Bug 259799] devel/rust-cbindgen: armv6: build using "make" fails, using "cargo build --release -j 1" works Date: Sat, 27 Nov 2021 14:31:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638023497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kIWCKaQaVE47beWJEk91EkHA1fA5vlsAwj8DxlZWmOY=; b=Zn+WI9eJEBqyfaX40HoXxacx1cLZoaLjDflzGf0TTdCO0rMeCkljbLVayl2Dn5I7s9vpea WVFc7H+VKkX1ZBocPHszazkFXksRWjJMgz7WSMi/1ySw3+/37Kvf/YFHpq1bKwiX04l8aE Pr3My3geXlBrbznIPeSfcNtKbATqie/+q8UJP7r7vB/k3duU8gf63kjJJPdNJsTigk9Ir3 f5LAxkZqIx2EQ9wNwDf4WXn6nm+l69imW/kRqiEPfGR/JYjEoXZJ3GqbSOVCVzwKUbxYeK M+NgtzI3mYVsE+G6lEnvywaU7ysgX7V8+gWEhSsHYAFCGFzqOpl9H1pYnwziSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638023497; a=rsa-sha256; cv=none; b=wE3XmT6uMQWUY8SchvQlDdKrVsbE3q15fw10dUKqtD7pxCujcjMCC/GTXTLstVcPom3mx5 swmtdkdulM8l+heU7cI71mU5IudcpPOmzKTvQ5vwFKhwKseIt3N/Qm59VdUOgsnSP886AE 7AxXqfZoVdb8xEu1r/uBGZh83DuUg6yDM+9JQYytAhm8THot177p86jkYMEHksrys0vhFa i2ab8AFiuEgR4udd4ZzaVnfGHJabFXDpgEvMbqHG49qK0q6AS3ILtST1jLaPktbja/wAOF Kj2okLXmC9TC69W1uLsXfF3xAkgMYVTeH0WGnezwgO5KWpdAqKJwMrMll3VGUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259799 --- Comment #41 from Mark Millard --- (In reply to Mark Millard from comment #36) I finally got a no-strip (but no debug information) environment set up where I can look at the main [so: 14] based build failure via a backtrace. This is still an optimiazed build so there could be oddities in the backtrace but it should be useful:. It looks like: rustc_errors::Handler::delay_good_path_bug () from /usr/local/lib/librustc_driver-a196dfc434d07325.so initiated the backtrace that is later problematical. gdb reports: Core was generated by `/usr/local/bin/rustc --crate-name tempfile --edition=3D2018 /wrkdirs/usr/ports/dev'. Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. #0 _Unwind_VRS_Pop (context=3D0xbfff5b80, regclass=3D_UVRSC_CORE, discriminator=3D18432, representation=3D_UVRSD_UINT32) at /usr/main-src/contrib/llvm-project/libunwind/src/Unwind-EHABI.cpp:915 915 uint32_t value =3D *sp++; [Current thread is 1 (LWP 710038)] (gdb) bt #0 _Unwind_VRS_Pop (context=3D0xbfff5b80, regclass=3D_UVRSC_CORE, discriminator=3D18432, representation=3D_UVRSD_UINT32) at /usr/main-src/contrib/llvm-project/libunwind/src/Unwind-EHABI.cpp:915 #1 _Unwind_VRS_Interpret (context=3D0xbfff5b80, data=3D, of= fset=3D4, len=3D4) at /usr/main-src/contrib/llvm-project/libunwind/src/Unwind-EHABI.c= pp:281 #2 0x400c83e0 in libunwind::UnwindCursor::stepWithEHABI (this=3D0xbfff5b80) at /usr/main-src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:921 #3 libunwind::UnwindCursor::step (this=3D0xbfff5b80) at /usr/main-src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:2094 #4 0x400c7134 in (anonymous namespace)::unwindOneFrame (state=3D, ucbp=3D0xbfff59d8, context=3D0xbfff5b80) at /usr/main-src/contrib/llvm-project/libunwind/src/Unwind-EHABI.cpp:190 #5 0x400c7708 in _Unwind_Backtrace (callback=3D0x47346bc0 , ref=3D0xbfff5d5= 8) at /usr/main-src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:156 #6 0x47311b58 in std::backtrace::Backtrace::create () from /usr/local/lib/libstd-21f5f79d0bba7291.so #7 0x47311ac8 in std::backtrace::Backtrace::force_capture () from /usr/local/lib/libstd-21f5f79d0bba7291.so #8 0x46c61f28 in rustc_errors::Handler::delay_good_path_bug () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #9 0x46a33998 in rustc_middle::ty::print::pretty::trimmed_def_paths::h696a2e73b4fe3316 () fr= om /usr/local/lib/librustc_driver-a196dfc434d07325.so #10 0x4591ef34 in rustc_query_system::query::plumbing::get_query_impl::h97f9a3ac217b06d6 () f= rom /usr/local/lib/librustc_driver-a196dfc434d07325.so #11 0x45d45a2c in ::trimmed_def_paths () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #12 0x46a1acec in as rustc_middle::ty::print::Printer>::print_def_path () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #13 0x4695cef8 in rustc_middle::ty::print::pretty::::def_path_str_with_substs () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #14 0x4695cd68 in rustc_middle::ty::print::pretty::::def_path_str () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #15 0x465fc36c in core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hbd6= 7d6eb15125f94 () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #16 0x4692fd68 in rustc_middle::lint::struct_lint_level::struct_lint_level_= impl () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #17 0x466039c8 in ::check_stmt () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #18 0x4659a8d8 in as rustc_hir::intravisit::Visitor>::visit_stmt () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #19 0x465b5920 in rustc_hir::intravisit::walk_expr () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #20 0x4659a380 in as rustc_hir::intravisit::Visitor>::visit_nested_body () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #21 0x4659ac04 in as rustc_hir::intravisit::Visitor>::visit_fn () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #22 0x465aaff0 in rustc_hir::intravisit::walk_impl_item () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #23 0x46598a98 in rustc_hir::intravisit::Visitor::visit_nested_impl_item () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #24 0x465b7f8c in rustc_hir::intravisit::walk_item () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #25 0x46597d8c in rustc_hir::intravisit::Visitor::visit_nested_item () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #26 0x4659c298 in rustc_lint::late::late_lint_mod () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #27 0x45961444 in rustc_query_system::query::plumbing::get_query_impl::he2b46ba21cb31bb4 () f= rom /usr/local/lib/librustc_driver-a196dfc434d07325.so #28 0x45d3ed78 in ::lint_mod () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #29 0x421a844c in rustc_data_structures::sync::join () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #30 0x42178e7c in as core::ops::function::FnOnce<()>>::call_once () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #31 0x421a7224 in rustc_session::utils::::time () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #32 0x420fe6c8 in rustc_interface::passes::analysis () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #33 0x458bb1c4 in rustc_query_system::query::plumbing::get_query_impl::h01ade962adc0e126 () f= rom /usr/local/lib/librustc_driver-a196dfc434d07325.so #34 0x45d3b254 in ::analysis () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #35 0x420368e8 in rustc_interface::passes::QueryContext::enter () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #36 0x4201397c in rustc_interface::queries::::enter () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #37 0x41fd1540 in rustc_span::with_source_map () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #38 0x42011e48 in scoped_tls::ScopedKey::set () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #39 0x41fdbca0 in std::sys_common::backtrace::__rust_begin_short_backtrace::hdc54cbe6eb1f58a5= () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #40 0x41fccce8 in core::ops::function::FnOnce::call_once{{vtable.shim}} () = from /usr/local/lib/librustc_driver-a196dfc434d07325.so #41 0x4730bfb4 in std::sys::unix::thread::Thread::new::thread_start () from /usr/local/lib/libstd-21f5f79d0bba7291.so #42 0x401371ac in thread_start (curthread=3D0x40073a00) at /usr/main-src/lib/libthr/thread/thr_create.c:292 #43 0x40136cdc in _pthread_create (thread=3D0xffffb0b8, attr=3D, start_routine=3D, arg=3D) at /usr/main-src/lib/libthr/thread/thr_create.c:187 #44 0x40139a4c in _thr_umutex_unlock2 (mtx=3D0x0, id=3D11, defer=3D0x0) at /usr/main-src/lib/libthr/thread/thr_umtx.h:160 #45 _thr_umutex_unlock (mtx=3D0x0, id=3D11) at /usr/main-src/lib/libthr/thread/thr_umtx.h:183Backtrace stopped: Cannot acc= ess memory at address 0x4 (gdb) info threads Id Target Id Frame=20 * 1 LWP 710038 _Unwind_VRS_Pop (context=3D0xbfff5b80, regclass=3D_UVRSC_CORE, discriminator=3D18432, representation=3D_UVRSD_UINT= 32) at /usr/main-src/contrib/llvm-project/libunwind/src/Unwind-EHABI.cpp:915 2 LWP 296951 _umtx_op () at _umtx_op.S:4 (gdb) thread 2 [Switching to thread 2 (LWP 296951)] #0 _umtx_op () at _umtx_op.S:4 4 _umtx_op.S: No such file or directory. (gdb) bt #0 _umtx_op () at _umtx_op.S:4 #1 0x40147d64 in _umtx_op_err (obj=3D0x4, op=3D2, val=3D1, uaddr=3D0x0, uaddr2=3D) at /usr/main-src/lib/libthr/thread/thr_umtx.c:39 #2 _thr_umtx_wait (mtx=3D0x4, id=3D1, timeout=3D) at /usr/main-src/lib/libthr/thread/thr_umtx.c:201 #3 0x40139868 in join_common (pthread=3D0x40073a00, thread_return=3D0x0, abstime=3D0x0, peek=3D) at /usr/main-src/lib/libthr/thread/thr_join.c:147 #4 0x4730c190 in std::sys::unix::thread::Thread::join () from /usr/local/lib/libstd-21f5f79d0bba7291.so #5 0x41fcc3d8 in std::thread::JoinHandle::join () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #6 0x420141c4 in rustc_interface::interface::run_compiler () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #7 0x41fc3e0c in rustc_driver::RunCompiler::run () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #8 0x41fda1c4 in as core::ops::function::FnOnce<()>>::call_once () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #9 0x41fca500 in rustc_driver::main () from /usr/local/lib/librustc_driver-a196dfc434d07325.so #10 0x00022928 in rustc_main::main () #11 0x00022970 in std::sys_common::backtrace::__rust_begin_short_backtrace = () #12 0x00022980 in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hf3c8c073b90c923c () #13 0x47326924 in std::rt::lang_start_internal () from /usr/local/lib/libstd-21f5f79d0bba7291.so #14 0x00022958 in main () --=20 You are receiving this mail because: You are on the CC list for the bug.=