-
-
Notifications
You must be signed in to change notification settings - Fork 32k
AIX build breaks with "field 'dtoa' has incomplete type" #121045
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
Comments
This is a duplicate of #119447 |
The actual problem here is that check for "x87-style double rounding" is failed ( which sets X87_DOUBLE_ROUNDING and that in turn sets _PY_SHORT_FLOAT_REPR to 0). Check for "x87-style double rounding" is failed because gcc compiler don't support "-fstack-protector-strong" in AIX. Even though there is configure check for "-fstack-protector-strong" , it actually requires a link/run test rather than a compile test. The simple fix here would be to change "ac_fn_c_try_compile" to "ac_fn_c_try_run" for "-fstack-protector-strong" test. I will send a PR soon for this. Issue #119447 is with xlc compiler. There also I see the check for "x87-style double rounding" failing which could be for a different reason because "-fstack-protector-strong" is not introduced that time. |
I see #120975 introduced "-fstack-protector-strong" through AX_CHECK_COMPILE_FLAG in configure.ac. Any option to make it as run/link (-o) test rather than compile (-c) test through Autoconf macro ?. I am not sure whether we can use AX_CHECK_LINK_FLAG. |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
AIX build starts failing with the below error recently. Looks like some recent commits introduced some changes which caused the issue I guess.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
The text was updated successfully, but these errors were encountered: