[Barrelfish-users] Barrelfish on Gem5 compilation problems

Zeus Gómez Marmolejo zeus.gomez at bsc.es
Mon Oct 8 11:57:45 CEST 2012


I've been trying to compile the tip of the barrelfish mercurial tree for
ARM on Gem5, but unfortunatelly I get some errors when compiling.

After doing a hake.sh -a armv7 and a "make arm_gem5", the file
"armv7/sbin/cpu_arm_gem5" doesn't compile:

arm-linux-gnueabi-gcc [...] -c ../kernel/arch/arm_gem5/integrator.c
../kernel/arch/arm_gem5/integrator.c: In function 'gic_init':
../kernel/arch/arm_gem5/integrator.c:71: error: 'max_ints' undeclared
(first use in this function)
../kernel/arch/arm_gem5/integrator.c:71: error: (Each undeclared identifier
is reported only once
../kernel/arch/arm_gem5/integrator.c:71: error: for each function it
appears in.)
cc1: warnings being treated as errors
../kernel/arch/arm_gem5/integrator.c: In function 'pic_disable_all_irqs':
../kernel/arch/arm_gem5/integrator.c:118: error: implicit declaration of
function 'pl130_gic_PPI_ICDICER_wr'
../kernel/arch/arm_gem5/integrator.c:123: error: implicit declaration of
function 'pl130_gic_SPI_ICDICER_wr'
At top level:
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [armv7/kernel/arch/arm_gem5/integrator.o] Error 1

If I comment out the affecting lines the simulator aborts with this message:

info: Entering event queue @ 0.  Starting simulation...
fatal: Unable to find destination for addr 0xfffffffe on bus system.iobus

These errors may be related.

Any help would be appreciated,

Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20121008/d2b8ff3d/attachment.html 

More information about the Barrelfish-users mailing list