GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
libffi

Libffi: Remove debugging output

A debugging warning in libffi that caused test failures has been removed.

A #warning directive in libffi’s ffitarget.h was causing tests to be marked as failed when running 32-bit tests on x86_64 systems. This commit removes the warning, resolving the test failures. The change has been forwarded upstream to the libffi project.

In Details

This commit removes a #warning directive within an ifdef block in src/x86/ffitarget.h. The warning was triggered during cross-compilation scenarios. The upstream pull request is at https://github.com/libffi/libffi/pull/940. A toolchain developer dealing with cross-compilation or libffi test failures would be interested in this.

For Context

When building software, developers often include debugging messages to help them understand what the code is doing. Sometimes these messages can interfere with automated testing. This commit removes a debugging message from the libffi library that was causing tests to fail in certain situations. This ensures that the tests pass correctly and that the library is working as expected.

Filed Under: libffidebuggingtestsuite