From owner-freebsd-arch@FreeBSD.ORG Mon Jun 22 16:21:43 2015 Return-Path: Delivered-To: freebsd-arch@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76CA74C5 for ; Mon, 22 Jun 2015 16:21:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DB05A81 for ; Mon, 22 Jun 2015 16:21:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iebmu5 with SMTP id mu5so118528091ieb.1 for ; Mon, 22 Jun 2015 09:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5uA0EL3fctpIIGEPwN8oGRl5fNLDmYrriKQP5K5CUaM=; b=Mg3gx7HkRpA0Wcsnyhp2pHRxHcEELgM5QsMBntLun71dfr4ZVI35+/QgSh6kfxmW3H Au6XPr0HSovX3bIc/pjzjACojOU9u7nTHyifRL7uMHaggcw9X3GI7MgsInZdrRI3t8Mj yySu5cJ+CXQzoXFLo+3WG0fHI90uqbMuXwKUUKtTxZhp4laJeYv7JxDJyQmoxRq01vQ3 tQNUwf/zIiskThwWlfnZ9ofUeBrTHHuwwHyAXDMLPOAsuoictAKfBpIyc6A9/oD+zPrp l8hAoiNUfcrMKREiiykErFShIKe2XOfXjqNXypHxgvJYiZ0n4vS0udcjV5Zc7cQlCqCe iYXA== MIME-Version: 1.0 X-Received: by 10.43.163.129 with SMTP id mo1mr26256819icc.61.1434990102458; Mon, 22 Jun 2015 09:21:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Mon, 22 Jun 2015 09:21:42 -0700 (PDT) In-Reply-To: References: <19927.1434727307@chaos> Date: Mon, 22 Jun 2015 12:21:42 -0400 X-Google-Sender-Auth: xxT05Q0E8qL6OgCbTpaTEwKbFUA Message-ID: Subject: Re: stale .depend during -HEAD builds? From: Adrian Chadd To: Masao Uebayashi Cc: "Simon J. Gerraty" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 16:21:43 -0000 That's like, 30 lines of C all up, including modifying usage(). You should totally add it. -a On 22 June 2015 at 03:38, Masao Uebayashi wrote: > On Sat, Jun 20, 2015 at 12:21 AM, Simon J. Gerraty wrote: >> Adrian Chadd wrote: >>> Is this a fallout from the meta mode changes? >> >> Without more detail, its hard to be certain. >> >>> make[4]: /home/adrian/work/freebsd/head-embedded-2/src/../obj/mips//mips.mips/usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/praliases/.depend, >>> 78: ignoring stale .depend for >>> /home/adrian/work/freebsd/head-embedded-2/src/../obj/mips//mips.mips/usr/home/adrian/work/freebsd/head-embedded-2/src/lib/libsmdb/libsmutil.a >>> >> >> Is that what your objdirs normally look like? >> >> The message from make is standard bmake behavior. >> An unresolved and unresolvable dependency learned from .depend >> is ignored, in case it is just stale data. >> If it really is needed the build will fail anyway, but in 90% of cases >> it is just stale data and the build sails happily on. > > I wish make(1) had a flag, like cc's warning level, that controls > strictness, and failed when a stale depend is found.