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] Xen build error based on gcc version

To: <deshantm@xxxxxxxxx>, xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen build error based on gcc version
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 26 Nov 2008 21:43:41 +0000
Cc:
Delivery-date: Wed, 26 Nov 2008 13:44:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0811261315o68ef7fd5s4198cc537f78778a@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclQEAwhSrjcaLwDEd2FMQAWy6hiGQ==
Thread-topic: [Xen-devel] Xen build error based on gcc version
User-agent: Microsoft-Entourage/11.4.0.080122
I'll try and get gcc 4.3.2 running myself tomorrow and fix any problems I
find.

 -- Keir

On 26/11/08 21:15, "Todd Deshane" <deshantm@xxxxxxxxx> wrote:

> Specific gcc versions seem to have trouble and error out on:
> 
> (xen/tools/symbols.c)
> 
> symbols.c:84: error: ignoring return value of 'fgets', declared with
> attribute warn_unused_result
> 
> It has been reported to xen-users are a few occasions, with different
> versions of Xen. [1][2][3] Presumably different gcc versions since two
> of them are older posts and on different versions of Xen.
> 
> I just ran across it on Ubuntu 8.10 gcc version 4.3.2 compiling xen-unstable.
> 
> If I switch the compiler to 3.4 or 4.2 it compiles fine.
> 
> It is a gcc problem or a problem with the Xen code?
> 
> Cheers,
> Todd
> 
> [1] http://xen.markmail.org/search/?q=fgets symbol.c#query:fgets
> symbol.c+page:1+mid:hzvevwa6e6jcunul+state:results
> 
> [2] http://xen.markmail.org/search/?q=fgets symbol.c#query:fgets
> symbol.c from%3A"Zoran
> Kikic"+page:1+mid:3icw4rdteaco6kmf+state:results
> 
> [3] http://xen.markmail.org/search/?q=fgets symbol.c#query:fgets
> symbol.c from%3A"Zoran
> Kikic"+page:1+mid:nwiob3nl42u2dxq3+state:results



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

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