tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC_REQD and 32-bit arm



On Sat, Apr 02, 2022 at 07:26:56AM -0400, Greg Troxel wrote:
> 
> nia <nia%NetBSD.org@localhost> writes:
> 
> > It seems we're in a situation where no version of gcc below 10
> > works on 32-bit arm, resulting in mass bulk build failures whenever
> > something requires newer gcc on netbsd.
> >
> > Does anyone have a clue about how to fix this? The logic in
> > gcc.mk seems to decide to use a compiler from pkgsrc after
> > deciding which version to use, so it's not as simple as forcing
> > it to always use 10 if it picks a version lower (unless we
> > want to force gcc10 for literally all packages).
> 
> Do you mean
> 
>   base system gcc is ok, but all pkgsrc versions < 10 are broken?
> 

Yes.

>   this is only about fortran?
> 

It's about fortran and g++.

> If pkgsrc gcc < 10 is broken, perhaps we can just pretend they don't
> exist on arm, so if pgksrc gcc is chosen, 10 would be the min version?

Maybe, the logic for choosing a GCC version is complex. It decides the
minimum version it can use in gcc.mk, then detects whether it's built-in
or not, so it isn't a simple case of removing attempts to gcc prior to
10 on ARM.


Home | Main Index | Thread Index | Old Index