Remix.run Logo
yjftsjthsd-h a day ago

> For example, he has had to maintain various Guile dependencies, and deal with the fact that Guix uses ""fairly old"" GCC versions whereas Debian usually ships the latest GCC version available for a given release.

It's odd that guix is both rolling release but also uses older GCC versions; usually I'd expect those from very different cultures.

pxc a day ago | parent [-]

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?

yjftsjthsd-h a day ago | parent | next [-]

Surely if that's all they would just build with an explicit -std=whatever setting?

opello a day ago | parent [-]

Looking at the build log in the linked Debian issue, there is an argument setting -std=c++11. It seems as though an implicit inclusion of <cstdint> had been provided by libstdc++ in the past and was removed as of GCC 15.

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...

opello a day ago | parent | next [-]

Just closing some tabs and followed this trail a bit further, it looks like guix fixed the issue too:

https://codeberg.org/guix/guix/commit/7b66b41ce5cee48b14eb6c...

cozzyd 16 hours ago | parent | prev [-]

it would be nice if g++ had an --implicit-includes=[foo,bar] option that would make it easier for a distro to shotgun fix such incompatibilities with CXXFLAGS rather than doing real work.

Ashymad 12 hours ago | parent | next [-]

Isn't the --include option basically that?

cozzyd 6 hours ago | parent [-]

Ah, you learn something new everyday, thanks!

yjftsjthsd-h 16 hours ago | parent | prev | next [-]

That seems like kicking the can down the road in a way that's worse in the long run IMHO

ForOldHack 3 hours ago | parent | prev [-]

Isn't that what AI/Vibe coding is for? ( I am kidding a lot)(Ducking thrown paper balls)

vincent-manis a day ago | parent | prev [-]

I recently custom-built Guile for my Arch system, and found that it won't build with GCC 15, but will with 14, which is the only other version in the Arch repository. I think that the Guile maintainers will need to get busy fixing the incompatibilities in question, before GCC 16 appears.