WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: check that awk supports 'ge

To: Jan Beulich <jbeulich@xxxxxxxxxx>, Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: check that awk supports 'gensub' command
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 10 Oct 2007 09:47:47 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 10 Oct 2007 01:43:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <470CA14A.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgLGjsuebCH5XcNEdy7uwAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: check that awk supports 'gensub' command
User-agent: Microsoft-Entourage/11.3.6.070618
On 10/10/07 08:54, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>>> Michael Abd-El-Malek <mabdelmalek@xxxxxxx> 10.10.07 04:53 >>>
>> The linux-2.6.18-xen.hg/scripts/Makefile.xen.awk script depends on the
>> GNU AWK-specific function "gensub".  If another awk is used (e.g.,
>> Debian installs mawk by default), the lack of gensub trickles down to
>> cause the -xen.c files to not be compiled.  This was time-consuming to
>> track.  So we should check that the awk program supports 'gensub'.
>> 
>> Signed-off-by: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
> 
> Hmm, this seems odd: If I try to use an arbitrary function (with gawk) , I get
> a
> failure, which should prevent make from continuing the build. Are you saying
> this isn't happening for you? Have you determined why?

The implication seems to be that other awk implementations (most likely mawk
in this case) silently continue.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel