Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2019 23:08:43 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        "Conrad E. Meyer" <cem@freebsd.org>
Cc:        Rebecca Cran <rebecca@bsdio.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Building world with gcc9 not working
Message-ID:  <CANCZdfr0mP%2Bb_=fEizvAV8%2BzUAQ2uCmroEGXe_K-2g6Hx5hTOA@mail.gmail.com>
In-Reply-To: <CAG6CVpU2-Ekz0GiLRF1Kf=SWxUDrQEa-c6rYaJgjRqX9z5FOsg@mail.gmail.com>
References:  <4c4d4ccf-4662-572a-d6ff-7ce9a0c36f38@bsdio.com> <CAG6CVpU2-Ekz0GiLRF1Kf=SWxUDrQEa-c6rYaJgjRqX9z5FOsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 9, 2019 at 11:05 PM Conrad Meyer <cem@freebsd.org> wrote:

> On Mon, Sep 9, 2019 at 8:25 PM Rebecca Cran <rebecca@bsdio.com> wrote:
> >
> > Is building world with gcc still supported? I'm getting an error runnin=
g
> > the following:
> >
> > make XCC=3D/usr/local/bin/gcc9 XCXX=3D/usr/local/bin/g++9 buildworld
>
> Hi Rebecca,
>
> Aspirationally, yes.  I did a successful CROSS_TOOLCHAIN=3Damd64-gcc
> buildworld earlier this week.  (It doesn't play well with binary pkg's
> built with Clang, so I ended up replacing it with a Clang-built world
> instead, but it compiled.)
>
> Unfortunately, amd64-xtoolchain-gcc is stuck on GCC 6.4.0, while
> you're running the much more recent GCC9.  I think GCC6.4.0 is more or
> less expected to build world today, but I don't think many people are
> building with GCC9.  I would love for amd64-xtoolchain to move to a
> newer version, but I don't know what is blocking that =E2=80=94 it seems =
like
> it should be straightforward.
>

I did a gcc8 build about a year or so ago, though I had to turn off Werror
to complete the build...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr0mP%2Bb_=fEizvAV8%2BzUAQ2uCmroEGXe_K-2g6Hx5hTOA>