https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101336
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:506f337ad2d75c0feceaaf28fd4997c157979956 commit r12-2231-g506f337ad2d75c0feceaaf28fd4997c157979956 Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Jul 5 14:15:04 2021 -0700 libffi/x86: Always check __x86_64__ for x86 hosts The upstream libffi has commit cb8474368cdef3207638d047bd6c707ad8fcb339 Author: hjl-tools <hjl.to...@gmail.com> Date: Wed Dec 2 12:52:12 2020 -0800 libffi/x86: Always check __x86_64__ for x32 hosts (#601) (#602) Since for x86_64-*x32 and x86_64-x32-* hosts, -m32 generates ia32 codes. We should always check __x86_64__ for x32 hosts. Since for gnux32 hosts, -m32 generates i386 codes, always check __x86_64__ for x86 hosts. PR libffi/101336 * configure.host: Always check __x86_64__ for x86 hosts.