Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2005 18:26:35 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Using "make -d l" makes buildworld to fail
Message-ID:  <20050804152635.GA92834@ip.net.ua>
In-Reply-To: <20050728181415.GB68965@obiwan.tataz.chchile.org>
References:  <20050728181415.GB68965@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 28, 2005 at 08:14:15PM +0200, Jeremie Le Hen wrote:
> Hi,
>=20
> I have to run multiple buildworlds with and without debugging ("-d l")
> these last days.  I was nearly turning mad while I realized that
> buildworld would fail in "rescue" when using "-d l" make option.
>=20
> Both typescripts with and without the debugging option are available :
> 	http://jeremie.le-hen.org/~tataz/make_-d_l_buildworld.gz (ko)
> 	http://jeremie.le-hen.org/~tataz/make_buildworld.gz (ok)
>=20
> This is not the stock source tree, but I checked on a non-modified
> tree and the behaviour is the same.
>=20
crunchgen(1) is broken: it generates a makefile to find a
list of object files for a given program, then calls it,
parses the output, and expects it to start with the line
"OBJS=3D".  If something is passed in the MAKEFLAGS environment
variable, like -Dl, things are really screwed.

Unfortunately, there's no way to remove "-d" and its
following argument from .MAKEFLAGS as is done for -P
(in rescue/rescue/Makefile), and setting an empty
=2EMAKEFLAGS is not an option too -- we at least need
to pass the -m option and its argument.  :(


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC8jOrqRfpzJluFF4RAiWzAKCXYBCepmKORhcEt9I4BW8hR2sqnACgl6Tl
HTRLiV793/sHSan3Aj7U5bg=
=AFxh
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



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