From owner-svn-src-head@freebsd.org Fri Sep 18 17:19:55 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E960D3E87A3 for ; Fri, 18 Sep 2020 17:19:55 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtLDq5yL6z3ZZB for ; Fri, 18 Sep 2020 17:19:55 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id AAEE211DCE for ; Fri, 18 Sep 2020 17:19:55 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f176.google.com with SMTP id k25so5721878qtu.4 for ; Fri, 18 Sep 2020 10:19:55 -0700 (PDT) X-Gm-Message-State: AOAM532IYAL5abQNYE56NTdW/P/3syLjKBb39+Ndfofo1JaG4P6L0ZJr GU3SYIgJfGHl77PyemDCb/ZLvi6WWUU1t7dLaBk= X-Received: by 2002:ac8:709:: with SMTP id g9mt21865098qth.310.1600449595040; Fri, 18 Sep 2020 10:19:55 -0700 (PDT) MIME-Version: 1.0 References: <202009181717.08IHHkSq047581@repo.freebsd.org> In-Reply-To: <202009181717.08IHHkSq047581@repo.freebsd.org> From: Kyle Evans Date: Fri, 18 Sep 2020 12:19:42 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r365887 - in head: . bin gnu/lib/libregex gnu/usr.bin/diff3 gnu/usr.bin/gdb gnu/usr.bin/grep lib lib/clang lib/libarchive/tests lib/libc/tests/regex lib/libcasper/services/cap_dns/tests... Cc: src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 17:19:56 -0000 On Fri, Sep 18, 2020 at 12:18 PM Kyle Evans wrote: > > Author: kevans > Date: Fri Sep 18 17:17:46 2020 > New Revision: 365887 > URL: https://svnweb.freebsd.org/changeset/base/365887 > > Log: > build: provide a default WARNS for all in-tree builds > > The current default is provided in various Makefile.inc in some top-level > directories and covers a good portion of the tree, but doesn't cover parts > of the build a little deeper (e.g. libcasper). > > Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that > variable is defined. This lets us relatively cleanly provide a default WARNS > no matter where you're building in the src tree without breaking things > outside of the tree. > > Crunchgen has been updated as a bootstrap tool to work on this change > because it needs r365605 at a minimum to succeed. The cleanup necessary to > successfully walk over this change on WITHOUT_CLEAN builds has been added. > > There is a supplemental project to this to list all of the warnings that are > encountered when the environment has WARNS=6 NO_WERROR=yes: > https://warns.kevans.dev -- this project will hopefully eventually go away > in favor of CI doing a much better job than it. > > Reviewed by: emaste, brooks, ngie (all earlier version) > Reviewed by: emaste, arichardson (depend-cleanup.sh change) > Differential Revision: https://reviews.freebsd.org/D26455 > *sigh* Differential Revision: https://reviews.freebsd.org/D26397 D26455 was just the depend-cleanup part.