Skip to content

miri subtree update #144570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 46 commits into from
Closed

miri subtree update #144570

wants to merge 46 commits into from

Conversation

RalfJung
Copy link
Member

Subtree update of miri to rust-lang/miri@5ff8417.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost

RalfJung and others added 30 commits July 19, 2025 15:39
non-deterministically truncate reads/writes
Use `josh-sync` instead of `miri-script` for Josh synchronization
make the missing-MIR message more clear
This updates the rust-version file to b56aaec.
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: b56aaec
Filtered ref: 12f5e3255df658296af9fc953d8c1ab79ba91ea3

This merge was created using https://github.com/rust-lang/josh-sync.
Perfetto gives an error if an id does not fit in an 64-bit signed integer in 2's complement.
@rust-log-analyzer

This comment has been minimized.

@RalfJung
Copy link
Member Author

@Patrick-6 You said we need cc 1.2.30, but that's not correct, is it? flags was added in rust-lang/cc-rs@f50ff26 which is included in 1.2.22.

And it seems we could easily avoid it by just calling flag in a loop so maybe we should do that.

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jul 28, 2025
@jieyouxu
Copy link
Member

The comment indicates that "not having the same cc version in both crates" causes breakage. But you seem to say that just using a newer cc causes breakage? Then I misread the comment.

Wait sorry, you meant that the cc version must be sync'd between the compiler crates?

@RalfJung
Copy link
Member Author

@jieyouxu that's what I thought the comment meant. I guess it means something else.

@RalfJung
Copy link
Member Author

I have updated the comment.

@jieyouxu can we just rely on PR CI catching these cc issues, or should we try-build some extra targets, or should we do some work on the Miri side to avoid bumping cc?

cc = "=1.2.16"
# `cc` updates often break things, so we pin it here. Cargo enforces "max 1 semver-compat version
# per crate", so if you change this, you need to also change it in `rustc_llvm`.
cc = "=1.2.30"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, we could just remove the pin here and rely on rustc_llvm pinning the version for the entire workspace... 🤷

@jieyouxu
Copy link
Member

@jieyouxu can we just rely on PR CI catching these cc issues, or should we try-build some extra targets, or should we do some work on the Miri side to avoid bumping cc?

I think it's easiest to just try full CI

@jieyouxu
Copy link
Member

jieyouxu commented Jul 28, 2025

The cc versions were pinned because new versions often caused build breakages, i.e. they couldn't be bumped. If we can bump them, great.

Another reason why cc is pinned is so that breakages from cc updates don't prevent the weekly cargo update bumps from being able to take place, I think?

@RalfJung
Copy link
Member Author

@bors r+ rollup=never

@bors
Copy link
Collaborator

bors commented Jul 28, 2025

📌 Commit d2ee320 has been approved by RalfJung

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 28, 2025
@bors
Copy link
Collaborator

bors commented Jul 29, 2025

⌛ Testing commit d2ee320 with merge 42515eb...

bors added a commit that referenced this pull request Jul 29, 2025
miri subtree update

Subtree update of `miri` to rust-lang/miri@5ff8417.

Created using https://github.com/rust-lang/josh-sync.

r? `@ghost`
@bors
Copy link
Collaborator

bors commented Jul 29, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 29, 2025
@rust-log-analyzer
Copy link
Collaborator

The job dist-aarch64-linux failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] tracing_tree test:false 0.479
[RUSTC-TIMING] tracing_subscriber test:false 4.552
   Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
[RUSTC-TIMING] build_script_build test:false 0.201
warning: [email protected]+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7: Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
error: failed to run custom build command for `tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/release/build/tikv-jemalloc-sys-dfc3daa632493feb/build-script-build` (exit status: 101)
  --- stdout
  TARGET=aarch64-unknown-linux-gnu
  HOST=aarch64-unknown-linux-gnu
  NUM_JOBS=8
  OUT_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out"
  BUILD_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build"
  SRC_DIR="/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_OVERRIDE
  cargo:rerun-if-env-changed=JEMALLOC_OVERRIDE
  OPT_LEVEL = Some(3)
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out)
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu
  CC_aarch64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu
  CC_aarch64_unknown_linux_gnu = Some(sccache clang)
  cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
  CC_KNOWN_WRAPPER_CUSTOM = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(false)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  CARGO_ENCODED_RUSTFLAGS = Some(--cfg=windows_raw_dylib-Csymbol-mangling-version=v0-Zunstable-options--check-cfg=cfg(bootstrap)--check-cfg=cfg(llvm_enzyme)-Zmacro-backtrace-Csplit-debuginfo=off-Clink-args=-Wl,-z,origin-Clink-args=-Wl,-rpath,$ORIGIN/../lib-Clinker-features=+lld-Zunstable-options-Alinker-messages-Zon-broken-pipe=kill-Zdefault-visibility=protected-Zdylib-lto-Clto=thin-Cembed-bitcode=yes-Clink-args=-Wl,--icf=all-Cprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo-Cllvm-args=-vp-counters-per-site=4-Cllvm-args=-static-func-strip-dirname-prefix=2)
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  cargo:warning=Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
  OUT_DIR = Some(/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-unknown-linux-gnu)
  HOST = Some(aarch64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
---
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  CFLAGS_aarch64-unknown-linux-gnu = None
  CC="clang"
  CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d"
  JEMALLOC_REPO_DIR="jemalloc"
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_MALLOC_CONF
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_MALLOC_CONF
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_PAGE
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_PAGE
  --with-lg-page=16
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_HUGEPAGE
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_HUGEPAGE
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_QUANTUM
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_QUANTUM
  cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_JEMALLOC_SYS_WITH_LG_VADDR
  cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_VADDR
  CARGO_FEATURE_STATS not set
  running: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build" && CC="clang" CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d" CPPFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d" LDFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d" "sh" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build/configure" "--with-version=5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-lg-page=16" "--with-private-namespace=_rjem_" "--disable-stats" "--host=aarch64-unknown-linux-gnu" "--build=aarch64-unknown-linux-gnu" "--prefix=/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out"
  checking for xsltproc... false
  checking for aarch64-unknown-linux-gnu-gcc... clang
  checking whether the C compiler works... no
  running: "tail" "-n" "100" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build/config.log"
  XSLROOT=''
  XSLTPROC='false'
  a=''
  abi=''
  abs_objroot='/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build/'
  abs_srcroot='/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build/'
  ac_ct_CC=''
  ac_ct_CXX=''
  bindir='${exec_prefix}/bin'
  build='aarch64-unknown-linux-gnu'
  build_alias='aarch64-unknown-linux-gnu'
  build_cpu=''
  build_os=''
  build_vendor=''
  cfghdrs_in=''
  cfghdrs_out=''
  cfgoutputs_in=''
  cfgoutputs_out=''
  datadir='${datarootdir}'
  datarootdir='${prefix}/share'
  docdir='${datarootdir}/doc/${PACKAGE}'
  dvidir='${docdir}'
  enable_autogen=''
  enable_cache_oblivious=''
  enable_cxx='no'
  enable_debug=''
  enable_doc='no'
  enable_experimental_smallocx=''
  enable_fill=''
  enable_initial_exec_tls=''
  enable_lazy_lock=''
  enable_log=''
  enable_opt_safety_checks=''
  enable_opt_size_checks=''
  enable_prof=''
  enable_readlinkat=''
  enable_shared='no'
  enable_static=''
  enable_stats='no'
  enable_tls=''
  enable_uaf_detection=''
  enable_utrace=''
  enable_xmalloc=''
  enable_zone_allocator=''
  exe=''
  exec_prefix='/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out'
  host='aarch64-unknown-linux-gnu'
  host_alias='aarch64-unknown-linux-gnu'
  host_cpu=''
  host_os=''
  host_vendor=''
  htmldir='${docdir}'
  importlib=''
  includedir='${prefix}/include'
  infodir='${datarootdir}/info'
  install_suffix=''
  je_=''
  jemalloc_version=''
  jemalloc_version_bugfix=''
  jemalloc_version_gid=''
  jemalloc_version_major=''
  jemalloc_version_minor=''
  jemalloc_version_nrev=''
  libdir='${exec_prefix}/lib'
  libdl=''
  libexecdir='${exec_prefix}/libexec'
  libprefix=''
  link_whole_archive=''
  localedir='${datarootdir}/locale'
  localstatedir='${prefix}/var'
  mandir='${datarootdir}/man'
  o=''
  objroot=''
  oldincludedir='/usr/include'
  pdfdir='${docdir}'
  prefix='/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out'
  private_namespace=''
  program_transform_name='s,x,x,'
  psdir='${docdir}'
  rev='2'
  sbindir='${exec_prefix}/sbin'
  sharedstatedir='${prefix}/com'
  so=''
  srcroot=''
  sysconfdir='${prefix}/etc'
  target_alias=''

  ## ----------- ##
  ## confdefs.h. ##
  ## ----------- ##

  /* confdefs.h */
  #define PACKAGE_NAME ""
  #define PACKAGE_TARNAME ""
  #define PACKAGE_VERSION ""
---
  configure: error: C compiler cannot create executables
  See `config.log' for more details

  thread 'main' panicked at /rust/deps/tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/build.rs:388:9:
  command did not execute successfully: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build" && CC="clang" CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d" CPPFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d" LDFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -fprofile-generate=/tmp/tmp-multistage/opt-artifacts/rustc-pgo -flto=thin -fdebug-prefix-map=/checkout=/rustc/42515eb38a86259e7500ee28e12a679e0e24146d" "sh" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out/build/configure" "--with-version=5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-lg-page=16" "--with-private-namespace=_rjem_" "--disable-stats" "--host=aarch64-unknown-linux-gnu" "--build=aarch64-unknown-linux-gnu" "--prefix=/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-88ac55c1f58036fd/out"
  expected success, got: exit status: 77
  stack backtrace:
     0:     0xaafbe6f62164 - std::backtrace_rs::backtrace::libunwind::trace::hc493b543b6a82544
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0xaafbe6f62164 - std::backtrace_rs::backtrace::trace_unsynchronized::hdfd4f75029f4248f
---
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/panicking.rs:833:13
    12:     0xaafbe6f643ac - std::panicking::begin_panic_handler::{{closure}}::h3f7326d65149127d
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/panicking.rs:706:13
    13:     0xaafbe6f62664 - std::sys::backtrace::__rust_end_short_backtrace::he35096a6d86a76b9
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/sys/backtrace.rs:174:18
    14:     0xaafbe6f64090 - __rustc[418dba5742c4210a]::rust_begin_unwind
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/panicking.rs:697:5
    15:     0xaafbe6f815d8 - core::panicking::panic_fmt::h0aa48614837f8e01
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/core/src/panicking.rs:75:14
    16:     0xaafbe6ee65f8 - build_script_build::execute::h3e0a2128a1277466
    17:     0xaafbe6ee6398 - build_script_build::run_and_log::h8d5a6854951c0746
    18:     0xaafbe6ee5890 - build_script_build::main::hbbb0ff6ecac07ee1
    19:     0xaafbe6ee7664 - core::ops::function::FnOnce::call_once::hee409225c81f0db3
    20:     0xaafbe6ee70ec - std::sys::backtrace::__rust_begin_short_backtrace::h8880530a10b5c3a4
    21:     0xaafbe6ee7068 - std::rt::lang_start::{{closure}}::h3479e1db6c6292a1
    22:     0xaafbe6f5a250 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h243f437bbafd50a6
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/core/src/ops/function.rs:290:21
    23:     0xaafbe6f5a250 - std::panicking::catch_unwind::do_call::he6cefb2d1d3e60b1
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/panicking.rs:589:40
    24:     0xaafbe6f5a250 - std::panicking::catch_unwind::h278187ad8292e76c
                                 at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/library/std/src/panicking.rs:552:19
---
   1: std::backtrace_rs::backtrace::trace_unsynchronized
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2: std::backtrace::Backtrace::create
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/std/src/backtrace.rs:331:13
   3: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.98/src/backtrace.rs:27:14
   4: <opt_dist::exec::CmdBuilder>::run
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/exec.rs:80:17
   5: <opt_dist::exec::Bootstrap>::run
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/exec.rs:193:18
   6: opt_dist::execute_pipeline::{closure#1}::{closure#0}
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/main.rs:256:21
   7: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#0}, ()>
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/timer.rs:111:22
   8: opt_dist::execute_pipeline::{closure#1}
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/main.rs:245:15
   9: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, opt_dist::training::RustcPGOProfile>
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/timer.rs:111:22
  10: opt_dist::execute_pipeline
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/main.rs:242:35
  11: opt_dist::main
             at /rustc/42515eb38a86259e7500ee28e12a679e0e24146d/src/tools/opt-dist/src/main.rs:461:18
  12: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/core/src/ops/function.rs:250:5
  13: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/std/src/sys/backtrace.rs:152:18
  14: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/std/src/rt.rs:206:18
  15: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/core/src/ops/function.rs:284:21
  16: std::panicking::catch_unwind::do_call
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/std/src/panicking.rs:589:40
  17: std::panicking::catch_unwind
             at /rustc/390a0ab5dc4a895235a551e502c3893c3337731d/library/std/src/panicking.rs:552:19

@RalfJung
Copy link
Member Author

Yeah that looks like a cc bug... I'll re-spin the sync with latest Miri which doesn't require a cc bump any more.

@RalfJung RalfJung closed this Jul 29, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 29, 2025
@RalfJung RalfJung deleted the miri branch July 29, 2025 06:07
Zalathar added a commit to Zalathar/rust that referenced this pull request Jul 29, 2025
cc dependencies: clarify comment

This caused confusion in rust-lang#144570

r? `@jieyouxu`
Zalathar added a commit to Zalathar/rust that referenced this pull request Jul 29, 2025
cc dependencies: clarify comment

This caused confusion in rust-lang#144570

r? ``@jieyouxu``
rust-timer added a commit that referenced this pull request Jul 29, 2025
Rollup merge of #144626 - RalfJung:cc-pin-comment, r=lqd

cc dependencies: clarify comment

This caused confusion in #144570

r? ``@jieyouxu``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants