r/voidlinux • • Oct 16 '26

Why is GCC outdated?

I see the package is not orphaned, are there any system-breaking changes in newer versions? Or there is any special policy regarding GCC?

11 Upvotes

9 comments sorted by

View all comments

29

u/ClassAbbyAmplifier Oct 16 '26

updating gcc has a lot of moving parts, there's gcc, binutils, glibc, and all the cross-compilers that need to be updated together, and usually there's a lot of patching involved.

As it's the toolchain that builds most other packages, it's important to get it right

2

u/kansetsupanikku Oct 16 '26

Also dkms needs to use the a version compatible with the one used to build the kernel (typically, staying within the same line is ok)

-1

u/Key_River7180 Oct 16 '26

There could be two gcc-stable and gcc-breaking packages

7

u/5b49297 Oct 16 '26

I guess. But shouldn't someone who needs the latest GCC features also be able to build the latest GCC version from source?