Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 20:11:59 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Cc:        emaste@FreeBSD.org
Subject:   Re: svn commit: r296646 - in head: . share/mk sys/conf
Message-ID:  <56E2458F.3020600@FreeBSD.org>
In-Reply-To: <201603110409.u2B49u5L047630@repo.freebsd.org>
References:  <201603110409.u2B49u5L047630@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--HiGjOfxkpa9Rah0s3cPFrbMCBUKPG3bdU
Content-Type: multipart/mixed; boundary="K7HAOlhRbm7Wtx4Cn3vemvOiEt4kd3Khc"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Cc: emaste@FreeBSD.org
Message-ID: <56E2458F.3020600@FreeBSD.org>
Subject: Re: svn commit: r296646 - in head: . share/mk sys/conf
References: <201603110409.u2B49u5L047630@repo.freebsd.org>
In-Reply-To: <201603110409.u2B49u5L047630@repo.freebsd.org>

--K7HAOlhRbm7Wtx4Cn3vemvOiEt4kd3Khc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 3/10/2016 8:09 PM, Bryan Drewery wrote:
> Author: bdrewery
> Date: Fri Mar 11 04:09:56 2016
> New Revision: 296646
> URL: https://svnweb.freebsd.org/changeset/base/296646
>=20
> Log:
>   FAST_DEPEND: Use .dinclude to enable full .depend logic in bmake.
>  =20
>   The inclusion of .MAKE.DEPENDFILE (.depend) has special logic in make=

>   to ignore stale/missing dependencies.  bmake 20160220 added a '.dincl=
ude'
>   directive that uses the special logic for .depend when including the =
file.
>  =20
>   This fixes a build error when a file is moved or deleted that exists =
in a
>   .depend.OBJ file.  This happened in r292782 when sha512c.c "moved" an=
d an
>   incremental build of lib/libmd would fail with:
>     make: don't know how to make /usr/src/lib/libcrypt/../libmd/sha512c=
=2Ec. Stop
>  =20
>   Now this will just be seen as a stale dependency and cause a rebuild:=

>     make: /usr/obj/usr/src/lib/libmd/.depend.sha512c.o, 13: ignoring st=
ale .depend for /usr/src/lib/libcrypt/../libmd/sha512c.c
>     --- sha512c.o ---
>     ...
>   This rebuild will only be done once since the .depend.sha512c.o will
>   be updated on the build with the -MF flags.
>  =20
>   This also removes -MP being passed for the .depend.OBJ generation (wh=
ich
>   would create fake targets for system headers) since the logic is no
>   longer needed to protect from missing files.
>  =20
>   Sponsored by:	EMC / Isilon Storage Division
>=20
> Modified:
>   head/Makefile
>   head/share/mk/bsd.dep.mk
>   head/sys/conf/kern.post.mk

This was the last piece needed before it could be enabled by default.  I
plan to enable it by default tomorrow, and remove the option and the
mkdep handling entirely soon after (as brought up on arch@).

--=20
Regards,
Bryan Drewery


--K7HAOlhRbm7Wtx4Cn3vemvOiEt4kd3Khc--

--HiGjOfxkpa9Rah0s3cPFrbMCBUKPG3bdU
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

iQEcBAEBAgAGBQJW4kWPAAoJEDXXcbtuRpfPoKUIAIl2va0WDca9eG5JVnRUtz4e
MQtTlcda0A5pnnOeG8RhETgTFtntBF0/umbWwJv7spyl/7Ow9hhL8rEJUZnmFh3F
sKkB6dDVeLNH98g3cf8afone5Dc2ZbcSUcGZpeKtTT1Pfk8GDr19vW7F/yskYWbB
xqlyoKpfdrMEVLDC3VFjRxv/ZKC3I+yN4meY+EfKC8w7NCXLpt9bKYoP3xC2ivBB
a0fPyhgtOzrky9kjZQ5HHtlv1sQv/pFBNvLFdH0lSO5ufmkHT0g/nTg6wWKIo0Zo
7uuh08RwZBt2ixA5ZGipPH9zyoIZRR77lerNfAOikYhN/WUV/J/2vFZTNnftmSs=
=UYnq
-----END PGP SIGNATURE-----

--HiGjOfxkpa9Rah0s3cPFrbMCBUKPG3bdU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E2458F.3020600>