Skip to content

Build failure with LLVM ERROR on sparc-unknown-linux-gnu #390

Closed
@JohnTitor

Description

@JohnTitor

The libc build with cargo's build-std fails due to:

2020-10-27T12:22:33.1169362Z LLVM ERROR: unable to allocate function return #6
2020-10-27T12:22:33.1212572Z error: could not compile `compiler_builtins`

(Here's the log: https://github.com/rust-lang/libc/runs/1314551399)

I recently updated compiler_builtins to 0.1.36 (rust-lang/rust#78209) on rust-lang/rust and turned out that's the cause.
We can reproduce the failure with cargo build -Z build-std=core,alloc -vv --target sparc-unknown-linux-gnu on this repo as well.

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

    Issue actions