Skip to content

Update Xcode to 26.6 - #161626

Open
madsmtm wants to merge 1 commit into
rust-lang:mainfrom
madsmtm:update-xcode
Open

Update Xcode to 26.6#161626
madsmtm wants to merge 1 commit into
rust-lang:mainfrom
madsmtm:update-xcode

Conversation

@madsmtm

@madsmtm madsmtm commented Aug 23, 2026

Copy link
Copy Markdown
Member

Update Xcode from 26.2 to 26.6 (released 25 Jun 2026).

This fixes #161561 (at least once Miri updates to the rustc built after this), it seems that Xcode 26.3 and lower's Clang inserts +zcm,+zcz LLVM target features, which newer Clang doesn't like. By building tikv-jemalloc-sys in the sysroot with the newer Xcode/Clang, we avoid the warning.

See this Zulip thread for investigation.

See #152013 for further details on the effects that updating the Xcode version has.

r? shepmaster

@madsmtm madsmtm added O-macos Operating system: macOS A-CI Area: Our Github Actions CI labels Aug 23, 2026
@rustbot

rustbot commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Warning

If you are changing how CI LLVM is built or linked, make sure to bump
src/bootstrap/download-ci-llvm-stamp.

cc @jieyouxu

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Aug 23, 2026
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Aug 23, 2026
@madsmtm

madsmtm commented Aug 23, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=apple

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 23, 2026
Update Xcode to 26.6


try-job: *apple*
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling quote v1.0.47
   Compiling serde_core v1.0.229
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "/Users/runner/work/rust/rust/src/ci/citool/../../../build/citool/debug/build/proc-macro2-4417142953ca1d09/rustc7MndK2/symbols.o" "<2 object files omitted>" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=11.0.0" "-o" "/Users/runner/work/rust/rust/src/ci/citool/../../../build/citool/debug/build/proc-macro2-4417142953ca1d09/build_script_build-4417142953ca1d09" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode_26.6.app/Contents/Developer
          

error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "/Users/runner/work/rust/rust/src/ci/citool/../../../build/citool/debug/build/quote-410982f58b086895/rustckXmZP6/symbols.o" "<2 object files omitted>" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=11.0.0" "-o" "/Users/runner/work/rust/rust/src/ci/citool/../../../build/citool/debug/build/quote-410982f58b086895/build_script_build-410982f58b086895" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode_26.6.app/Contents/Developer
          

error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "/Users/runner/work/rust/rust/src/ci/citool/../../../build/citool/debug/build/serde_core-923d5bcb85e44581/rustcS1jdMS/symbols.o" "<2 object files omitted>" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=11.0.0" "-o" "/Users/runner/work/rust/rust/src/ci/citool/../../../build/citool/debug/build/serde_core-923d5bcb85e44581/build_script_build-923d5bcb85e44581" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode_26.6.app/Contents/Developer
          

error: could not compile `serde_core` (build script) due to 1 previous error

@madsmtm

madsmtm commented Aug 23, 2026

Copy link
Copy Markdown
Member Author

Hmm, the macos-15 only installs up to Xcode 26.3, so we have to use the macos-26 image, which is a WIP, see #157687.

@madsmtm madsmtm added the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Aug 23, 2026
@rust-bors rust-bors Bot 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 Aug 24, 2026
@rust-bors

rust-bors Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 3b447a8 failed: CI. Failed jobs:

@rust-bors

rust-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #162035) made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc O-macos Operating system: macOS S-blocked Status: Blocked on something else such as an RFC or other implementation work. 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-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[regression] Linker warnings when building Miri on macOS

4 participants