[Barrelfish] [Barrelfish-users] error for installing barrelfish

Yaojia Zhu yaojia.zhu at gmail.com
Tue Sep 28 17:12:41 MEST 2010


Thanks Andrew. It has been solved. Actually I found I was still using GCC
4.4. It's good if I use GCC 4.3. Thanks!

On Tue, Sep 28, 2010 at 12:42 AM, Andrew Baumann <andrewb at inf.ethz.ch>wrote:

> Hi,
>
> This sounds like the spurious uninitialised variable warnings that we see
> around inline functions when compiling with recent versions of 4.4. I'm not
> sure why you're getting it on 4.3, but the quickest workaround is probably
> to
> add -Wno-uninitialized to the flags (as also used in Joey Trebbien's
> patch).
>
> For obvious reasons we don't want to apply this workaround to the main
> tree...
> I've been hoping that GCC will be fixed first, but we'll have to see.
>
> Cheers,
> Andrew
>
> On Sunday 26 September 2010 06.03:29 Yaojia Zhu wrote:
> > Hi,
> > I am installing barrelfish on the machine with an Intel Quad Q8300
> > Processor. The operating system is Ubuntu 10.04. I am using gcc 4.3, but
> > still has an error.
> >
> > cc1: warnings being treated as errors
> > ../lib/barrelfish/arch/x86_64/syscalls.c: In function
> ‘cap_invoke_sysret’:
> > ../lib/barrelfish/arch/x86_64/syscalls.c:96: error: ‘cap’ is used
> > uninitialized in this function
> > ../lib/barrelfish/arch/x86_64/syscalls.c:35: note: ‘cap’ was declared
> here
> > make: ***
> > [x86_64/lib/barrelfish/_for_lib_barrelfish/arch/x86_64/syscalls.o] Error
> 1
> >
> > Can anyone help me? Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20100928/09753464/attachment.html


More information about the Barrelfish-users mailing list