Re: clisp needs patch to work around gcc 15 bug
Hi Peter,
> Thanks for this patch.
A bit later I learned that it's not a gcc 15 bug, but invalid C code
in CLISP, and gcc 15 is the first compiler that happens to make an
optimization based on the assumption that the code is ISO C compliant
in this regard.
So, I was wrong to blame GCC.
> However for Debian 14/Forky we are probably going to migrate to GCC 15, as you can see at
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-gcc-15;users=debian-gcc@lists.debian.org
> we're not alone in this ;)
The title ftbfs-gcc-15 is misleading. It should better be called "FTBFS due
to GCC 15 or -Werror=implicit-function-declaration or -Werror=format-security".
In particular -Wformat-security is known to complain about perfectly valid and
safe code. [1][2]
Bruno
[1] https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00067.html
[2] https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00151.html
Reply to: