Re: Building world with gcc9 not working

From: Rebecca Cran <rebecca_at_bsdio.com>
Date: Tue, 10 Sep 2019 16:22:11 -0600
On 2019-09-09 23:08, Warner Losh wrote:
>
>> Aspirationally, yes.  I did a successful CROSS_TOOLCHAIN=amd64-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 — 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...

Thanks. I kept running into build errors with gcc 8 and 9 (even with
WERROR= in src.conf), but building with gcc 6 from the amd64-gcc port
worked.


-- 
Rebecca Cran
Received on Tue Sep 10 2019 - 20:22:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC