From owner-freebsd-current@freebsd.org Wed Jun 1 18:19:04 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 A3165B61C27 for ; Wed, 1 Jun 2016 18:19:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 883011A17 for ; Wed, 1 Jun 2016 18:19:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 83927B61C26; Wed, 1 Jun 2016 18:19:04 +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 83330B61C25 for ; Wed, 1 Jun 2016 18:19:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6CABE1A16; Wed, 1 Jun 2016 18:19:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 6610B1D66; Wed, 1 Jun 2016 18:19:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 1FAB71D02A; Wed, 1 Jun 2016 18:19:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id nUpr9B7JbJsN; Wed, 1 Jun 2016 18:18:57 +0000 (UTC) Subject: Re: 'make depend' or 'make' bug on recent --current DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 95C3D1D023 To: Andrey Chernov , current@freebsd.org References: <092f5e98-dae8-dbc9-2a6e-7068b972278f@freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <311f3a82-b702-d375-170f-82ae39236ab0@FreeBSD.org> Date: Wed, 1 Jun 2016 11:18:56 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <092f5e98-dae8-dbc9-2a6e-7068b972278f@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eLVmTIGcVAkkbkiFnug92E23PGujPS5Uh" 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 18:19:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eLVmTIGcVAkkbkiFnug92E23PGujPS5Uh Content-Type: multipart/mixed; boundary="ooFp2tckfnjxV8Lftt0vcltN3iCiV1gcB" From: Bryan Drewery To: Andrey Chernov , current@freebsd.org Message-ID: <311f3a82-b702-d375-170f-82ae39236ab0@FreeBSD.org> Subject: Re: 'make depend' or 'make' bug on recent --current References: <092f5e98-dae8-dbc9-2a6e-7068b972278f@freebsd.org> In-Reply-To: <092f5e98-dae8-dbc9-2a6e-7068b972278f@freebsd.org> --ooFp2tckfnjxV8Lftt0vcltN3iCiV1gcB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 6/1/2016 6:11 AM, Andrey Chernov wrote: > Steps to reproduce: >=20 > cd /usr/src/lib/libc/stdlib > touch *div*.c > cd .. > make depend > make >=20 > And see how imaxdiv.o only is recompiled. > No div.o ldiv.o lldiv.o are recompiled. My dev system is busy at the moment. I'll test it and get back to you. >=20 > P.S. new make depend is simple disgusting. It tends to recompile > everything in the system if some minor header file is touched, but If the header is used by all source files then that is expected. However if you do not have a .depend.obj.o file then it is quite aggressive with building. If you touch any header it will rebuild everything. But you shouldn't get into that situation unless you rm -f =2Edepend* first. > 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. The graph in the original commit for WITH_FAST_DEPEND disagrees. https://svnweb.freebsd.org/base?view=3Drevision&revision=3D290433 We run the preprocessor once now, not twice. --=20 Regards, Bryan Drewery --ooFp2tckfnjxV8Lftt0vcltN3iCiV1gcB-- --eLVmTIGcVAkkbkiFnug92E23PGujPS5Uh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXTycQAAoJEDXXcbtuRpfP5eAH+wet3DUxJhrCFcK1UOJaJMTy UTL+zH8D8FaYIDJDdmqhg5yhIDY+XHfSjitfNWTeqER+2N3er9TBX2V/Ej7EUtMl ytchGZqsYRtxM/P9ksUZLWv8XNEgDPdU7VQhMSoSedDVpg9BmdNRWRpfuF0jRIrI rOAhcPh/6eHBXguMnoaikSvseWW9N5HM4HvBhdPT0vEkpVR7YaknS6wwYN6kiSIm GYJt08FVgJU0xAgetJXOq4NbFnL52Ec0QMuXqm/j2JSYS7RbxGpl9I+uxmt7ERdJ XTYGtja35DI5N8N4aCFjkQaVEI0RfA8z5sTD7TPVdn6mFg9rvgnY37Ho1z7Ck+I= =xK2L -----END PGP SIGNATURE----- --eLVmTIGcVAkkbkiFnug92E23PGujPS5Uh--