cross: Cannot compile ring 0.17.13 (also reqwest) due to outdated bintools
Checklist
- I’ve looked through the issues and pull requests for similar reports
Describe your issue
Cross is unable to compile ring 0.17.13 due to outdated bintools in the x86_64-unknown-illumos docker image.
Possible Solutions:
- Update the image to bintools to 2.38 (https://github.com/briansmith/ring/issues/2461#issuecomment-2705621497) on the original image or create a new image with the update applied
What target(s) are you cross-compiling for?
other (specify in description)
Which operating system is the host (e.g computer cross is on) running?
- macOS
- Windows
- Linux / BSD
- other OS (specify in description)
What architecture is the host?
- x86_64 / AMD64
- arm32
- arm64 (including Mac M1)
What container engine is cross using?
- docker
- podman
- other container engine (specify in description)
cross version
cross 0.2.5
Example
No response
Additional information / notes
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (12 by maintainers)
Commits related to this issue
- Update binutils to 2.38 on illumos and solaris (#1641) resolves #1639 — committed to cross-rs/cross by Emilgardis 2 years ago
- fix cross build error, refer to issue: https://github.com/cross-rs/cross/issues/1639 — committed to apecloud/ape-dts by qianyiwen2019 2 years ago
thank you. Are there plans to do a new release? We’re using https://github.com/taiki-e/install-action gh action to install and it gets the latest one which is 0.2.5.
Are there any stable tags for the images that can be used, instead of
main, that will reliably pick up these changes?Eric Biggers mentioned to me that VPCLMULQDQ support was added in binutils version 2.30 (released in January 2018). So potentially any binutils version less than 2.30 will be tool old to compile ring for x86_64.
docker/solaris.sh mentions 2.28.1, as does docker/illumos.sh…
@grandizzy Please see https://github.com/cross-rs/cross/discussions/1290 about the current situation. I would love to make a release.
If it doesn’t work on
ghcr.io/cross-rs/x86_64-unknown-linux-gnu:mainthen yes I’d agree @VorpalBlade, but I suspect it does work, haven’t checked myself though@grandizzy No, the 0.2.5 image won’t be updated. binutils should be versioned high enough on
:mainthoughit would affect other projects, but that’s unavoidable. Feel free to make a pr to bump the version