logoalt Hacker News

Narishmatoday at 8:17 PM3 repliesview on HN

> gcc(1) - updated to 12.5.0.

Anyone know why they are still on such an old version? The latest version is 16.1.


Replies

mghackerladytoday at 8:46 PM

They don't like GPLv3. The other BSDs used similarly old versions until they moved to clang, but netbsd is pretty tied to the gnu toolchain and aims to be as portable as possible, so they kinda have to stick to gcc

show 3 replies
spijdartoday at 9:04 PM

It's almost certainly due to supporting platforms like VAX and other, more exotic ISAs. GCC can have weird regressions [0] in "less tested" architectures, so I presume they use a single, known good release across all platforms for consistency's sake.

[0] GCC still supports PDP-11, for example, but for a while modern GCC had some major codegen bugs. Last I checked, the maintainer had made heroic efforts to fixing the bugs, but that's just an example of where bitrot silently renders a target unusable.

show 1 reply
jmclnxtoday at 9:09 PM

gcc 15.1 is in pkgsrc 2026Q2:

gcc15-15.2.0nb1 - The GNU Compiler Collection (GCC) - 15.0 Release Series

As others said, I think it has to do with all the platforms NetBSD supports.