Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2021 21:49:58 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: acpi_wakecode.S error: unknown -Werror warning specifier: '-Wno-error-tautological-compare'
Message-ID:  <E0D1F0E2-5920-44DB-9B5B-A438BCB7D549@FreeBSD.org>
In-Reply-To: <a3b83636-2e51-66a4-17f0-e248a7ef60dc@FreeBSD.org>
References:  <20210622201345.410835b9@thor.intern.walstatt.dynvpn.de> <a3b83636-2e51-66a4-17f0-e248a7ef60dc@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 22 Jun 2021, at 20:24, John Baldwin <jhb@FreeBSD.org> wrote:
> 
> On 6/22/21 11:13 AM, O. Hartmann wrote:
>> Hello,
>> on a recent CURRENT (FreeBSD 14.0-CURRENT #6 main-n247512-e3be51b2bc7c: Tue Jun 22 15:31:03
>> CEST 2021 amd64) we build a 13-STABLE based NanoBSD from a dedicated source tree for a small
>> routing appliance. It should be " ...we built ..." because sinde the introduction of
>> LLVM/CLANG 12 on FreeBSD, the build of the source tree fails with the error shown below.
>> Since these errors a re die to some compiler knobs, the question is how to avoid them and make
>> the tree of 13-STABLE build again?
>> We do not do explicetely cross compiling, so if there is in general an issue with this "brute
>> force method" I would appreciate any recommendation to avoid such malfunctions using other
>> techniques - as long as they are moderate to implement.
>> Thanks in advance and kind regards,
> 
> You can use 'make buildworld WITHOUT_SYSTEM_COMPILER=yes' to force your builds to use the
> clang 11 included in stable/13 instead of the host clang 12.  You could also MFC the fixes
> from head to use -Wno-error= instead of -Wno-error-.

Yes, the latter is probably a better solution. I have merged the following:

https://cgit.freebsd.org/src/commit/?h=stable/13&id=a7ade2196244fa21bdee913fb9448d07e9f3760c
https://cgit.freebsd.org/src/commit/?h=stable/12&id=742d315019789de01d5dbf736cbafd49cc603276
https://cgit.freebsd.org/src/commit/?h=stable/11&id=ff236cdc389341c219a7de107a74bd86331780af

-Dimitry


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYNI+5gAKCRCwXqMKLiCW
o1PTAJwMtINmMZReYY9s29wabRvOtoof6gCgrL6QM7U3U7g1BcSNrWLRSCisVbg=
=N16Q
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0D1F0E2-5920-44DB-9B5B-A438BCB7D549>