Skip to content

powerpc64-unknown-linux-musl target linking error, ABI ELFv1/2 conflict. #143942

@Wyvern

Description

@Wyvern

Using Rust nightly on linux build with -Zbuild-std, got linking error:

error: linking with `powerpc64-linux-gnu-gcc` failed: exit status: 1
= note: /usr/lib/gcc-cross/powerpc64-linux-gnu/13/../../../../powerpc64-linux-gnu/bin/ld: /home/runner/work/Img/Img/build-dir/powerpc64-unknown-linux-musl/src/deps/Img-7d148067c837aa56.Img.b388e7fa58e03b87-cgu.0.rcgu.o: ABI version 2 is not compatible with ABI version 1 output
          /usr/lib/gcc-cross/powerpc64-linux-gnu/13/../../../../powerpc64-linux-gnu/bin/ld: failed to merge target specific data of file /home/runner/work/Img/Img/build-dir/powerpc64-unknown-linux-musl/src/deps/Img-7d148067c837aa56.Img.b388e7fa58e03b87-cgu.0.rcgu.o
          collect2: error: ld returned 1 exit status

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