Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] Add -Wno-implicit-function-declaration for LTP build #2005

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 24, 2024

  1. [tests] Add -Wno-implicit-function-declaration for LTP build

    Currently used version of LTP has a bug that results in the following
    build error, e.g. when using Clang v18 on Ubuntu 24.04:
    
        clone301.c:136:8: error: call to undeclared function 'pidfd_send_signal'
    
    This is because Clang promoted "implicit function declaration" check
    from a warning to an error starting from Clang v16. This commit adds
    `-Wno-implicit-function-declaration` flag to CFLAGS during LTP build.
    
    Newer LTP releases fixed this bug, so in the future, when Gramine uses
    newer LTP, this commit should be reverted.
    
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    919ba0a View commit details
    Browse the repository at this point in the history