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

--- Comment #4 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 66115
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66115&action=edit
Proposed patch

Here is a proposed patch based on the backporting of several Python3 bug
reports on gcc-17 (and relating to FreeBSD).  Can you test and confirm this
works on your riscv setup).  Thanks!

The patch is large but it keeps the gm2-16 and gm2-17 in parity and will allow
remaining (m2) gcc-17 patches to be applied easily to gcc-16.  It also provides
a useful fall back if Python3 is not detected (used on Solaris, MacOS and
FreeBSD).

Reply via email to