Oh the Palmer's patch is here https://gcc.gnu.org/pipermail/gcc-patches/2023-December/641172.html
It doesn't mater who's patch get merged for me :) > On Aug 2, 2024, at 10:43 PM, Jeff Law <jeffreya...@gmail.com> wrote: > > > > On 8/1/24 11:11 PM, Hau Hsu wrote: >> Sometimes we want to use default cmodel other than medlow. Add a GCC >> configure option for that. >> gcc/ChangeLog: >> * config.gcc (riscv*-*-*): Add support for --with-cmodel configure >> option. >> * config/riscv/riscv.h (TARGET_RISCV_DEFAULT_CMODEL): Define default >> cmodel. >> * configure: Regenerate. >> * configure.ac: Add --with-cmodel configure option. >> * doc/install.texi: Document --with-cmodel configure option. >> * doc/invoke.texi (-mcmodel): Mention --with-cmodel configure option. > I thought Palmer had submitted an equivalent patch a while back, but I can't > seem to find it. > > > It looks like pre-commit testing has flagged this as failing to build on > arm/aarch64. I'm not as familiar with that system, so I don't know exactly > what it's complaining about other than the configuration step for GCC failed. > > > https://patchwork.sourceware.org/project/gcc/patch/20240802051151.3658614-1-hau....@sifive.com/ > > # reset_artifacts: > -10 > # true: > 0 > # build_abe gcc: > # FAILED > # First few build errors in logs: > # 00:01:36 make[1]: *** [Makefile:4646: configure-gcc] Error 1 > # 00:01:36 make: *** [Makefile:1065: all] Error 2 > > > >