Earlier quoted context omitted.
It seems that it doesn't build with releases of GCC from April 2025 onward, at least with default settings, because it doesn't build with the C23/C++23 standards. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096790 Maybe such changes are more substantial than the typical differences between GCC releases?
Surely if that's all they would just build with an explicit -std=whatever setting?
https://github.com/bpftrace/bpftrace/pull/3407
https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659176...
Looks like they did in fact add the header detail to the porting guide:
https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-change...