[PATCH] D67508: [RISCV] support mutilib in baremetal environment
Sam Elliott via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 10:43:44 PDT 2019
lenary added a comment.
Please can you rebase these changes? Something has changed in RISCVToolchain.cpp and they are failing to build.
Q: Is there a plan to support multilib aliases (`MULTILIB_REUSE`)? I'm happy for this to be in a follow-up patch, would just like to know the plan.
================
Comment at: clang/lib/Driver/ToolChains/Gnu.cpp:1521
+ {"rv32i", "ilp32"}, {"rv32im", "ilp32"}, {"rv32iac", "ilp32"},
+ {"rv32imac", "ilp32"}, {"rv32imafc", "ilp32f"}, {"rv64i", "lp64"},
+ {"rv64imac", "lp64"}, {"rv64imafdc", "lp64d"}};
----------------
I cannot see `march=rv64i/mabi=lp64` in [[ https://github.com/riscv/riscv-gcc/blob/ed3f6ec/gcc/config/riscv/t-elf-multilib | riscv-gcc t-elf-multilib ]] (the given sha is pulled from `.gitmodules` in riscv-gcc-toolchain.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67508/new/
https://reviews.llvm.org/D67508
More information about the cfe-commits
mailing list