Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 11:45:11 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>, Alex Richardson <arichardson@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 05eac56a0432 - main - lib/msun: Fix x86 GCC6 build after 221622ec0c8e184
Message-ID:  <5f6cc88d-5c16-2438-1aca-b2531d2cb9ae@FreeBSD.org>
In-Reply-To: <AC4D09C3-7718-4F98-8167-833DBD591AFE@FreeBSD.org>
References:  <202103121845.12CIjAub046152@gitrepo.freebsd.org> <AC4D09C3-7718-4F98-8167-833DBD591AFE@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/12/21 11:06 AM, Dimitry Andric wrote:
> On 12 Mar 2021, at 19:45, Alex Richardson <arichardson@FreeBSD.org> wrote:
>>
>> The branch main has been updated by arichardson:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=05eac56a0432d07acd7f159125855437a4dd6259
>>
>> commit 05eac56a0432d07acd7f159125855437a4dd6259
>> Author:     Alex Richardson <arichardson@FreeBSD.org>
>> AuthorDate: 2021-03-12 18:44:42 +0000
>> Commit:     Alex Richardson <arichardson@FreeBSD.org>
>> CommitDate: 2021-03-12 18:44:44 +0000
>>
>>     lib/msun: Fix x86 GCC6 build after 221622ec0c8e184
>>
>>     Apparently GCC only supports arithmetic expressions that use static
>>     const variables in initializers starting with GCC8. To keep older
>>     versions happy use a macro instead.
>>
>>     Fixes:          221622ec0c ("lib/msun: Avoid FE_INEXACT for x86 log2l/log10l")
>>     Reported by:    Jenkins
>>     Reviewed By:    imp
>>     Differential Revision: https://reviews.freebsd.org/D29233
> 
> Since gcc 6 is EOLed by upstream, why are we still running CI with it?
> Isn't it time to upgrade the CI compiler(s), so these kludges don't have
> to be used anymore?

I'm trying, but we still don't build with GCC 9 yet everywhere.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f6cc88d-5c16-2438-1aca-b2531d2cb9ae>