From nobody Tue Jun 22 19:49:58 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 BCE235D61F4 for ; Tue, 22 Jun 2021 19:50:07 +0000 (UTC) (envelope-from dim@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 4G8cSH4yngz3rxx; Tue, 22 Jun 2021 19:50:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 74E0AE113; Tue, 22 Jun 2021 19:50:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (unknown [IPv6:2001:470:7a58:0:88f8:5cd4:a6cf:4cd2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 206CB4BD1E; Tue, 22 Jun 2021 21:50:05 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_2E7E5343-75F6-4B08-84C1-65643F819031"; protocol="application/pgp-signature"; micalg=pgp-sha1 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 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: CURRENT: acpi_wakecode.S error: unknown -Werror warning specifier: '-Wno-error-tautological-compare' Date: Tue, 22 Jun 2021 21:49:58 +0200 In-Reply-To: Cc: "O. Hartmann" , FreeBSD CURRENT To: John Baldwin References: <20210622201345.410835b9@thor.intern.walstatt.dynvpn.de> X-Mailer: Apple Mail (2.3654.100.0.2.22) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_2E7E5343-75F6-4B08-84C1-65643F819031 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 22 Jun 2021, at 20:24, John Baldwin wrote: >=20 > 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, >=20 > You can use 'make buildworld WITHOUT_SYSTEM_COMPILER=3Dyes' 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=3D instead of -Wno-error-. Yes, the latter is probably a better solution. I have merged the = following: = https://cgit.freebsd.org/src/commit/?h=3Dstable/13&id=3Da7ade2196244fa21bd= ee913fb9448d07e9f3760c = https://cgit.freebsd.org/src/commit/?h=3Dstable/12&id=3D742d315019789de01d= 5dbf736cbafd49cc603276 = https://cgit.freebsd.org/src/commit/?h=3Dstable/11&id=3Dff236cdc389341c219= a7de107a74bd86331780af -Dimitry --Apple-Mail=_2E7E5343-75F6-4B08-84C1-65643F819031 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYNI+5gAKCRCwXqMKLiCW o1PTAJwMtINmMZReYY9s29wabRvOtoof6gCgrL6QM7U3U7g1BcSNrWLRSCisVbg= =N16Q -----END PGP SIGNATURE----- --Apple-Mail=_2E7E5343-75F6-4B08-84C1-65643F819031--