[Bug target/123125] [RISCV] lto1: sorry, unimplemented: Currently the ‘V’ implementation requires the ‘M’ extension

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 15 20:21:25 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123125

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am not sure invoking lto1 directly is ever supported.
Even invoking cc1 directly is not exactly supported either.

The driver (in the case of riscv) adds the march/mabi options always. The
defaults inside lto1/cc1 is different from the defaults from the driver and
some defaults are done in cc1/lto1 while others are inside the driver.


More information about the Gcc-bugs mailing list