From owner-freebsd-current@freebsd.org Wed Jun 1 13:11:34 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5760B60B61 for ; Wed, 1 Jun 2016 13:11:34 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BCF9513B6 for ; Wed, 1 Jun 2016 13:11:34 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mailman.ysv.freebsd.org (Postfix) id BC329B60B60; Wed, 1 Jun 2016 13:11:34 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9898B60B5F for ; Wed, 1 Jun 2016 13:11:34 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) (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 4984913B4 for ; Wed, 1 Jun 2016 13:11:33 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f50.google.com with SMTP id k98so12542941lfi.1 for ; Wed, 01 Jun 2016 06:11:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=KQsZepwSTW9zoaPw7VHqGj56ZqAN4dT7FGf+gzoaa7Y=; b=K//Hq+q+bR0WRD85gggTHnxOY2eI9aXIZLucypZBy+Yc5sNBAHdVmV3Pbun3aWVPDr lh0PWXySabR/NZqVPls4RjQcLFP9DRVRdpWWdXSIj3HB+YpiKP9hnsXTsUKiykDPF4kP wjs5Iy2O3fPk5B4JPrK64xLSoXko6snA4jTkeStsVvj4UiJROvGim7nv36rDUp6L+EaA z2QCKbSt1ssSaJxYzeFRseUvhn3oSxBsbGitH26VV3NgjMfclMQEH9EZXxPO1cyxLrxT MNx+tJA3z+GpBbQbFPdBC3wINrCOV+IttwTU4bR6j2LEeR0Dk3bQSiznJyEwHoZkb5D2 l1ZA== X-Gm-Message-State: ALyK8tJw3VlP0d/IIWpJLqBdLvOeYs5TzBuBeujc8FdjzVeVzQ9S760cFGLdpzIC0jsO/A== X-Received: by 10.25.39.75 with SMTP id n72mr1733319lfn.91.1464786691663; Wed, 01 Jun 2016 06:11:31 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id 9sm764319lff.42.2016.06.01.06.11.30 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2016 06:11:31 -0700 (PDT) To: current@freebsd.org From: Andrey Chernov Subject: 'make depend' or 'make' bug on recent --current Message-ID: <092f5e98-dae8-dbc9-2a6e-7068b972278f@freebsd.org> Date: Wed, 1 Jun 2016 16:11:30 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2016 13:11:34 -0000 Steps to reproduce: cd /usr/src/lib/libc/stdlib touch *div*.c cd .. make depend make And see how imaxdiv.o only is recompiled. No div.o ldiv.o lldiv.o are recompiled. P.S. new make depend is simple disgusting. It tends to recompile everything in the system if some minor header file is touched, but completely forget to recompile source code changes. I suggest to back out all AI in that area. 'make depend' is not time-consuming task and good old way never made mistakes.