https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117635
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- I suggest that we just use up to 0859f8431242d5adff21420b9cab538d2af527b5 in libffi.git rather than 3.4.6 to avoid having to reapply backports. (I backported many of the commits between 3.4.6 and 0859f8431242d5adff21420b9cab538d2af527b5 in Gentoo given they're bug fixes and releases for libffi are infrequent, and they were fixing some real issues people had with e.g. PAC).