-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Regression: Build fails on CentOS 7. #9917
Comments
@monnerat what made you use gcc 4.3 as the lowest supported version for this? |
Availability of |
This stackoverflow answer seems to suggest that support for the enum version of this attribute was added in 5.3 |
Moreover:
gives the same result. ./configure --help does not help either. |
|
Damned! I did not catch this one :-( The easiest would then be a fixup raising the gcc version to 5.3 (latest gcc is 12.2). |
Yeah. I think we are better off being on the safe side. |
Reported-by: Stephan Guilloux Fixes #9917
This works for me, at least. Thx. |
It is annoying that the gcc documentation does not mention this. |
Agreed. In addition, using a historic compiler like this probably targets a libcurl-calling code that has the same age! The alternative solution is to have a specialized Do you want a PR for this? |
See #9918 |
This is one reason why I had to add workers on different distros ... (CentOS, Debian, ...).
and when I say Anyway, thx for your quick reaction with #9918. |
We cannot test for everything, that's just the harsh simple truth. |
I know ... unfortunatelly ... |
This autobuild uses gcc 5.5.0, it failed because of the recent changes.
No, the answer does not contain any statement about gcc 5.3 - it only states that it does not work with gcc 5.2. The feature in question has probably been added in gcc 6.1, it's mentioned in the manual for gcc 6.1: https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/Enumerator-Attributes.html#Enumerator-Attributes |
At least, this fix was OK. |
Yes, it seems odd to call this the same bug when the fix was confirmed on centos 7. Still the same root cause of course. |
Reported-by: Michael Kaufmann Fixes #9917 Closes #....
Nah, let's keep it here now. I already have #9987 filed that should fix this. |
For me, it's ok too :-) |
I did this
On CentOS 7, the following script:
fails with:
Current git log gives:
The exact same script works well, if CURL source tree is reset to following commit:
I expected the following
CURL should build like previously.
Note
This script extracted from CZMQ build system.
@bluca for your information.
The text was updated successfully, but these errors were encountered: