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

Migrate to Rust 1.74.0+ in cross compiler #513

Closed
webmaster128 opened this issue Jan 30, 2024 · 0 comments · Fixed by #529
Closed

Migrate to Rust 1.74.0+ in cross compiler #513

webmaster128 opened this issue Jan 30, 2024 · 0 comments · Fixed by #529
Assignees
Milestone

Comments

@webmaster128
Copy link
Member

In the Rust upgrade 1.73.0 -> 1.74.0 (rust-lang/rust#104385) the min version of macOS was increased from 10.10 to 10.12. This inteferes with out SDK and OSX_VERSION_MIN=10.10 in
https://github.com/CosmWasm/wasmvm/blob/401557bdc05944b75f252d79d0afe94056f23858/builders/Dockerfile.cross.

Example errors we get:

  = note: ld: warning: object file (/tmp/rustcLcodww/symbols.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.1o32py0aligiv2p5.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.1hronymk1fxbh39e.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.1ompccj1wgi658ci.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.1sm45uuq7shepwo0.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.1smt1osp2fzzze8.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.1sztivar8efnqws3.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.23ai6tufk7zt1nci.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.2dgnoqk3z96x22go.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.39rag98xugl0yng.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.4bdcrp16q8apmznc.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.578khrzp4xyp53h1.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.bo7eeikdwsidfke.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.gr0jzey3t6uaw1d.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: warning: object file (/code/target/x86_64-apple-darwin/release/deps/wasmvm.ijvblgtcyx12489.rcgu.o) was built for newer macOS version (10.12) than being linked (10.10)
          ld: can't open file, errno=2 file '/code/target/x86_64-apple-darwin/release/deps/wasmvm.6rsmafctacchex6.rcgu.o'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

But there have also been other cases of

ld: can't open file, errno=2 file '[...]/wasmvm.[...].rcgu.o'

with no such explanations.

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