-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
-Zbuild-stdUnstable Cargo option: Compile the standard library yourself.Unstable Cargo option: Compile the standard library yourself.A-crossArea: Cross compilationArea: Cross compilationS-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.Status: This issue has no reproduction and needs a reproduction to make progress.
Description
When cross-compiling to mips64[el] linux targets using -Zbuild-std
got lld linking error:
linking with `mips64-linux-gnuabi64-gcc` failed: exit status: 1
rust-lld: error: /usr/lib/gcc-cross/mips64el-linux-gnuabi64/12/../../../../mips64el-linux-gnuabi64/lib/../lib/crtn.o: requires an executable stack, but -z execstack is not specified
rust-lld: error: /usr/lib/gcc-cross/mips64el-linux-gnuabi64/12/../../../../mips64el-linux-gnuabi64/lib/../lib/crti.o: requires an executable stack, but -z execstack is not specified
rust-lld: error: /usr/lib/gcc-cross/mips64el-linux-gnuabi64/12/../../../../mips64el-linux-gnuabi64/lib/../lib/Scrt1.o: requires an executable stack, but -z execstack is not specified
Rust 1.87.0-nightly (cbfdf0b 2025-03-13)
Metadata
Metadata
Assignees
Labels
-Zbuild-stdUnstable Cargo option: Compile the standard library yourself.Unstable Cargo option: Compile the standard library yourself.A-crossArea: Cross compilationArea: Cross compilationS-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.Status: This issue has no reproduction and needs a reproduction to make progress.