gcc compilers to be supported by Macports, especially on older MacOS systems

Ken Cunningham ken.cunningham.webuse at gmail.com
Wed Nov 20 17:32:55 UTC 2024



> On Nov 20, 2024, at 06:35, Sergio Had <vital.had at gmail.com> wrote:
> 
> 
> On Nov 20, 2024 at 22:22 +0800, Ken Cunningham <ken.cunningham.webuse at gmail.com>, wrote:
> Any concrete example of something gcc-14 breaks that gcc-13 builds?
> 
> A lot in fact, but for a reason orthogonal to toolchain as such.

Well, if there is “a lot” that won’t build with gcc-14, that certainly cements the idea it had better not be the only working compiler in macports on older systems.

So that puts that argument to rest.


> 
> gcc14 became stricter with warnings vs errors, so either all affected ports’ code has to be fixed (in practice this usually translates into “fixed by who builds those with gcc”, i.e. typically myself), which requires hours and hours, or folks with “veto rights” should not prevent at least fixing these ports by adding a `-Wno-error=` flag (which is done in numerous ports for clangs, but for gcc it every time turns into an argument).
> 
> Other than that no, I believe, and neither gcc7 can build something which gcc14 cannot (and which is actually needed).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20241120/a7a895e0/attachment.htm>


More information about the macports-dev mailing list