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

Cannot cross-compile from x86_64 to i686 with LLVM 8 #356

Closed
RalfJung opened this issue May 18, 2020 · 4 comments
Closed

Cannot cross-compile from x86_64 to i686 with LLVM 8 #356

RalfJung opened this issue May 18, 2020 · 4 comments

Comments

@RalfJung
Copy link
Member

As @eddyb found out, #311 introduced a regression on old versions of LLVM: cross-compilation to i686-unknown-linux-gnu on an x86_64 host is broken. In particular this currently prevents us from ensuring 32bit tests work on PR CI.

@RalfJung
Copy link
Member Author

One option might be to simply revert that PR, since (from what I can see in rust-lang/rust#58599) the unordered intrinsics are not actually used. But then I wonder why they lead to problems.

@Mark-Simulacrum
Copy link
Member

It seems like at least gating them on LLVM >= 9 or whatever would be reasonable...

@RalfJung
Copy link
Member Author

Does compiler-builtins have infrastructure for LLVM version gating?

@Amanieu
Copy link
Member

Amanieu commented Feb 6, 2022

Rust no longer supports LLVM 8.

@Amanieu Amanieu closed this as completed Feb 6, 2022
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

No branches or pull requests

3 participants