[Bug libffi/125417] [17 regression] 64-bit x86 tests FAIL on 32-bit-default target
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 26 23:10:01 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125417
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Pietro Monteiro <pietro@gcc.gnu.org>:
https://gcc.gnu.org/g:36bd69c6c547bf6d9c7f16c80b7410922c33bb78
commit r17-820-g36bd69c6c547bf6d9c7f16c80b7410922c33bb78
Author: Pietro Monteiro <pietro@sociotechnical.xyz>
Date: Tue May 26 19:09:23 2026 -0400
libffi: Use correct include path for tests [PR125417]
Libffi testsuite uses relative directories for include paths. For
multilibbed targets we run the tests from the the main target build
directory, so using relative paths leads to the wrong fiules being
included by the tests. Fix by using variables that point into the
build dir for the current multilib variant being tested.
Forwarded upstream: https://github.com/libffi/libffi/pull/965
libffi/ChangeLog:
PR libffi/125417
* testsuite/lib/libffi.exp (libffi_target_compile): Use
${libffi_include} and ${blddirffi} instead of "../include" and
".." for include paths.
Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
More information about the Gcc-bugs
mailing list