Skip to content

Conversation

dpaoliello
Copy link
Contributor

@dpaoliello dpaoliello commented Sep 4, 2025

For my purposes, contains fixes when compiling the Rust compiler for Arm64EC.

Checked the commits since 1.2.16, and I don't see anything else that may affect Rust?

find-msvc-tools was also factored out from cc to allow updating the use in rustc_codegen_ssa (finding the linker when running the Rust compiler) to be separate from the use in rustc_llvm (building LLVM as part of the Rust compiler).

@rustbot
Copy link
Collaborator

rustbot commented Sep 4, 2025

Failed to set assignee to NobodyXu: invalid assignee

Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 4, 2025
@rustbot
Copy link
Collaborator

rustbot commented Sep 4, 2025

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

Some changes occurred in compiler/rustc_codegen_ssa

cc @WaffleLapkin

@jieyouxu jieyouxu self-assigned this Sep 4, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Sep 4, 2025

@bors try jobs=aarch64-msvc-1,aarch64-apple,test-various,dist-apple-various

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 4, 2025
Update cc-rs to 1.2.33

try-job: aarch64-msvc-1
try-job: aarch64-apple
try-job: test-various
try-job: dist-apple-various
@rust-bors
Copy link

rust-bors bot commented Sep 4, 2025

☀️ Try build successful (CI)
Build commit: d8ac12e (d8ac12e3b0cef5271092800d62ab852417973355, parent: a1208bf765ba783ee4ebdc4c29ab0a0c215806ef)

@jieyouxu
Copy link
Member

jieyouxu commented Sep 4, 2025

Let me know @dpaoliello if you want to try with find-msvc-tools, otherwise I'm fine with the current change as well.
@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 4, 2025
@rustbot
Copy link
Collaborator

rustbot commented Sep 4, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot

This comment has been minimized.

@dpaoliello dpaoliello changed the title Update cc-rs to 1.2.33 Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools Sep 4, 2025
@dpaoliello
Copy link
Contributor Author

I switched to find-msvc-tools, since I was here changing things.

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 4, 2025
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added A-tidy Area: The tidy tool T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Sep 4, 2025
@rustbot
Copy link
Collaborator

rustbot commented Sep 4, 2025

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @wesleywiser

@davidtwco
Copy link
Member

@bors r=davidtwco,jieyouxu

@bors
Copy link
Collaborator

bors commented Sep 4, 2025

📌 Commit 45a0e10 has been approved by davidtwco,jieyouxu

It is now in the queue for this repository.

@bors bors removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 4, 2025
tgross35 added a commit to tgross35/rust that referenced this pull request Sep 5, 2025
Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools

For my purposes, contains fixes when compiling the Rust compiler for Arm64EC.

Checked the commits since 1.2.16, and I don't see anything else that may affect Rust?

`find-msvc-tools` was also factored out from `cc` to allow updating the use in `rustc_codegen_ssa` (finding the linker when running the Rust compiler) to be separate from the use in `rustc_llvm` (building LLVM as part of the Rust compiler).
tgross35 added a commit to tgross35/rust that referenced this pull request Sep 5, 2025
Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools

For my purposes, contains fixes when compiling the Rust compiler for Arm64EC.

Checked the commits since 1.2.16, and I don't see anything else that may affect Rust?

`find-msvc-tools` was also factored out from `cc` to allow updating the use in `rustc_codegen_ssa` (finding the linker when running the Rust compiler) to be separate from the use in `rustc_llvm` (building LLVM as part of the Rust compiler).
tgross35 added a commit to tgross35/rust that referenced this pull request Sep 5, 2025
Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools

For my purposes, contains fixes when compiling the Rust compiler for Arm64EC.

Checked the commits since 1.2.16, and I don't see anything else that may affect Rust?

`find-msvc-tools` was also factored out from `cc` to allow updating the use in `rustc_codegen_ssa` (finding the linker when running the Rust compiler) to be separate from the use in `rustc_llvm` (building LLVM as part of the Rust compiler).
bors added a commit that referenced this pull request Sep 5, 2025
Rollup of 6 pull requests

Successful merges:

 - #144342 (add exact bitshifts)
 - #145709 (Fix LoongArch C function ABI when passing/returning structs containing floats)
 - #146152 (Unify and deduplicate algebraic float tests)
 - #146186 (Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools)
 - #146207 (std: Implement WASIp2-specific stdio routines)
 - #146217 (fix ICE when suggesting `::new`)

r? `@ghost`
`@rustbot` modify labels: rollup
@tgross35
Copy link
Contributor

tgross35 commented Sep 5, 2025

Best guess for #146223 (comment)

@bors r-
@bors2 try jobs=dist-aarch64-linux

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 5, 2025
@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 5, 2025
Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools

try-job: dist-aarch64-linux
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Sep 5, 2025

💔 Test for 216bbad failed: CI. Failed jobs:

@jieyouxu
Copy link
Member

jieyouxu commented Sep 5, 2025

Yeah, seems likely, something about tikv-jemalloc-sys is sensitive to which C compiler is used (?)

configure: error: C compiler cannot create executables

@dpaoliello
Copy link
Contributor Author

Any way to get the config.log off this machine? tikv-jemalloc-sys hard-codes a tail of 100 lines, which isn't enough to display the actual configure error...

I'd be happy to run some experiments if someone could delegate try permissions to me.

@jieyouxu
Copy link
Member

jieyouxu commented Sep 5, 2025

@bors delegate=try

@bors

This comment was marked as off-topic.

@jieyouxu
Copy link
Member

jieyouxu commented Sep 5, 2025

Sorry, wrong bors
@bors2 delegate=try

@rust-bors
Copy link

rust-bors bot commented Sep 5, 2025

✌️ @dpaoliello, you can now perform try builds on this pull request!

You can now post @bors2 try to start a try build.

@rustbot
Copy link
Collaborator

rustbot commented Sep 5, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@dpaoliello dpaoliello marked this pull request as draft September 5, 2025 18:01
@dpaoliello
Copy link
Contributor Author

@bors2 try jobs=dist-aarch64-linux

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 5, 2025
Update cc-rs to 1.2.33, and switch rustc_codegen_ssa to use find-msvc-tools

try-job: dist-aarch64-linux
@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)
[TIMING:start] compile::Sysroot { compiler: Compiler { stage: 0, host: aarch64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false }
[TIMING:end] compile::Sysroot { compiler: Compiler { stage: 0, host: aarch64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false } -- 0.000
[TIMING:end] builder::Libdir { compiler: Compiler { stage: 0, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-linux-gnu } -- 0.000
##[group]Building stage1 opt-dist (stage0 -> stage1, aarch64-unknown-linux-gnu)
    Updating git repository `https://github.com/dpaoliello/jemallocator.git`
    Updating git submodule `https://github.com/tikv/jemalloc`
    Updating crates.io index
---
   Compiling nu-ansi-term v0.50.1
[RUSTC-TIMING] find_msvc_tools test:false 0.354
[RUSTC-TIMING] unicase test:false 0.150
[RUSTC-TIMING] tracing_log test:false 0.249
   Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 (https://github.com/dpaoliello/jemallocator.git?branch=cat#b4d42b26)
[RUSTC-TIMING] nu_ansi_term test:false 0.370
   Compiling jiff v0.2.15
[RUSTC-TIMING] tracing_subscriber test:false 5.380
   Compiling tracing-tree v0.3.1
[RUSTC-TIMING] build_script_build test:false 0.197
---
[RUSTC-TIMING] nu_ansi_term test:false 0.485
[RUSTC-TIMING] nix test:false 2.311
   Compiling tracing-tree v0.3.1
[RUSTC-TIMING] pulldown_cmark test:false 3.757
   Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 (https://github.com/dpaoliello/jemallocator.git?branch=cat#b4d42b26)
[RUSTC-TIMING] tracing_tree test:false 0.496
   Compiling rustc_log v0.0.0 (/checkout/compiler/rustc_log)
[RUSTC-TIMING] build_script_build test:false 0.214
warning: tikv-jemalloc-sys@0.6.0+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 (https://github.com/dpaoliello/jemallocator.git?branch=cat#b4d42b26)`
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/stage2-rustc/release/build/tikv-jemalloc-sys-fcc794f9c23fbbd3/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out"
  BUILD_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/build"
  SRC_DIR="/cargo/git/checkouts/jemallocator-fa798d735d0f2623/b4d42b2/jemalloc-sys"
  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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b"
  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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b" 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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b" 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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b" "sh" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out"
  checking for xsltproc... false
  checking for aarch64-unknown-linux-gnu-gcc... clang
  checking whether the C compiler works... no
  running: "cat" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/build/config.log"
  This file contains any messages produced by compilers while
  running configure, to aid debugging if configure makes a mistake.

  It was created by configure, which was
  generated by GNU Autoconf 2.69.  Invocation command line was

    $ /checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out

  ## --------- ##
  ## Platform. ##
  ## --------- ##

  hostname = 6110db6fa7c7
  uname -m = aarch64
  uname -r = 6.11.0-1015-azure
  uname -s = Linux
  uname -v = #15~24.04.1-Ubuntu SMP Thu May  1 03:01:44 UTC 2025

  /usr/bin/uname -p = aarch64
  /bin/uname -X     = unknown

  /bin/arch              = aarch64
---
  configure:3049: checking for C compiler version
  configure:3058: clang --version >&5
  clang version 21.1.0-rc2
  Target: aarch64-unknown-linux-gnu
  Thread model: posix
  InstalledDir: /rustroot/bin
  configure:3069: $? = 0
  configure:3058: clang -v >&5
  clang version 21.1.0-rc2
  Target: aarch64-unknown-linux-gnu
  Thread model: posix
  InstalledDir: /rustroot/bin
  Found candidate GCC installation: /rustroot/bin/../lib/gcc/aarch64-unknown-linux-gnu/9.5.0
  Selected GCC installation: /rustroot/bin/../lib/gcc/aarch64-unknown-linux-gnu/9.5.0
  Candidate multilib: .;@m64
  Selected multilib: .;@m64
  configure:3069: $? = 0
  configure:3058: clang -V >&5
  clang: error: argument to '-V' is missing (expected 1 value)
  clang: error: no input files
  configure:3069: $? = 1
  configure:3058: clang -qversion >&5
  clang: error: unknown argument '-qversion'; did you mean '--version'?
  clang: error: no input files
  configure:3069: $? = 1
  configure:3089: checking whether the C compiler works
  configure:3111: clang -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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b -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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b -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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b conftest.c  >&5
  /usr/bin/ld: /rustroot/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /rustroot/bin/../lib/LLVMgold.so)
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  configure:3115: $? = 1
  configure:3153: result: no
  configure: failed program was:
  | /* confdefs.h */
  | #define PACKAGE_NAME ""
  | #define PACKAGE_TARNAME ""
  | #define PACKAGE_VERSION ""
  | #define PACKAGE_STRING ""
  | #define PACKAGE_BUGREPORT ""
  | #define PACKAGE_URL ""
  | /* end confdefs.h.  */
  | 
  | int
  | main ()
  | {
  | 
---
  ## ---------------- ##
  ## Cache variables. ##
  ## ---------------- ##

  ac_cv_env_CCC_set=
  ac_cv_env_CCC_value=
  ac_cv_env_CC_set=set
  ac_cv_env_CC_value=clang
  ac_cv_env_CFLAGS_set=set
  ac_cv_env_CFLAGS_value='-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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  ac_cv_env_CPPFLAGS_set=set
  ac_cv_env_CPPFLAGS_value='-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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  ac_cv_env_CPP_set=
  ac_cv_env_CPP_value=
  ac_cv_env_CXXFLAGS_set=
  ac_cv_env_CXXFLAGS_value=
  ac_cv_env_CXX_set=set
  ac_cv_env_CXX_value=clang++
  ac_cv_env_LDFLAGS_set=set
  ac_cv_env_LDFLAGS_value='-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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  ac_cv_env_LIBS_set=
  ac_cv_env_LIBS_value=
  ac_cv_env_build_alias_set=set
  ac_cv_env_build_alias_value=aarch64-unknown-linux-gnu
  ac_cv_env_host_alias_set=set
  ac_cv_env_host_alias_value=aarch64-unknown-linux-gnu
  ac_cv_env_target_alias_set=
  ac_cv_env_target_alias_value=
  ac_cv_path_XSLTPROC=false
  ac_cv_prog_CC=clang

  ## ----------------- ##
  ## Output variables. ##
  ## ----------------- ##

  AR=''
  ARFLAGS=''
  AROUT=''
  AUTOCONF=''
  AWK=''
  BINDIR='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/bin'
  CC='clang'
  CC_MM=''
  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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  CONFIG='--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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out build_alias=aarch64-unknown-linux-gnu host_alias=aarch64-unknown-linux-gnu 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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'\'' '\''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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'\'' '\''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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'\'' CXX=clang++'
  CONFIGURE_CFLAGS=''
  CONFIGURE_CXXFLAGS=''
  CPP=''
  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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  CTARGET=''
  CXX='clang++'
  CXXFLAGS=''
  DATADIR='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/share'
  DEFS=''
  DSO_LDFLAGS=''
  DUMP_SYMS=''
  ECHO_C=''
  ECHO_N='-n'
  ECHO_T=''
  EGREP=''
  EXEEXT=''
  EXTRA_CFLAGS=''
  EXTRA_CXXFLAGS=''
  EXTRA_LDFLAGS=''
  GREP=''
  HAVE_CXX14=''
  HAVE_CXX17=''
  INCLUDEDIR='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/include'
  INSTALL_DATA=''
  INSTALL_PROGRAM=''
  INSTALL_SCRIPT=''
  JEMALLOC_CPREFIX=''
  JEMALLOC_PREFIX=''
  LD=''
  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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  LDTARGET=''
  LD_PRELOAD_VAR=''
  LIBDIR='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/lib'
  LIBOBJS=''
  LIBS=''
  LM=''
  LTLIBOBJS=''
  MANDIR='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/share/man'
  MKLIB=''
  NM=''
  OBJEXT=''
  PACKAGE_BUGREPORT=''
  PACKAGE_NAME=''
  PACKAGE_STRING=''
  PACKAGE_TARNAME=''
  PACKAGE_URL=''
  PACKAGE_VERSION=''
  PATH_SEPARATOR=':'
  PIC_CFLAGS=''
  PREFIX='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out'
  RANLIB=''
  RPATH=''
  RPATH_EXTRA=''
  SHELL='/bin/sh'
  SOREV=''
  SPECIFIED_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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b'
  SPECIFIED_CXXFLAGS=''
  TEST_LD_MODE=''
  XSLROOT=''
  XSLTPROC='false'
  a=''
  abi=''
  abs_objroot='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/build/'
  abs_srcroot='/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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: in `/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out/build':
  configure: error: C compiler cannot create executables
  See `config.log' for more details

  thread 'main' (82132) panicked at /cargo/git/checkouts/jemallocator-fa798d735d0f2623/b4d42b2/jemalloc-sys/build.rs:398:9:
  command did not execute successfully: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b" 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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b" 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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b" "sh" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/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/stage2-rustc/aarch64-unknown-linux-gnu/release/build/tikv-jemalloc-sys-c5ba691ad8c06ec9/out"
  expected success, got: exit status: 77
  stack backtrace:
     0:     0xab17df8f2cb0 - std::backtrace_rs::backtrace::libunwind::trace::h85e1dace55e88c49
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0xab17df8f2cb0 - std::backtrace_rs::backtrace::trace_unsynchronized::h847f5e6855acbb4b
---
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/panicking.rs:834:13
    12:     0xab17df8d74e8 - std::panicking::panic_handler::{{closure}}::hd852134cc646386d
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/panicking.rs:707:13
    13:     0xab17df8d42a0 - std::sys::backtrace::__rust_end_short_backtrace::h79726cc618fbad5b
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/sys/backtrace.rs:174:18
    14:     0xab17df8c0158 - __rustc[116443a96cdf920f]::rust_begin_unwind
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/panicking.rs:698:5
    15:     0xab17df907370 - core::panicking::panic_fmt::h8ffcb403c8c0baca
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/core/src/panicking.rs:75:14
    16:     0xab17df866744 - build_script_build::execute::h38ec10dca943a047
    17:     0xab17df861f00 - build_script_build::run_and_log::h42f599a54876be2d
    18:     0xab17df8659cc - build_script_build::main::hacc92fd3d5f01389
    19:     0xab17df86696c - core::ops::function::FnOnce::call_once::h2a8f1ab46f361468
    20:     0xab17df867fc0 - std::sys::backtrace::__rust_begin_short_backtrace::h9751178ffce60990
    21:     0xab17df866900 - std::rt::lang_start::{{closure}}::h2a7395064d997c82
    22:     0xab17df8cae5c - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h1851b8b03a2a4519
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/core/src/ops/function.rs:290:21
    23:     0xab17df8cae5c - std::panicking::catch_unwind::do_call::hfe05e729930c587c
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/panicking.rs:590:40
    24:     0xab17df8cae5c - std::panicking::catch_unwind::h0fd9b55462610c3c
                                 at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/library/std/src/panicking.rs:553:19
---
   1: std::backtrace_rs::backtrace::trace_unsynchronized
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2: std::backtrace::Backtrace::create
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/backtrace.rs:331:13
   3: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.99/src/backtrace.rs:27:14
   4: <opt_dist::exec::CmdBuilder>::run
             at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/src/tools/opt-dist/src/exec.rs:80:17
   5: <opt_dist::exec::Bootstrap>::run
             at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/src/tools/opt-dist/src/exec.rs:199:18
   6: opt_dist::execute_pipeline::{closure#1}::{closure#0}
             at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/src/tools/opt-dist/src/timer.rs:111:22
   8: opt_dist::execute_pipeline::{closure#1}
             at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/src/tools/opt-dist/src/timer.rs:111:22
  10: opt_dist::execute_pipeline
             at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/src/tools/opt-dist/src/main.rs:242:35
  11: opt_dist::main
             at /rustc/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b/src/tools/opt-dist/src/main.rs:467:18
  12: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/core/src/ops/function.rs:253:5
  13: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/sys/backtrace.rs:158:18
  14: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/rt.rs:206:18
  15: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/core/src/ops/function.rs:290:21
  16: std::panicking::catch_unwind::do_call
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/panicking.rs:589:40
  17: std::panicking::catch_unwind
             at /rustc/788da80fcfcef3f34c90def5baa32813e39a1a41/library/std/src/panicking.rs:552:19

@rust-bors
Copy link

rust-bors bot commented Sep 5, 2025

💔 Test for 501f1bd failed: CI. Failed jobs:

@dpaoliello
Copy link
Contributor Author

There we go:

  configure:3111: clang -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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b -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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b -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/501f1bdbb5e1ad826d9b365e27bcefd98d951e0b conftest.c  >&5
  /usr/bin/ld: /rustroot/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /rustroot/bin/../lib/LLVMgold.so)
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Now, what to do about it? I'm not a Linux dev, so I have no idea what's gone wrong...

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. A-tidy Area: The tidy tool S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

8 participants