We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
For 8701f25, the compilation fails on Fedora42, gcc version 15.0.1 20250114 (Red Hat 15.0.1-0) (GCC), with
gcc version 15.0.1 20250114 (Red Hat 15.0.1-0) (GCC)
md5wrap.c: In function ‘checksum_init’: md5wrap.c:48:5: error: too many arguments to function ‘MD5Init’; expected 0, have 1 48 | MD5Init(&context); ^
Attach log files
Build on fedora42 https://koji.fedoraproject.org/koji/taskinfo?taskID=129346569, the log is attached for reference build.log
After applying a fix sed -i 's|-O0 -g|-std=gnu17 -O0 -g|' src/util/md5/GNUmakefile, other errors follow up https://koji.fedoraproject.org/koji/taskinfo?taskID=129347266 build.log
sed -i 's|-O0 -g|-std=gnu17 -O0 -g|' src/util/md5/GNUmakefile
clustrfix.c:140:23: error: prototype for ‘relgap’ declares fewer arguments than previous old-style definition 140 | DoublePrecision xj, relgap(), delta1, delta2; | ^~~~~~ ...
It may be possible to silence them individually, but I only successfully tried globally with export CC='gcc -std=gnu17'.
export CC='gcc -std=gnu17'
Additional context
The errors appear to be related to https://gcc.gnu.org/gcc-15/changes.html#c
GCC 15 changes the default language version for C compilation from -std=gnu17 to -std=gnu23.
The problem looks similar to GlobalArrays/ga#359
The text was updated successfully, but these errors were encountered:
Same compilation failure when using gcc-14 and -std=gnu23
-std=gnu23
Sorry, something went wrong.
edoapra
No branches or pull requests
Describe the bug
For 8701f25, the compilation fails on Fedora42,
gcc version 15.0.1 20250114 (Red Hat 15.0.1-0) (GCC)
, withAttach log files
Build on fedora42 https://koji.fedoraproject.org/koji/taskinfo?taskID=129346569, the log is attached for reference build.log
After applying a fix
sed -i 's|-O0 -g|-std=gnu17 -O0 -g|' src/util/md5/GNUmakefile
, other errors follow up https://koji.fedoraproject.org/koji/taskinfo?taskID=129347266 build.logIt may be possible to silence them individually, but I only successfully tried globally with
export CC='gcc -std=gnu17'
.Additional context
The errors appear to be related to https://gcc.gnu.org/gcc-15/changes.html#c
The problem looks similar to GlobalArrays/ga#359
The text was updated successfully, but these errors were encountered: