[Barrelfish] [Barrelfish-users] error for installing barrelfish
Andrew Baumann
andrewb at inf.ethz.ch
Tue Sep 28 08:42:53 MEST 2010
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!
More information about the Barrelfish-users
mailing list