tech-toolchain archive

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

Re: bootstrapping netbsd 9 using gcc 10?



On Sun, Oct 11, 2020 at 04:44:13PM -0400, Andrew Cagney wrote:
> On Sun, 11 Oct 2020 at 15:59, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
> >
> > On Sat, Oct 10, 2020 at 10:21:25AM -0400, Andrew Cagney wrote:
> > > I'm guessing no one has tried to bootstrap using gcc 10?
> >
> > Someone decided that -fcommon is bad and everything needs to be broken.
> > I've stated working on the changes for the LLVM update, but it is quite
> > likely that some places have regressed since then.
> 
> Yea, I figured initially just the build tools would need "fixing"
> which should be easy.  Right.
> But then I encountered "config" - <<TAIQ_HEAD(,structure) variable>>
> is not extern friendly.  Fortunately all is not lost.  Using:
> 
>   export HOST_CC='cc -fcommon'
>   export HOST_CXX='c++ -fcommon'

Set HOST_CFLAGS / HOST_CXXFLAGS instead.

Joerg


Home | Main Index | Thread Index | Old Index