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] Problems with tip (Remus?)

To: dan.magenheimer@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Problems with tip (Remus?)
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Mon, 9 Nov 2009 14:33:41 -0800
Cc:
Delivery-date: Mon, 09 Nov 2009 14:34:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091109221112.GB2822@xxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: dan.magenheimer@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <c6ba0629-0178-4c44-b52d-aa482d95cf7a@default> <20091109221112.GB2822@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-08-27)
On Monday, 09 November 2009 at 14:11, Brendan Cully wrote:
> On Monday, 09 November 2009 at 14:02, Dan Magenheimer wrote:
> > Just updated to latest tip (20419), including rebuilding tools (but not 
> > dom0,
> > not sure if there is a new dependency there) and I'm getting an infinite
> > loop of error messages when xend is trying to launch, along the lines
> > of "Xend died due to signal 6!" and "Xend died due to signal 11!".
> >  
> > Everything was fine earlier today on a c/s >20400.  I'll try backing out
> > the remus changes that just went in, but thought I would give warning
> > and see if others run into the problem.
> 
> I'll attempt to reproduce. Right now I'm being stopped by a different
> error:
> 
> gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m32 -march=i686 
> -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> -Wno-unused-value -Wdeclaration-after-statement  -nostdinc -fno-builtin 
> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe 
> -I/home/brendan/remus/xen-unstable.32/xen/include  
> -I/home/brendan/remus/xen-unstable.32/xen/include/asm-x86/mach-generic 
> -I/home/brendan/remus/xen-unstable.32/xen/include/asm-x86/mach-default 
> -msoft-float -fno-stack-protector -g -D__XEN__ -DVERBOSE 
> -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .unlzma.o.d -c 
> unlzma.c -o unlzma.o
> cc1: warnings being treated as errors
> unlzma.c:534: warning: C99 inline functions are not supported; using GNU89
> unlzma.c:534: warning: to disable this warning use -fgnu89-inline or the 
> gnu_inline function attribute
> make[4]: *** [unlzma.o] Error 1
> make[4]: Leaving directory `/home/brendan/remus/xen-unstable.32/xen/common'
> 
> which I would guess is due to 20401:c4630f8f69cc interacting badly
> with my Ubuntu 8.04 build environment.

And later, this:

gcc  -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .libxl.o.d  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -I. -fPIC -I../../tools/libxc 
-I../../tools/include -I../../tools/libxc -I../../tools/include 
-I../../tools/xenstore -I../../tools/include -c -o libxl.o libxl.c
libxl.c: In function ‘libxl_domain_suspend’:
libxl.c:262: warning: ignoring return value of ‘write’, declared with attribute 
warn_unused_result
In function ‘open’,
    inlined from ‘libxl_create_device_model’ at libxl.c:512:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared 
with attribute error: open with O_CREAT in second argument needs 3 arguments
make[4]: *** [libxl.o] Error 1
make[4]: Leaving directory 
`/nfs/anthrax/brendan/remus/xen-unstable.64/tools/libxl'

Looks like the mode argument is missing here:

    logfile_w = open(logfile, O_WRONLY|O_CREAT);

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

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