Open
Description
I have a project that currently compiles and links with Rust 1.67 on the following toolchains:
- x86_64-unknown-linux-musl (built in rust:1.67-alpine3.17)
- aarch64-unknown-linux-musl (built in rust:1.67-alpine3.17)
- aarch64-apple-darwin
The project successfully builds with all three toolchains for Rust 1.69.
I was attempting to build the project with Rust 1.70. The project compiles successfully on the following toolchains:
- x86_64-unknown-linux-musl (built in rust:1.70-alpine.3.17 and rust:1.70-alpine3.18)
- aarch64-apple-darwin
The project fails to compile and link on the following toolchain:
- aarch64-unknown-linux-musl (fails in rust:1.70-alpine3.17 and rust:1.70-alpine3.18)
I've been trying to track down which dependency of the project could be causing the following errors to be thrown since the project has no specific hardware requirements, but I also wanted to open an issue since this is failing for one specific toolchain starting with 1.70.
Building with --verbose
does not yield any additional information. This occurs for both debug
and release
builds.
error: linking with `cc` failed: exit status: 1
= note: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: GFp_armcap_P: undefined version:
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status