[Barrelfish-users] [Barrelfish] compilation error in the latest release

Simon Peter speter at inf.ethz.ch
Thu Mar 3 10:26:05 CET 2011

Hi Wakas,

> in a try to compile the latest release of barrelfish, I got stuck with
> the following error:
> gcc -fno-builtin -nostdinc -std=c99 -m32 -mno-red-zone -fPIE
> -fno-stack-protector -U__linux__ -Wall -Wshadow -Wstrict-prototypes
> -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
> -Wmissing-field-initializers -Wredundant-decls -Werror -imacros
> ../include/deputy/nodeputy.h -g -O2 -I../include
> -I../include/arch/x86_32 -I./x86_64/include -o
> ./x86_64/tools/elver/_for_elver/elver.o -c ../tools/elver/elver.c
> /tmp/ccrE4Tzl.s: Assembler messages:
> /tmp/ccrE4Tzl.s:10: Error: unknown pseudo-op: `.cfi_sections'
> make: *** [x86_64/tools/elver/_for_elver/elver.o] Error 1

This one is new to me, though it looks like your assembler might not be 
compatible with your compiler's output. Could you check whether

a) binutils is up-to-date with your compiler, and

b) whether your compiler supports building 32-bit binaries (if you're on 
a 64-bit system).

> Moreover, runme.sh in splash2 folder also spits out an error as follows:
> wap at ubuntu:~/barrelfish3/usr/splash2$
> SPLASH2_PATH=/home/wap/splash/splash2 ./runme.sh
> Copying files from /home/wap/splash/splash2/codes/apps/barnes and
> patching...
> patch: **** Only garbage was found in the patch input.
> Error applying barnes.patch
> Copying files from /home/wap/splash/splash2/codes/apps/radiosity and
> patching...
> patching file glibdumb/glib.c
> patching file glibdumb/glib.h
> patching file glibps/glibps.c
> patching file glibps/pslib.h

This indeed seems to be a problem with the splash2 patch distributed 
with our latest release. Thanks for spotting this! I will try and 
compile a working set of patches.


More information about the Barrelfish-users mailing list