-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rlib-format-packed-bundled-libs test failures on Xcode 14 #103044
Comments
|
In the meantime the tests can always be ignored on macos, this is an unstable option, not enabled by default. |
Please check if this fixes problem: https://github.com/BelovDV/rustc/tree/issue-103044. |
That is an option to fix this issue. The other option is to in case of bundled static libs not just extract the static libs for the linker to use and pass the original rlib, but also produce a new rlib without the bundled static libs. |
Wrap bundled static libraries into object files Fixes rust-lang#103044 (not sure, couldn't test locally) Bundled static libraries should be wrapped into object files as it's done for metadata file. r? `@petrochenkov`
The tests
src/test/run-make/rlib-format-packed-bundled-libs
andsrc/test/run-make/rlib-format-packed-bundled-libs-2
are failing with Xcode 14. The output is:I'm not sure if it is helpful, but this error is curiously similar to the error that versions older than rust 1.54 produce when trying to build any program with Xcode 14. That was fixed via #84449.
See also https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20How.20can.20I.20fix.20Rust.201.2E53.2E0.20or.20earlier.20to.20run.20on.20macOS.2012.2E6.3F/near/299263887 where @bjorn3 gave a little more context on that.
cc @belovdv who added these tests in #100101.
Marking as P-critical for now because GitHub is updating
macos-latest
tomacos-12
now, intending to complete by December 1. If that transition hitsrust-lang-ci
, then CI will no longer pass. See actions/runner-images#6384 for more information. The priority can be lowered with workarounds such as manually settingmacos-11
in CI or switching to an older Xcode, or disabling these tests on macOS. If it is a simple fix, that would be ideal to try to get that in quickly.Meta
This is on latest master 6b3ede3.
The text was updated successfully, but these errors were encountered: