Skip to content

PowerPC: HEAD validate fails due to warnings in libffi

Validate produces the following error message:

In file included from rts/dist/build/ffi.h:58:0: error:
    0,
                     from rts/Adjustor.c:46:

rts/dist/build/ffitarget.h:157:7: error:
     error: "FFI_TYPE_LAST" is not defined [-Werror=undef]
     #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST  \

and a few more like this.

Perhaps, we could turn off the warning for files that include ffi.h on PowerPC.

Trac metadata
Trac field Value
Version 8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information