Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2016 10:41:25 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        arch@FreeBSD.org
Subject:   Re: build: FAST_DEPEND default (kernel first, then world)
Message-ID:  <56AA60D5.7090306@FreeBSD.org>
In-Reply-To: <56A91A1E.4060304@FreeBSD.org>
References:  <56A91A1E.4060304@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 1/27/16 11:27 AM, Bryan Drewery wrote:
> I have been asked to also remove the old mkdep version of 'make
> depend'.

I should note some of the bugs with the old 'mkdep' method that are
fixed by the FAST_DEPEND method, for world.

1. CXXFLAGS/CFLAGS are not passed properly from Makefile.inc1 for
external toolchain with gcc. A DEPFLAGS hack was added to address
this. The problem being that we pass CFLAGS via CC=3D"${CC} ${CFLAGS}"
from Makefile.inc1 rather than a CFLAGS_APPEND that mkdep can pick up.
2. CFLAGS=3D-include was ignored in mkdep until r294370.
3. Avoiding ccache for mkdep involves annoying hacks that broke
someone's build (unfixed)
4. ccache can't benefit from mkdep
5. Similar to -include, we only pass certain flags to mkdep which is a
maintenance problem.
6. It hides dependency problems due to 'requiring' running 'make
depend' before build. A goal with FAST_DEPEND is to not need this,
which has proven to be fine.  DPSRCS was widely abused and fixed. It
should not even exist really, it's not needed.

- --=20
Regards,
Bryan Drewery
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWqmDVAAoJEDXXcbtuRpfPd6gH/1EqBsKQGn8qApzVUHJnrzGL
lJGbD+zZVY2RjmpChMLYA4cJu0lA9edKB2oj5pIQWXDZK6rO2Q7ekAElVE64gnDw
UsMeAi6v0m5/UwSGvLYHW1Nm7q/j0JTcIKXRpbseI3a40Gervdxmswrw0vGGWBEp
Hg+nfeiiEFjR84lBvfwynoHjtGb3ovakPo6lGVVNHD5LIpEwuSxaldWb99uoPbDt
h5iqWICvVbR4ugxEstGdPnx/6bMof+WngiQssc+8ZEiDQ0uuXneI7fyFaEd3MYCZ
+LdswwPA1cJPpDmCif/fRxDWoCAQum0HGPGB2bkXRdwERMOVltRsiDEWr/kM6Ko=3D
=3DmCSt
-----END PGP SIGNATURE-----



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