-
Notifications
You must be signed in to change notification settings - Fork 900
opal/asm: silence xlc warning about typeof usage #8458
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
Conversation
Signed-off-by: Nathan Hjelm <[email protected]>
The IBM CI (PGI) build failed! Please review the log, linked below. Gist: https://gist.github.com/3f5da063ed91dc374a76f61c90cea2b6 |
IBM Ci had an issue over the weekend. Retrying. bot:ibm:retest |
@jjhursey Thanks. Looks good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the build log the warning is still present, and this section of code wasn't activated for some reason.
The -qkeyword
is defined for the AIX version of XL, but not the Power version. We'll have to look at what we need ot do diferently.
*** C compiler and preprocessor
checking for gcc... (cached) xlc_r
checking whether we are using the GNU C compiler... (cached) yes
checking whether xlc_r accepts -g... (cached) yes
checking for xlc_r option to accept ISO C89... (cached) none needed
checking whether xlc_r understands -c and -o together... (cached) yes
checking if xlc_r requires a flag for C11... yes
configure: checking if xlc_r supports C11 with a flag
checking if xlc_r -std=gnu11 supports C11 _Thread_local... yes
checking if xlc_r -std=gnu11 supports C11 atomic variables... no
checking if xlc_r -std=gnu11 supports C11 _Atomic keyword... no
checking if xlc_r -std=gnu11 supports C11 _Generic keyword... yes
checking if xlc_r -std=gnu11 supports C11 _Static_assert... yes
checking if xlc_r -std=gnu11 supports C11 atomic_fetch_xor_explicit... no
checking if xlc_r -std=c11 supports C11 _Thread_local... yes
checking if xlc_r -std=c11 supports C11 atomic variables... no
checking if xlc_r -std=c11 supports C11 _Atomic keyword... no
checking if xlc_r -std=c11 supports C11 _Generic keyword... yes
checking if xlc_r -std=c11 supports C11 _Static_assert... yes
checking if xlc_r -std=c11 supports C11 atomic_fetch_xor_explicit... no
checking if xlc_r -c11 supports C11 _Thread_local... no
checking if xlc_r -c11 supports C11 atomic variables... no
checking if xlc_r -c11 supports C11 _Atomic keyword... no
checking if xlc_r -c11 supports C11 _Generic keyword... no
checking if xlc_r -c11 supports C11 _Static_assert... no
checking if xlc_r -c11 supports C11 atomic_fetch_xor_explicit... no
checking for xlc_r option to add a directory only to the search path for the quote form of include... -iquote
checking for xlc_r option to accept ISO C99... none needed
checking if xlc_r supports C11 _Thread_local... yes
checking if xlc_r supports C11 atomic variables... no
checking if xlc_r supports C11 _Atomic keyword... no
checking if xlc_r supports C11 _Generic keyword... yes
checking if xlc_r supports C11 _Static_assert... yes
checking if xlc_r supports C11 atomic_fetch_xor_explicit... no
checking if xlc_r supports __thread... yes
checking if xlc_r supports C11 _Thread_local... yes
checking for the C compiler vendor... gnu
checking for ANSI C header files... (cached) yes
checking if xlc_r supports -Wno-long-double... no
configure: WARNING: -Wall -Wundef -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wstrict-prototypes -Wcomment -pedantic -Werror-implicit-function-declaration has been added to CFLAGS (--enable-picky)
checking if xlc_r supports -finline-functions... yes
checking if xlc_r supports -fno-strict-aliasing... yes
configure: WARNING: -fno-strict-aliasing has been added to CFLAGS
checking if xlc_r supports __builtin_expect... yes
checking if xlc_r supports __builtin_prefetch... yes
checking if xlc_r supports __builtin_clz... yes
checking for C optimization flags... -O3 -DNDEBUG -Wall -Wundef -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wstrict-prototypes -Wcomment -pedantic -Werror-implicit-function-declaration -finline-functions -fno-strict-aliasing
checking for Interix environment... no
@awlauria Can you confirm the warning goes away with the PR? |
@awlauria Unfortunate that they removed that option yet kept the error. Maybe we should updating the |
If adding --std=c99 fixes it, I'd be for that as well. I can test it on our power nodes. |
@awlauria Actually this: |
@hjelmn I can't seem to reproduce this warning on master anymore, so I can't verify either way. Not sure what commit did it. |
retest |
I believe this has long been fixed, but if not this definitely did it: |
Signed-off-by: Nathan Hjelm [email protected]