[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen build error based on gcc version


  • To: <deshantm@xxxxxxxxx>, xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclQEAwhSrjcaLwDEd2FMQAWy6hiGQ==
  • Thread-topic: [Xen-devel] Xen build error based on gcc version

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.