Using "make -d l" makes buildworld to fail
ru at freebsd.org
Mon Sep 5 08:47:53 PDT 2005
On Mon, Sep 05, 2005 at 05:05:47PM +0200, Harti Brandt wrote:
> On Thu, 4 Aug 2005, Ruslan Ermilov wrote:
> RE>On Thu, Jul 28, 2005 at 08:14:15PM +0200, Jeremie Le Hen wrote:
> RE>> Hi,
> RE>> I have to run multiple buildworlds with and without debugging ("-d l")
> RE>> these last days. I was nearly turning mad while I realized that
> RE>> buildworld would fail in "rescue" when using "-d l" make option.
> RE>> Both typescripts with and without the debugging option are available :
> RE>> http://jeremie.le-hen.org/~tataz/make_-d_l_buildworld.gz (ko)
> RE>> http://jeremie.le-hen.org/~tataz/make_buildworld.gz (ok)
> RE>> This is not the stock source tree, but I checked on a non-modified
> RE>> tree and the behaviour is the same.
> RE>crunchgen(1) is broken: it generates a makefile to find a
> RE>list of object files for a given program, then calls it,
> RE>parses the output, and expects it to start with the line
> RE>"OBJS=". If something is passed in the MAKEFLAGS environment
> RE>variable, like -Dl, things are really screwed.
> Couldn't we make crunchgen just to ignore lines that don't start with
> OBJS=? Or we could finally make make(1) to spit debug output on stderr.
The latter would be great, and would fix the problem in question.
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050905/3f582a13/attachment.bin
More information about the freebsd-current