Bug 276920 - lang/rust: Update to 1.76.0
Summary: lang/rust: Update to 1.76.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-09 13:35 UTC by Mikael Urankar
Modified: 2024-02-21 07:45 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (rust)


Attachments
v0 (19.06 KB, patch)
2024-02-09 13:35 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2024-02-09 13:35:46 UTC
Created attachment 248281 [details]
v0
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2024-02-11 12:27:39 UTC
powerpc64 is ok. powerpc needs a regenerated bootstrap because a custom target in devel/freebsd-sysroot is necessary after all (I'm not sure the issue didn't happen in 1.75.0).

But powerpc64le has a serious regression. Building thread_local crate just crashes:
Caused by:
  process didn't exit successfully: `CARGO=/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo CARGO_CRATE_NAME=thread_local CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/vendor/thread_local-1.1.4 CARGO_PKG_AUTHORS='Amanieu d'\''Antras <amanieu@gmail.com>' CARGO_PKG_DESCRIPTION='Per-object thread-local storage' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Apache-2.0/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=thread_local CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Amanieu/thread_local-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.1.4 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/deps:/wrkdirs/usr/ports/lang/rust/work/bootstrap/lib:' /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc --crate-name thread_local --edition=2018 /wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/vendor/thread_local-1.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=134 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C metadata=69491da6a15142a8 -C extra-filename=-69491da6a15142a8 --out-dir /wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/deps -L dependency=/wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/deps --extern once_cell=/wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/deps/libonce_cell-bbafef12dacfc8b8.rmeta --cap-lints warn -C linker=cc -Wrust_2018_idioms -Wunused_lifetimes` (signal: 11, SIGSEGV: invalid memory reference)


I crosscompiled a 1.76.0 bootstrap and it crashes as well.
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2024-02-11 14:24:02 UTC
(In reply to Piotr Kubaj from comment #1)
What FreeBSD version do you use on ppc64le? If it's current, could it be related to the recent change with libsys?
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2024-02-11 23:37:56 UTC
14.0-RELEASE
Comment 4 Piotr Kubaj freebsd_committer freebsd_triage 2024-02-13 14:56:44 UTC
Here's a backtrace:
#0  0x0000000807f6aba0 in <hashbrown::raw::RawTable<((rustc_hir::def::Namespace, rustc_span::symbol::Symbol), core::option::Option<rustc_span::def_id::DefId>)>>::reserve_rehash::<hashbrown::map::make_hasher<(rustc_hir::def::Namespace, rustc_span::symbol::Symbol), core::option::Option<rustc_span::def_id::DefId>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>::{closure#0}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#1  0x0000000808091824 in rustc_middle::ty::print::pretty::trimmed_def_paths ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#2  0x0000000806afc8fc in rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::trimmed_def_paths::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 8]>> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#3  0x0000000806c76d04 in <rustc_query_impl::query_impl::trimmed_def_paths::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, ())>>::call_once ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#4  0x0000000806b2ec6c in rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#5  0x0000000806e6d71c in rustc_query_impl::query_impl::trimmed_def_paths::get_query_non_incr::__rust_end_short_backtrace ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#6  0x0000000808088bc0 in <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::print_def_path ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#7  0x0000000806f23094 in <rustc_middle::ty::context::TyCtxt>::def_path_str_with_args::<rustc_span::def_id::DefId> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#8  0x0000000806fe00c8 in <rustc_lint::lints::UnusedDef as rustc_errors::diagnostic::DecorateLint<()>>::decorate_lint ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#9  0x0000000806f7aeb8 in <<rustc_lint::context::LateContext as rustc_lint::context::LintContext>::emit_spanned_lint<rustc_span::span_encoding::Span, rustc_lint::lints::UnusedDef>::{closure#0} as core::ops::function::FnOnce<(&mut rustc_errors::diagnostic_builder::DiagnosticBuilder<()>,)>>::call_once::{shim:vtable#0} ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#10 0x0000000806f77514 in rustc_middle::lint::struct_lint_level::struct_lint_level_impl::<rustc_error_messages::DiagnosticMessage> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#11 0x0000000806f73f88 in rustc_middle::lint::struct_lint_level::<rustc_error_messages::DiagnosticMessage, <rustc_lint::context::LateContext as rustc_lint::context::LintContext>::emit_spanned_lint<rustc_span::span_encoding::Span, rustc_lint::lints::UnusedDef>::{closure#0}> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#12 0x0000000806f3b744 in <rustc_lint::unused::UnusedResults as rustc_lint::passes::LateLintPass>::check_stmt::emit_must_use_untranslated () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#13 0x0000000806f35afc in <rustc_lint::unused::UnusedResults as rustc_lint::passes::LateLintPass>::check_stmt::check_must_use_def ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#14 0x0000000806f35164 in <rustc_lint::unused::UnusedResults as rustc_lint::passes::LateLintPass>::check_stmt ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#15 0x0000000806f03368 in rustc_hir::intravisit::walk_block::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#16 0x0000000806f48134 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_expr () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#17 0x0000000806f1bf70 in rustc_hir::intravisit::walk_expr::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#18 0x0000000806f48134 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_expr () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#19 0x0000000806f22400 in rustc_hir::intravisit::walk_stmt::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#20 0x0000000806f03394 in rustc_hir::intravisit::walk_block::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#21 0x0000000806f48134 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_expr () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#22 0x0000000806f1bf70 in rustc_hir::intravisit::walk_expr::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#23 0x0000000806f48134 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_expr () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#24 0x0000000806f1c460 in rustc_hir::intravisit::walk_expr::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#25 0x0000000806f48134 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_expr () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#26 0x0000000806f0343c in rustc_hir::intravisit::walk_block::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#27 0x0000000806f48134 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_expr () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#28 0x0000000806f1aab4 in rustc_hir::intravisit::walk_body::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#29 0x0000000806f4756c in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_nested_body () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#30 0x0000000806f07624 in rustc_hir::intravisit::walk_impl_item::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#31 0x0000000806f44a50 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_nested_impl_item () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#32 0x0000000806f1ff2c in rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#33 0x0000000806f44118 in <rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass> as rustc_hir::intravisit::Visitor>::visit_nested_item () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#34 0x0000000806f4bc0c in rustc_lint::late::late_lint_mod::<rustc_lint::BuiltinCombinedModuleLateLintPass> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#35 0x0000000806f81a04 in rustc_lint::lint_mod ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#36 0x0000000806b02974 in rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::lint_mod::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 0]>> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#37 0x0000000806cf5078 in <rustc_query_impl::query_impl::lint_mod::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_span::def_id::LocalModDefId)>>::call_once ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#38 0x0000000806b5433c in rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalModDefId, rustc_middle::query::erase::Erased<[u8; 0]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#39 0x0000000806e4c520 in rustc_query_impl::query_impl::lint_mod::get_query_non_incr::__rust_end_short_backtrace ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#40 0x0000000806f76638 in std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::disabled::par_for_each_in<&[rustc_hir::hir_id::OwnerId], <rustc_middle::hir::map::Map>::par_for_each_module<rustc_lint::late::check_crate::{closure#1}::{closure#0}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#41 0x000000080701b994 in <rustc_data_structures::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures::sync::parallel::disabled::par_for_each_in<&[rustc_hir::hir_id::OwnerId], <rustc_middle::hir::map::Map>::par_for_each_module<rustc_lint::late::check_crate::{closure#1}::{closure#0}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#42 0x0000000806fc4880 in rustc_data_structures::sync::parallel::disabled::par_for_each_in::<&[rustc_hir::hir_id::OwnerId], <rustc_middle::hir::map::Map>::par_for_each_module<rustc_lint::late::check_crate::{closure#1}::{closure#0}::{closure#0}>::{closure#0}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#43 0x0000000806faa3a8 in <rustc_session::session::Session>::time::<(), rustc_lint::late::check_crate::{closure#1}::{closure#0}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#44 0x000000080701bff0 in <rustc_data_structures::sync::parallel::ParallelGuard>::run::<(), rustc_lint::late::check_crate::{closure#1}> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#45 0x0000000806fc49b4 in rustc_data_structures::sync::parallel::disabled::join::<rustc_lint::late::check_crate::{closure#0}, rustc_lint::late::check_crate::{closure#1}, (), ()> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#46 0x0000000806f4c614 in rustc_lint::late::check_crate ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#47 0x0000000802e286fc in <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#6}::{closure#1}::{closure#0}::{closure#0}::{closure#2}::{closure#0}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#48 0x0000000802df08f8 in <rustc_data_structures::sync::parallel::ParallelGuard>::run::<(), rustc_interface::passes::analysis::{closure#6}::{closure#1}::{closure#0}::{closure#0}::{closure#2}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#49 0x0000000802e89398 in std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#6}::{closure#1}::{closure#0}>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#50 0x0000000802df1f14 in <rustc_data_structures::sync::parallel::ParallelGuard>::run::<(), rustc_interface::passes::analysis::{closure#6}::{closure#1}::{closure#0}> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#51 0x0000000802e2a790 in <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#6}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#52 0x0000000802d93e8c in rustc_interface::passes::analysis ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#53 0x0000000806b02710 in rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 1]>> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#54 0x0000000806dcbda4 in <rustc_query_impl::query_impl::analysis::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, ())>>::call_once ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#55 0x0000000806b2be2c in rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#56 0x0000000806e3b830 in rustc_query_impl::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#57 0x0000000802ba8dfc in <rustc_middle::ty::context::GlobalCtxt>::enter::<rustc_driver_impl::run_compiler::{closure#0}::{closure#0}::{closure#3}, core::result::Result<(), rustc_span::ErrorGuaranteed>> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#58 0x0000000802b8caf8 in <rustc_interface::queries::QueryResult<&rustc_middle::ty::context::GlobalCtxt>>::enter::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}::{closure#0}::{closure#3}> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#59 0x0000000802bb23a8 in <rustc_interface::interface::Compiler>::enter::<rustc_driver_impl::run_compiler::{closure#0}::{closure#0}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_span::ErrorGuaranteed>> ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#60 0x0000000802b6a174 in rustc_span::create_session_globals_then::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#61 0x0000000802b80cc4 in std::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> () from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#62 0x0000000802b76698 in <<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_with_globals<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/librustc_driver-005ce27368df8684.so
#63 0x0000000808cbcb30 in std::sys::unix::thread::Thread::new::thread_start ()
   from /wrkdirs/usr/ports/lang/rust/work/bootstrap/lib/libstd-969694cac7373560.so
#64 0x000000080115d9c0 in ?? () from /lib/libthr.so.3
#65 0x0000000000000000 in ?? ()
Comment 5 Piotr Kubaj freebsd_committer freebsd_triage 2024-02-13 15:00:42 UTC
I sometimes have crashes in libthr in other applications, so it's possible that it's libthr here at fault.
Comment 6 Piotr Kubaj freebsd_committer freebsd_triage 2024-02-13 16:31:30 UTC
After recompiling libthr with -Og, here's a respective libthr's frame:
#64 0x000000080115d9c0 in thread_start (curthread=0x809612700) at /usr/src/lib/libthr/thread/thr_create.c:271
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=12b61685376912714439e5c96a18c6d9b29b83a4

commit 12b61685376912714439e5c96a18c6d9b29b83a4
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-10 12:56:58 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:03 +0000

    lang/rustpython: Fix build with rust 1.76.0

    Import upstream patch [1] to fix the following error:
    error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
      --> /wrkdirs/usr/ports/lang/rustpython/work/Parser-0.3.0/ast/src/impls.rs:60:1

    [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270383

    PR:             276920
    Approved by:    portmgr (build fix blanket)

 .../patch-Parser-0.3.0_ast_src_impls.rs (new)      | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
Comment 8 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f5a7b0e524c8d32727681a4324905e350dc433c

commit 7f5a7b0e524c8d32727681a4324905e350dc433c
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-19 11:59:23 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:23 +0000

    lang/rust: Bump revisions after 1.76.0

    PR:             276920

 accessibility/sctd/Makefile                    | 2 +-
 accessibility/wl-gammarelay-rs/Makefile        | 2 +-
 archivers/ouch/Makefile                        | 2 +-
 archivers/py-cramjam/Makefile                  | 2 +-
 audio/amberol/Makefile                         | 2 +-
 audio/ebur128/Makefile                         | 2 +-
 audio/gnome-metronome/Makefile                 | 2 +-
 audio/gnome-podcasts/Makefile                  | 2 +-
 audio/lewton/Makefile                          | 2 +-
 audio/mmtc/Makefile                            | 2 +-
 audio/mousai/Makefile                          | 2 +-
 audio/myxer/Makefile                           | 2 +-
 audio/ncspot/Makefile                          | 2 +-
 audio/netease-music-tui/Makefile               | 2 +-
 audio/shortwave/Makefile                       | 2 +-
 audio/songrec/Makefile                         | 1 +
 audio/spotify-player/Makefile                  | 2 +-
 audio/spotify-tui/Makefile                     | 2 +-
 audio/spotifyd/Makefile                        | 2 +-
 benchmarks/hyperfine/Makefile                  | 2 +-
 benchmarks/inferno/Makefile                    | 2 +-
 cad/svlint/Makefile                            | 2 +-
 cad/svls/Makefile                              | 2 +-
 cad/veryl/Makefile                             | 1 +
 converters/yj-bruceadams/Makefile              | 2 +-
 databases/diesel/Makefile                      | 2 +-
 databases/frece/Makefile                       | 2 +-
 databases/gobang/Makefile                      | 2 +-
 databases/movine/Makefile                      | 2 +-
 databases/ods2sql/Makefile                     | 2 +-
 databases/postgresql-promscale/Makefile        | 2 +-
 databases/qdrant/Makefile                      | 1 +
 databases/quake/Makefile                       | 1 +
 databases/redisjson/Makefile                   | 2 +-
 databases/replibyte/Makefile                   | 2 +-
 databases/sqlx-cli/Makefile                    | 2 +-
 databases/surrealdb/Makefile                   | 1 +
 databases/xls2txt/Makefile                     | 2 +-
 deskutils/health/Makefile                      | 2 +-
 deskutils/jot/Makefile                         | 2 +-
 deskutils/just/Makefile                        | 1 +
 deskutils/lazycli/Makefile                     | 2 +-
 deskutils/pueue/Makefile                       | 2 +-
 deskutils/sigi/Makefile                        | 1 +
 deskutils/skim/Makefile                        | 2 +-
 deskutils/solanum/Makefile                     | 2 +-
 deskutils/taskwarrior-tui/Makefile             | 2 +-
 deskutils/thokr/Makefile                       | 2 +-
 devel/amber/Makefile                           | 2 +-
 devel/argc/Makefile                            | 1 +
 devel/bacon/Makefile                           | 1 +
 devel/bingrep/Makefile                         | 2 +-
 devel/bunyan/Makefile                          | 2 +-
 devel/busd/Makefile                            | 2 +-
 devel/cargo-bloat/Makefile                     | 2 +-
 devel/cargo-c/Makefile                         | 1 +
 devel/cargo-depgraph/Makefile                  | 2 +-
 devel/cargo-generate/Makefile                  | 1 +
 devel/cargo-leptos/Makefile                    | 1 +
 devel/cargo-mutants/Makefile                   | 1 +
 devel/cbfmt/Makefile                           | 2 +-
 devel/cocogitto/Makefile                       | 2 +-
 devel/convco/Makefile                          | 2 +-
 devel/cpu_rec_rs/Makefile                      | 2 +-
 devel/desed/Makefile                           | 2 +-
 devel/dra/Makefile                             | 2 +-
 devel/dtool/Makefile                           | 2 +-
 devel/dura/Makefile                            | 2 +-
 devel/elfcat/Makefile                          | 2 +-
 devel/evcxr-jupyter/Makefile                   | 2 +-
 devel/fnm/Makefile                             | 2 +-
 devel/fsx/Makefile                             | 1 +
 devel/gbump/Makefile                           | 2 +-
 devel/gfold/Makefile                           | 2 +-
 devel/ghostie/Makefile                         | 2 +-
 devel/git-absorb/Makefile                      | 2 +-
 devel/git-branchless/Makefile                  | 2 +-
 devel/git-cinnabar/Makefile                    | 2 +-
 devel/git-cliff/Makefile                       | 2 +-
 devel/git-delta/Makefile                       | 2 +-
 devel/git-workspace/Makefile                   | 2 +-
 devel/gitoxide/Makefile                        | 1 +
 devel/gitui/Makefile                           | 2 +-
 devel/glitter/Makefile                         | 2 +-
 devel/grcov/Makefile                           | 2 +-
 devel/grex/Makefile                            | 1 +
 devel/interactive_rebase_tool/Makefile         | 2 +-
 devel/jetbrains-restarter/Makefile             | 1 +
 devel/jujutsu/Makefile                         | 1 +
 devel/libdatadog/Makefile                      | 2 +-
 devel/libwasmtime/Makefile                     | 1 +
 devel/nextest/Makefile                         | 1 +
 devel/parol-ls/Makefile                        | 2 +-
 devel/parol/Makefile                           | 2 +-
 devel/patsh/Makefile                           | 2 +-
 devel/pijul/Makefile                           | 2 +-
 devel/py-dbt-extractor/Makefile                | 2 +-
 devel/py-jellyfish/Makefile                    | 2 +-
 devel/py-libcst/Makefile                       | 2 +-
 devel/py-maturin/Makefile                      | 2 +-
 devel/py-orjson/Makefile                       | 2 +-
 devel/py-pycrdt/Makefile                       | 2 +-
 devel/py-pydantic-core/Makefile                | 2 +-
 devel/py-qcs-sdk-python/Makefile               | 1 +
 devel/py-regress/Makefile                      | 2 +-
 devel/py-rpds-py/Makefile                      | 2 +-
 devel/py-watchfiles/Makefile                   | 2 +-
 devel/py-y-py/Makefile                         | 2 +-
 devel/pylyzer/Makefile                         | 2 +-
 devel/rubygem-prometheus-client-mmap/Makefile  | 1 +
 devel/ruff/Makefile                            | 1 +
 devel/rust-analyzer/Makefile                   | 2 +-
 devel/rust-bindgen-cli/Makefile                | 1 +
 devel/rust-cbindgen/Makefile                   | 2 +-
 devel/rust-script/Makefile                     | 1 +
 devel/rustc-demangle/Makefile                  | 2 +-
 devel/sccache/Makefile                         | 2 +-
 devel/selene/Makefile                          | 2 +-
 devel/sentry-cli/Makefile                      | 2 +-
 devel/signal-fts5-extension/Makefile           | 2 +-
 devel/snazy/Makefile                           | 1 +
 devel/spr/Makefile                             | 2 +-
 devel/stylua/Makefile                          | 1 +
 devel/tagref/Makefile                          | 1 +
 devel/tarpaulin/Makefile                       | 1 +
 devel/texlab/Makefile                          | 2 +-
 devel/the-way/Makefile                         | 1 +
 devel/tokei/Makefile                           | 2 +-
 devel/tokio-console/Makefile                   | 2 +-
 devel/tree-sitter-graph/Makefile               | 2 +-
 devel/treefmt/Makefile                         | 2 +-
 devel/twiggy/Makefile                          | 2 +-
 devel/typeshare/Makefile                       | 2 +-
 devel/uv/Makefile                              | 1 +
 devel/wasmer/Makefile                          | 2 +-
 devel/wrangler/Makefile                        | 2 +-
 dns/dog/Makefile                               | 2 +-
 dns/doh-proxy/Makefile                         | 2 +-
 dns/encrypted-dns-server/Makefile              | 2 +-
 dns/powerdns-recursor/Makefile                 | 1 +
 editors/amp/Makefile                           | 1 +
 editors/helix/Makefile                         | 2 +-
 editors/kak-lsp/Makefile                       | 2 +-
 editors/kibi/Makefile                          | 2 +-
 editors/languageclient-neovim/Makefile         | 2 +-
 editors/lapce/Makefile                         | 2 +-
 editors/neovim-gtk/Makefile                    | 2 +-
 editors/ox/Makefile                            | 2 +-
 editors/parinfer-rust/Makefile                 | 2 +-
 finance/tickrs/Makefile                        | 2 +-
 ftp/termscp/Makefile                           | 2 +-
 games/0ad/Makefile                             | 2 +-
 games/DDNet/Makefile                           | 2 +-
 games/anki/Makefile                            | 2 +-
 games/dose-response/Makefile                   | 2 +-
 games/genact/Makefile                          | 1 +
 games/jaggedalliance2/Makefile                 | 1 +
 games/jumpy/Makefile                           | 1 +
 games/punchy/Makefile                          | 2 +-
 games/rpg-cli/Makefile                         | 2 +-
 games/veloren-weekly/Makefile                  | 1 +
 graphics/asciinema-agg/Makefile                | 2 +-
 graphics/dify/Makefile                         | 2 +-
 graphics/drawpile/Makefile                     | 1 +
 graphics/dssim/Makefile                        | 2 +-
 graphics/gifski/Makefile                       | 2 +-
 graphics/libimagequant/Makefile                | 1 +
 graphics/libopenraw/Makefile                   | 2 +-
 graphics/librsvg2-rust/Makefile                | 2 +-
 graphics/menyoki/Makefile                      | 1 +
 graphics/mesa-devel/Makefile                   | 1 +
 graphics/noaa-apt/Makefile                     | 1 +
 graphics/oxipng/Makefile                       | 2 +-
 graphics/pastel/Makefile                       | 2 +-
 graphics/resvg-capi/Makefile                   | 1 +
 graphics/resvg/Makefile                        | 1 +
 graphics/rx/Makefile                           | 2 +-
 graphics/satty/Makefile                        | 1 +
 graphics/svgbob/Makefile                       | 2 +-
 graphics/viu/Makefile                          | 1 +
 java/icedtea-web/Makefile                      | 2 +-
 lang/antimony/Makefile                         | 2 +-
 lang/asm-lsp/Makefile                          | 1 +
 lang/cairo/Makefile                            | 1 +
 lang/gleam/Makefile                            | 2 +-
 lang/gluon/Makefile                            | 1 +
 lang/inko/Makefile                             | 2 +-
 lang/neocmakelsp/Makefile                      | 1 +
 lang/numbat/Makefile                           | 1 +
 lang/pomsky/Makefile                           | 2 +-
 lang/prql/Makefile                             | 2 +-
 lang/rustpython/Makefile                       | 1 +
 lang/spidermonkey102/Makefile                  | 2 +-
 lang/spidermonkey78/Makefile                   | 2 +-
 lang/spidermonkey91/Makefile                   | 2 +-
 lang/typstfmt/Makefile                         | 2 +-
 mail/thunderbird/Makefile                      | 1 +
 math/elan/Makefile                             | 1 +
 math/fend/Makefile                             | 1 +
 math/kalc/Makefile                             | 1 +
 math/kalker/Makefile                           | 2 +-
 math/leangz/Makefile                           | 1 +
 math/py-rustworkx/Makefile                     | 1 +
 math/savage/Makefile                           | 2 +-
 misc/aichat/Makefile                           | 2 +-
 misc/air/Makefile                              | 1 +
 misc/arrow-datafusion/Makefile                 | 1 +
 misc/binocle/Makefile                          | 2 +-
 misc/broot/Makefile                            | 1 +
 misc/coloursum/Makefile                        | 2 +-
 misc/dijo/Makefile                             | 2 +-
 misc/dotenv-linter/Makefile                    | 2 +-
 misc/lscolors/Makefile                         | 2 +-
 misc/pqrs/Makefile                             | 2 +-
 misc/py-lazrs/Makefile                         | 2 +-
 misc/py-pyqir/Makefile                         | 2 +-
 misc/py-safetensors/Makefile                   | 1 +
 misc/rsclock/Makefile                          | 1 +
 misc/ruut/Makefile                             | 2 +-
 misc/silicon/Makefile                          | 2 +-
 misc/star-history/Makefile                     | 1 +
 misc/tenere/Makefile                           | 1 +
 misc/wthrr/Makefile                            | 2 +-
 misc/xd-rust/Makefile                          | 2 +-
 misc/xplr/Makefile                             | 1 +
 misc/zine/Makefile                             | 2 +-
 multimedia/ab-av1/Makefile                     | 1 +
 multimedia/alass/Makefile                      | 2 +-
 multimedia/av1an/Makefile                      | 1 +
 multimedia/gstreamer1-plugins-rust/Makefile    | 2 +-
 multimedia/helvum/Makefile                     | 2 +-
 multimedia/kooha/Makefile                      | 2 +-
 multimedia/librav1e/Makefile                   | 2 +-
 multimedia/librespot/Makefile                  | 2 +-
 multimedia/neolink/Makefile                    | 2 +-
 multimedia/rav1e/Makefile                      | 2 +-
 multimedia/ringrtc/Makefile                    | 1 +
 multimedia/scte35dump/Makefile                 | 2 +-
 multimedia/termplay/Makefile                   | 2 +-
 multimedia/video-trimmer/Makefile              | 2 +-
 multimedia/wl-screenrec/Makefile               | 1 +
 net-im/conduit/Makefile                        | 2 +-
 net-im/fractal/Makefile                        | 2 +-
 net-im/gurk-rs/Makefile                        | 2 +-
 net-im/libsignal-client/Makefile               | 2 +-
 net-im/libsignal-node/Makefile                 | 1 +
 net-im/py-matrix-synapse/Makefile              | 2 +-
 net-im/yume/Makefile                           | 2 +-
 net-im/zkgroup/Makefile                        | 2 +-
 net-mgmt/bandwhich/Makefile                    | 1 +
 net-mgmt/gping/Makefile                        | 1 +
 net-mgmt/nfs-exporter/Makefile                 | 2 +-
 net-mgmt/rs-aggregate/Makefile                 | 2 +-
 net-p2p/cncli/Makefile                         | 1 +
 net-p2p/oura/Makefile                          | 1 +
 net-p2p/twitch-tui/Makefile                    | 2 +-
 net/aws-ec2-imdsv2-get/Makefile                | 2 +-
 net/findomain/Makefile                         | 1 +
 net/gemserv/Makefile                           | 2 +-
 net/krill/Makefile                             | 2 +-
 net/narrowlink/Makefile                        | 1 +
 net/ntpd-rs/Makefile                           | 2 +-
 net/oha/Makefile                               | 1 +
 net/proby/Makefile                             | 2 +-
 net/quiche/Makefile                            | 1 +
 net/rabbiteer/Makefile                         | 2 +-
 net/rathole/Makefile                           | 2 +-
 net/rosenpass/Makefile                         | 2 +-
 net/routinator/Makefile                        | 1 +
 net/rsyn/Makefile                              | 2 +-
 net/rustdesk-server/Makefile                   | 1 +
 net/s3m/Makefile                               | 1 +
 net/shadowsocks-rust/Makefile                  | 1 +
 net/sniffnet/Makefile                          | 2 +-
 net/trippy/Makefile                            | 2 +-
 ports-mgmt/pkg-graph/Makefile                  | 2 +-
 ports-mgmt/sccache-overlay/Makefile            | 2 +-
 science/py-qiskit-terra/Makefile               | 2 +-
 security/acmed/Makefile                        | 2 +-
 security/arti/Makefile                         | 1 +
 security/authenticator/Makefile                | 2 +-
 security/authoscope/Makefile                   | 2 +-
 security/cargo-audit/Makefile                  | 1 +
 security/clamav-lts/Makefile                   | 1 +
 security/clamav/Makefile                       | 1 +
 security/cloak/Makefile                        | 2 +-
 security/diswall/Makefile                      | 2 +-
 security/gpg-tui/Makefile                      | 2 +-
 security/pam_rssh/Makefile                     | 2 +-
 security/py-cryptography/Makefile              | 2 +-
 security/rage-encryption/Makefile              | 1 +
 security/rpm-sequoia/Makefile                  | 2 +-
 security/rustscan/Makefile                     | 2 +-
 security/sequoia-sq/Makefile                   | 2 +-
 security/sniffglue/Makefile                    | 2 +-
 security/solana/Makefile                       | 2 +-
 security/ssh-vault/Makefile                    | 1 +
 security/suricata/Makefile                     | 2 +-
 security/vaultwarden/Makefile                  | 1 +
 security/weggli/Makefile                       | 2 +-
 shells/atuin/Makefile                          | 1 +
 shells/ion/Makefile                            | 2 +-
 shells/nsh/Makefile                            | 2 +-
 shells/nushell/Makefile                        | 1 +
 shells/sheldon/Makefile                        | 2 +-
 shells/shell-hist/Makefile                     | 2 +-
 shells/shellharden/Makefile                    | 2 +-
 shells/starship/Makefile                       | 2 +-
 sysutils/async/Makefile                        | 2 +-
 sysutils/b3sum/Makefile                        | 2 +-
 sysutils/backdown/Makefile                     | 2 +-
 sysutils/bkt/Makefile                          | 1 +
 sysutils/bottom/Makefile                       | 2 +-
 sysutils/bupstash/Makefile                     | 2 +-
 sysutils/conserve/Makefile                     | 2 +-
 sysutils/czkawka/Makefile                      | 2 +-
 sysutils/ddh/Makefile                          | 2 +-
 sysutils/diskonaut/Makefile                    | 2 +-
 sysutils/diskus/Makefile                       | 2 +-
 sysutils/dua-cli/Makefile                      | 1 +
 sysutils/dust/Makefile                         | 2 +-
 sysutils/dutree/Makefile                       | 2 +-
 sysutils/erdtree/Makefile                      | 2 +-
 sysutils/exa/Makefile                          | 2 +-
 sysutils/eza/Makefile                          | 1 +
 sysutils/faketty/Makefile                      | 2 +-
 sysutils/fclones/Makefile                      | 2 +-
 sysutils/fd/Makefile                           | 2 +-
 sysutils/flipperbit/Makefile                   | 2 +-
 sysutils/flowgger/Makefile                     | 2 +-
 sysutils/fselect/Makefile                      | 1 +
 sysutils/fusefs-sandboxfs/Makefile             | 2 +-
 sysutils/fusefs-xfuse/Makefile                 | 2 +-
 sysutils/gstat-rs/Makefile                     | 1 +
 sysutils/handlr/Makefile                       | 2 +-
 sysutils/hexyl/Makefile                        | 2 +-
 sysutils/httm/Makefile                         | 2 +-
 sysutils/jail_exporter/Makefile                | 2 +-
 sysutils/lsd/Makefile                          | 2 +-
 sysutils/mcfly/Makefile                        | 2 +-
 sysutils/mise/Makefile                         | 1 +
 sysutils/mprocs/Makefile                       | 2 +-
 sysutils/onefetch/Makefile                     | 1 +
 sysutils/potnet/Makefile                       | 2 +-
 sysutils/process-viewer/Makefile               | 2 +-
 sysutils/procs/Makefile                        | 1 +
 sysutils/runiq/Makefile                        | 2 +-
 sysutils/rust-coreutils/Makefile               | 1 +
 sysutils/rust-findutils/Makefile               | 2 +-
 sysutils/syngesture/Makefile                   | 2 +-
 sysutils/szyszka/Makefile                      | 2 +-
 sysutils/tailspin/Makefile                     | 1 +
 sysutils/tealdeer/Makefile                     | 2 +-
 sysutils/tere/Makefile                         | 2 +-
 sysutils/tiempo/Makefile                       | 2 +-
 sysutils/topgrade/Makefile                     | 1 +
 sysutils/tuckr/Makefile                        | 2 +-
 sysutils/vector/Makefile                       | 2 +-
 sysutils/vivid/Makefile                        | 2 +-
 sysutils/xcp/Makefile                          | 1 +
 sysutils/yadf/Makefile                         | 2 +-
 sysutils/yazi/Makefile                         | 1 +
 sysutils/zellij/Makefile                       | 2 +-
 sysutils/zoxide/Makefile                       | 2 +-
 sysutils/ztop/Makefile                         | 2 +-
 textproc/angle-grinder/Makefile                | 2 +-
 textproc/bat/Makefile                          | 2 +-
 textproc/biodiff/Makefile                      | 2 +-
 textproc/cast2gif/Makefile                     | 2 +-
 textproc/choose/Makefile                       | 2 +-
 textproc/code-minimap/Makefile                 | 2 +-
 textproc/comrak/Makefile                       | 1 +
 textproc/csvlens/Makefile                      | 1 +
 textproc/difftastic/Makefile                   | 2 +-
 textproc/evtx/Makefile                         | 2 +-
 textproc/fblog/Makefile                        | 2 +-
 textproc/hq/Makefile                           | 2 +-
 textproc/htmlq/Makefile                        | 2 +-
 textproc/jaq/Makefile                          | 1 +
 textproc/jless/Makefile                        | 2 +-
 textproc/jql/Makefile                          | 1 +
 textproc/mdbook-linkcheck/Makefile             | 2 +-
 textproc/mdbook-mermaid/Makefile               | 2 +-
 textproc/mdbook/Makefile                       | 1 +
 textproc/meilisearch/Makefile                  | 1 +
 textproc/py-tiktoken/Makefile                  | 2 +-
 textproc/py-tokenizers/Makefile                | 1 +
 textproc/quickwit/Makefile                     | 2 +-
 textproc/riffdiff/Makefile                     | 1 +
 textproc/ripgrep-all/Makefile                  | 2 +-
 textproc/ripgrep/Makefile                      | 2 +-
 textproc/rubygem-gitlab-glfm-markdown/Makefile | 1 +
 textproc/sad/Makefile                          | 2 +-
 textproc/sd/Makefile                           | 2 +-
 textproc/sonic/Makefile                        | 2 +-
 textproc/tokay/Makefile                        | 2 +-
 textproc/typst/Makefile                        | 2 +-
 textproc/xsv-rs/Makefile                       | 2 +-
 www/castor/Makefile                            | 2 +-
 www/cobalt/Makefile                            | 2 +-
 www/deno/Makefile                              | 2 +-
 www/dezoomify-rs/Makefile                      | 2 +-
 www/dot-http/Makefile                          | 2 +-
 www/drill/Makefile                             | 2 +-
 www/dufs/Makefile                              | 1 +
 www/ffsend/Makefile                            | 2 +-
 www/firefox-esr/Makefile                       | 1 +
 www/firefox/Makefile                           | 2 +-
 www/garage/Makefile                            | 2 +-
 www/geckodriver/Makefile                       | 2 +-
 www/hurl/Makefile                              | 1 +
 www/jwt-cli/Makefile                           | 2 +-
 www/librewolf/Makefile                         | 2 +-
 www/lychee/Makefile                            | 2 +-
 www/microbin/Makefile                          | 2 +-
 www/miniserve/Makefile                         | 1 +
 www/monolith/Makefile                          | 1 +
 www/ncgopher/Makefile                          | 1 +
 www/newsboat/Makefile                          | 2 +-
 www/py-adblock/Makefile                        | 2 +-
 www/py-nh3/Makefile                            | 1 +
 www/py-pywry/Makefile                          | 2 +-
 www/rearx/Makefile                             | 2 +-
 www/reddsaver/Makefile                         | 2 +-
 www/rustypaste-cli/Makefile                    | 2 +-
 www/rustypaste/Makefile                        | 1 +
 www/so/Makefile                                | 2 +-
 www/sqlpage/Makefile                           | 1 +
 www/stork/Makefile                             | 2 +-
 www/tor-browser/Makefile                       | 2 +-
 www/trunk/Makefile                             | 1 +
 www/tuifeed/Makefile                           | 2 +-
 www/varnish-libvmod-fileserver/Makefile        | 2 +-
 www/vigil/Makefile                             | 2 +-
 www/wasm-pack/Makefile                         | 2 +-
 www/websocat/Makefile                          | 2 +-
 www/wiki-tui/Makefile                          | 2 +-
 www/xh/Makefile                                | 2 +-
 www/zola/Makefile                              | 2 +-
 x11-wm/cosmic-comp/Makefile                    | 1 +
 x11-wm/leftwm/Makefile                         | 2 +-
 x11-wm/niri/Makefile                           | 1 +
 x11/admiral/Makefile                           | 2 +-
 x11/alacritty/Makefile                         | 1 +
 x11/clipcat/Makefile                           | 1 +
 x11/eww/Makefile                               | 2 +-
 x11/hybrid-bar/Makefile                        | 2 +-
 x11/i3bar-river/Makefile                       | 2 +-
 x11/inputplug/Makefile                         | 2 +-
 x11/kickoff/Makefile                           | 2 +-
 x11/rio/Makefile                               | 2 +-
 x11/rlaunch/Makefile                           | 2 +-
 x11/salut/Makefile                             | 2 +-
 x11/shikane/Makefile                           | 2 +-
 x11/shotman/Makefile                           | 2 +-
 x11/sirula/Makefile                            | 2 +-
 x11/squeekboard/Makefile                       | 2 +-
 x11/swayr/Makefile                             | 1 +
 x11/swayrbar/Makefile                          | 1 +
 x11/watershot/Makefile                         | 2 +-
 x11/wayidle/Makefile                           | 2 +-
 x11/wayout/Makefile                            | 2 +-
 x11/wezterm/Makefile                           | 2 +-
 x11/windowtolayer/Makefile                     | 1 +
 x11/wlr-which-key/Makefile                     | 1 +
 x11/wmfocus/Makefile                           | 2 +-
 x11/xdg-desktop-portal-luminous/Makefile       | 2 +-
 467 files changed, 467 insertions(+), 335 deletions(-)
Comment 9 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5461083bf83ad9f5eb0572aa3a4f09c2c3cdd341

commit 5461083bf83ad9f5eb0572aa3a4f09c2c3cdd341
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-10 12:43:40 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:02 +0000

    audio/spotify-tui: Fix build with rust 1.76.0

    Import upstream patch [1] to fix the following error:

    error[E0310]: the parameter type `T` may not live long enough
        --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/rustc-serialize-0.3.24/src/serialize.rs:1155:5

    [1] https://github.com/rust-lang-deprecated/rustc-serialize/commit/75ce92452a5f7c25a58fdea81e5f6f888630a2c9

    PR:             276920
    Approved by:    portmgr (build fix blanket)

 ...rgo-crates_rustc-serialize-0.3.24_src_serialize.rs (new) | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d28fde03c284630be8ddce78b8ddac7bb452462

commit 9d28fde03c284630be8ddce78b8ddac7bb452462
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-10 11:36:39 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:02 +0000

    devel/pylyzer: Fix build with rust-1.76.0

    Import upstream patch [1] to fix the following error:

    error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
      --> /wrkdirs/usr/ports/devel/pylyzer/work/pylyzer-0.0.51/cargo-crates/rustpython-ast-0.3.0/src/impls.rs:60:1

    [1] https://github.com/RustPython/Parser/commit/29c4728dbedc7e69cc2560b9b34058bbba9b1303

    PR:             276920
    Approved by:    portmgr (build fix blanket)

 devel/pylyzer/Makefile                             |  2 +-
 ...-crates_rustpython-ast-0.3.0_src_impls.rs (new) | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2e82ac54849cbebff77b81da8ede0bb96cfeba46

commit 2e82ac54849cbebff77b81da8ede0bb96cfeba46
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-10 12:45:11 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:02 +0000

    net/rabbiteer: Fix build with rust 1.76.0

    Import upstream patch [1] to fix the following error:

    error[E0310]: the parameter type `T` may not live long enough
        --> /wrkdirs/usr/ports/net/rabbiteer/work/rabbiteer-rs-c881238/cargo-crates/rustc-serialize-0.3.24/src/serialize.rs:1155:5

    [1] https://github.com/rust-lang-deprecated/rustc-serialize/commit/75ce92452a5f7c25a58fdea81e5f6f888630a2c9

    PR:             276920
    Approved by:    portmgr (build fix blanket)

 ...rgo-crates_rustc-serialize-0.3.24_src_serialize.rs (new) | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 12 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2252f9df9da7248c59affb1010124d8afe5a907e

commit 2252f9df9da7248c59affb1010124d8afe5a907e
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-08 16:19:15 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:01 +0000

    lang/rust: Update to 1.76.0

    Announce:       https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
    ChangeLog:      https://github.com/rust-lang/rust/releases/tag/1.76.0

    PR:             276920
    Tested by:      mikael,pkubaj

 Mk/Uses/cargo.mk                                   |   2 +-
 Mk/bsd.gecko.mk                                    |   2 +-
 lang/rust-bootstrap/Makefile                       |   2 +-
 lang/rust-bootstrap/distinfo                       |   6 +-
 lang/rust/Makefile                                 |  21 +----
 lang/rust/distinfo                                 | 102 ++++++++++-----------
 .../no-hardlinks/patch-src_bootstrap_lib.rs (gone) |  43 ---------
 ...src_tools_cargo_src_cargo_sources_git_source.rs |  14 +--
 8 files changed, 67 insertions(+), 125 deletions(-)
Comment 13 commit-hook freebsd_committer freebsd_triage 2024-02-19 12:00:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f22f38c881992ab30935acaf801663739365a6d3

commit f22f38c881992ab30935acaf801663739365a6d3
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-02-10 11:16:04 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-02-19 11:59:02 +0000

    devel/dtool: Fix build with rust-1.76.0

    Import upstream patch [1] to fix the following error:

    error[E0310]: the parameter type `T` may not live long enough
        --> /wrkdirs/usr/ports/devel/dtool/work/dtool-0.12.0/cargo-crates/rustc-serialize-0.3.24/src/serialize.rs:1155:5

    [1] https://github.com/rust-lang-deprecated/rustc-serialize/commit/75ce92452a5f7c25a58fdea81e5f6f888630a2c9

    PR:             276920
    Approved by:    portmgr (build fix blanket)

 ...rgo-crates_rustc-serialize-0.3.24_src_serialize.rs (new) | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 14 Charlie Li freebsd_committer freebsd_triage 2024-02-19 14:15:15 UTC
Note, PORT_LLVM minimum version is 16 as of https://github.com/rust-lang/rust/commit/7de6d04bc8033644c09fd1273b6fb3164d04fab3 , committed in ports d2fc4ce57de6
Comment 15 Tatsuki Makino 2024-02-21 06:38:01 UTC
Since this is just a report, no action is required.

FreeBSD 12.x cannot build 1.76.0.
The bootstrap binary specified by ports cannot be run for the following reasons

ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo not found

If the bootstrap is made to use one previous version, the build will stop for the following reasons

Unexpected rustc version: 1.74.0, we should use 1.75.x/1.76.0 to build source with 1.76.0

With the following fix, 12.4-STABLE has successfully built 1.76.0.
I don't know what negative impact this change will have :)

--- a/lib/libc/Versions.def
+++ b/lib/libc/Versions.def
@@ -43,3 +43,6 @@ FBSD_1.6 {
 # Please do NOT increment the version of this namespace.
 FBSDprivate_1.0 {
 } FBSD_1.6;
+
+FBSD_1.7 {
+} FBSD_1.6;