Hi,<div><br></div><div>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.</div><div><br></div><div>After doing a hake.sh -a armv7 and a "make arm_gem5", the file "armv7/sbin/cpu_arm_gem5" doesn't compile:</div>
<div><div><br></div><div><div>arm-linux-gnueabi-gcc [...] -c ../kernel/arch/arm_gem5/integrator.c </div><div>../kernel/arch/arm_gem5/integrator.c: In function 'gic_init':</div><div>../kernel/arch/arm_gem5/integrator.c:71: error: 'max_ints' undeclared (first use in this function)</div>
<div>../kernel/arch/arm_gem5/integrator.c:71: error: (Each undeclared identifier is reported only once</div><div>../kernel/arch/arm_gem5/integrator.c:71: error: for each function it appears in.)</div><div>cc1: warnings being treated as errors</div>
<div>../kernel/arch/arm_gem5/integrator.c: In function 'pic_disable_all_irqs':</div><div>../kernel/arch/arm_gem5/integrator.c:118: error: implicit declaration of function 'pl130_gic_PPI_ICDICER_wr'</div><div>
../kernel/arch/arm_gem5/integrator.c:123: error: implicit declaration of function 'pl130_gic_SPI_ICDICER_wr'</div><div>At top level:</div><div>cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"</div>
<div>make: *** [armv7/kernel/arch/arm_gem5/integrator.o] Error 1</div></div><div><br></div><div>If I comment out the affecting lines the simulator aborts with this message:</div><div><br></div><div><div>..... STARTING SIMULATION</div>
<div>info: Entering event queue @ 0. Starting simulation...</div><div>fatal: Unable to find destination for addr 0xfffffffe on bus system.iobus</div><div> </div></div><div>These errors may be related.</div><div><br></div>
<div>Any help would be appreciated,</div><div><br></div>-- <br>Zeus Gómez Marmolejo<br>Barcelona Supercomputing Center<br>PhD student<br><a href="http://www.bsc.es" target="_blank">http://www.bsc.es</a><br><br><br>
</div>