Skip to content

ABI compatibility regression when targeting powerpc64-unknown-linux-gnu #279

@rami3l

Description

@rami3l

Upstreaming rust-lang/rustup#4707, where upgrading to https://github.com/alexcrichton/openssl-src-rs/releases/tag/300.5.5+3.5.5 gives a regression on ld saying "ABI version 2 is not compatible with ABI version 1 output":

= note: /x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.5.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: /checkout/target/powerpc64-unknown-linux-gnu/debug/deps/libopenssl_sys-05b0abda159f9dc2.rlib(libcrypto-lib-aes-gcm-ppc.o): ABI version 2 is not compatible with ABI version 1 output
          /x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.5.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: failed to merge target specific data of file /checkout/target/powerpc64-unknown-linux-gnu/debug/deps/libopenssl_sys-05b0abda159f9dc2.rlib(libcrypto-lib-aes-gcm-ppc.o)

https://github.com/rust-lang/rustup/actions/runs/21734438192/job/62696277679

Downgrading to 300.5.4+3.5.4 has temporarily solved the problem for us (rust-lang/rustup#4708), but I think this is still worthwhile for an upstream report, but it could totally also be an issue even upper-stream? I have no idea 🤷‍♀️

Many thanks in advance! 🙇

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions