Skip to content
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

macos-latest builds failing #280

Closed
Wojtek242 opened this issue Oct 23, 2022 · 3 comments · Fixed by #282
Closed

macos-latest builds failing #280

Wojtek242 opened this issue Oct 23, 2022 · 3 comments · Fixed by #282

Comments

@Wojtek242
Copy link
Collaborator

With the following linker error:

  = note: ld: in /Users/runner/.rustup/toolchains/1.46.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-3704639a9502890d.rlib(lib.rmeta), archive member 'lib.rmeta' with length 4900080 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.46.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-3704639a9502890d.rlib'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
@Wojtek242
Copy link
Collaborator Author

Probably related to M1: fltk-rs/fltk-rs#956

No idea what a meaningful fix would be.

@Wojtek242 Wojtek242 linked a pull request Nov 19, 2022 that will close this issue
@Wojtek242
Copy link
Collaborator Author

Appears to be an issue that needs to be solved at the compiler level: rust-lang/rust#103044

The issue was closed only recently which means the fix will only be available in newer rust versions. Will need to adjust CI to reflect that.

@Wojtek242
Copy link
Collaborator Author

Appears to be an issue that needs to be solved at the compiler level: rust-lang/rust#103044

The issue was closed only recently which means the fix will only be available in newer rust versions. Will need to adjust CI to reflect that.

Actually, it's a bit simpler than that - rust < 1.54 does not work on macos >= 12: 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

As a result the PR adjusts the CI workflow to test MSRV on macos-11 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant