[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/25212] New: [RISCV] gas doesn't flag invalid march and mabi com
luismarques at lowrisc dot org
[Bug gas/25212] New: [RISCV] gas doesn't flag invalid march and mabi combinations
Thu, 21 Nov 2019 19:07:35 +0000
Bug ID: 25212
Summary: [RISCV] gas doesn't flag invalid march and mabi
Version: 2.34 (HEAD)
Assignee: unassigned at sourceware dot org
Reporter: luismarques at lowrisc dot org
Target Milestone: ---
This, by itself, isn't ideal:
$ touch test.s
$ riscv32-unknown-elf-as -march=rv32i -mabi=ilp32d test.s
$ echo $?
The hardfloat ABI should be detected as incompatible with the lack of the F/D
extension. This becomes more insidious when you don't realize that you are
implicitly passing the wrong -mabi option to gas:
$ riscv64-unknown-elf-gcc -c -v -march=rv64i test.s
COLLECT_GCC_OPTIONS='-c' '-v' '-march=rv64i' '-mabi=lp64d'
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/25212] New: [RISCV] gas doesn't flag invalid march and mabi combinations,
luismarques at lowrisc dot org <=