From nobody Tue Jun 22 18:24:17 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DCCB15D0DD8 for ; Tue, 22 Jun 2021 18:24:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8ZYK5mLkz3lD9; Tue, 22 Jun 2021 18:24:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro.local (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 40B99DB70; Tue, 22 Jun 2021 18:24:19 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: Re: CURRENT: acpi_wakecode.S error: unknown -Werror warning specifier: '-Wno-error-tautological-compare' To: "O. Hartmann" , FreeBSD CURRENT , Dimitry Andric References: <20210622201345.410835b9@thor.intern.walstatt.dynvpn.de> From: John Baldwin Message-ID: Date: Tue, 22 Jun 2021 11:24:17 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <20210622201345.410835b9@thor.intern.walstatt.dynvpn.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N 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