Skip to content

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

Closed
@RalfJung

Description

@RalfJung
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.

Activity

RalfJung

RalfJung commented on May 18, 2020

@RalfJung
MemberAuthor

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

Mark-Simulacrum commented on May 18, 2020

@Mark-Simulacrum
Member

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

RalfJung

RalfJung commented on May 18, 2020

@RalfJung
MemberAuthor

Does compiler-builtins have infrastructure for LLVM version gating?

Amanieu

Amanieu commented on Feb 6, 2022

@Amanieu
Member

Rust no longer supports LLVM 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Amanieu@RalfJung@Mark-Simulacrum

        Issue actions

          Cannot cross-compile from x86_64 to i686 with LLVM 8 · Issue #356 · rust-lang/compiler-builtins