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: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: check that awk supports 'gensub' command
From: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
Date: Wed, 10 Oct 2007 10:50:11 -0400
Delivery-date: Wed, 10 Oct 2007 07:50:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3325043.EA75%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <C3325043.EA75%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Oct 10, 2007, at 4:47 AM, Keir Fraser wrote:

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

Yes, the build process would continue with mawk silently failing. The resulting build problems have been encountered by others before; see:
http://lists.xensource.com/archives/html/xen-devel/2007-07/msg00840.html

Mike

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

<Prev in Thread] Current Thread [Next in Thread>