From owner-freebsd-current@FreeBSD.ORG Mon Sep 5 15:05:45 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA72116A420; Mon, 5 Sep 2005 15:05:45 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-3.dlr.de (smtp-3.dlr.de [195.37.61.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58E8C43D49; Mon, 5 Sep 2005 15:05:44 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-3.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Mon, 5 Sep 2005 17:05:43 +0200 Date: Mon, 5 Sep 2005 17:05:47 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Ruslan Ermilov In-Reply-To: <20050804152635.GA92834@ip.net.ua> Message-ID: <20050905170350.P58682@beagle.kn.op.dlr.de> References: <20050728181415.GB68965@obiwan.tataz.chchile.org> <20050804152635.GA92834@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 05 Sep 2005 15:05:43.0491 (UTC) FILETIME=[49696930:01C5B22B] Cc: freebsd-current@FreeBSD.org, Jeremie Le Hen Subject: Re: Using "make -d l" makes buildworld to fail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 15:05:46 -0000 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>> 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>> 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>> RE>> This is not the stock source tree, but I checked on a non-modified RE>> tree and the behaviour is the same. RE>> 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. harti RE> RE>Unfortunately, there's no way to remove "-d" and its RE>following argument from .MAKEFLAGS as is done for -P RE>(in rescue/rescue/Makefile), and setting an empty RE>.MAKEFLAGS is not an option too -- we at least need RE>to pass the -m option and its argument. :( RE> RE> RE>Cheers, RE>