TOOLCHAIN_LD_FLAGS setting of -mabi/-march aren't propagated to linker invocation on RISC-V #28456
Labels
area: RISCV
RISCV Architecture (32-bit & 64-bit)
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
The setting of TOOLCHAIN_LD_FLAGS in
cmake/compiler/gcc/target_riscv.cmake
has -mabi and -march set. These flags don't show up in the link invocation.For example for building hello_world on qemu_riscv64 we have:
-mabi=lp64 -march=rv64imac
and the link looks like:
The text was updated successfully, but these errors were encountered: