rust-musl-cross icon indicating copy to clipboard operation
rust-musl-cross copied to clipboard

Generated with LTO version 12.0 instead of the expected 11.0

Open byoboo opened this issue 8 months ago • 0 comments

Hi! First thank you for your work on this project its been super helpful.

I recently started getting the following error when building

= note: lto1: fatal error: bytecode stream in file '/home/rust/src/target/powerpc64le-unknown-linux-musl/release/deps/libcompress_tools-a9a96984cb7c9671.rlib' generated with LTO version 12.0 instead of the expected 11.0
          compilation terminated.
          lto-wrapper: fatal error: powerpc64le-unknown-linux-musl-gcc returned 1 exit status
          compilation terminated.
          /usr/local/musl/bin/../lib/gcc/powerpc64le-unknown-linux-musl/11.2.0/../../../../powerpc64le-unknown-linux-musl/bin/ld: error: lto-wrapper failed
          collect2: error: ld returned 1 exit status

We do have some system level dependencies we link to with openssl and libarchive. I can't quite sort out where the issue is here.

Just wanted to check in and see if its something anyone has seen before.

byoboo avatar Oct 18 '23 17:10 byoboo