You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this looks pretty similar to #1453, I've not been able to fix it based on the work-around mentioned in the issue, which is why I've created a separate one.
While attempting to cross compile in Github CI on the ubuntu-latest image for x64_64-pc-windows-gnu and i686-pc-windows-gnu, I hit a linking error due to an inability to link against synchronization.
I have tried pinning my cross version to 085092c and the rust toolchain version was nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.79.0-nightly (8df7e723e 2024-03-30).
It's unclear what's happening here besides a linking error. The
relevant issues are: cross-rs/cross#1463 and
cross-rs/cross#1453.
Pinning to cross 0.2.5 and swtching to the Rust stable toolchain seems
to fix things for now.
i686-pc-windows-gnu builds fails with cannot find -lsynchronization.
So in summary, it seems the build failures are specific to using Rust nightly, and to targeting i686-pc-windows-gnu. I had thought I also saw them for x86_64-pc-windows-gnu, but I guess I got confused between the Windows builds.
Checklist
Describe your issue
While this looks pretty similar to #1453, I've not been able to fix it based on the work-around mentioned in the issue, which is why I've created a separate one.
While attempting to cross compile in Github CI on the
ubuntu-latest
image forx64_64-pc-windows-gnu
andi686-pc-windows-gnu
, I hit a linking error due to an inability to link againstsynchronization
.I have tried pinning my cross version to 085092c and the rust toolchain version was
nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.79.0-nightly (8df7e723e 2024-03-30)
.What target(s) are you cross-compiling for?
i686-pc-windows-gnu, x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (085092c 2024-03-08)
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: