Re: CURRENT: acpi_wakecode.S error: unknown -Werror warning specifier: '-Wno-error-tautological-compare'

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 22 Jun 2021 18:24:17 UTC
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-.

-- 
John Baldwin