[Barrelfish-users] Compiling barrelfish for ARM

Timothy Roscoe troscoe at inf.ethz.ch
Sun Jul 24 12:59:13 CEST 2011


The list of architectures that hake supports can be found in
hake/Args.hs: I'm guessing you want 'arm' or 'arm11mp'.

 -- Mothy

At Sun, 24 Jul 2011 08:25:09 +0300, Konstantin Zertsekel <zertsekel at gmail.com> wrote:
> Hi,
> 
> > seems like u are missing a package.
> > try installing "libghc-ghc6-paths-dev" package from Ubuntu repositories.
> Oh, that helped. I did miss it, though nothing is said about it in
> barrelfish docs... or I didn't look enough.
> But now, hake complains about ARM arch: "Error in configuration:
> unknown architecture(s) specified: ARM".
> The details are below:
> 
> --------------------------------------------------------------------------------
> konszert at kosta-ubuntu:~/dev/hg.barrelfish.org/my_build$
> ../hake/hake.sh -s .. -a ARM
> Install directory defaulting to '.'
> Source directory is ..
> Architectures to build: "ARM"
> Setting up hake build directory...
> You already have Config.hs, leaving it as-is.
> You already have symbolic_targets.mk, leaving it as-is.
> Building hake...
> [ 1 of 14] Compiling Path             ( ../hake/Path.hs, hake/Path.o )
> [ 2 of 14] Compiling HakeTypes        ( ../hake/HakeTypes.hs, hake/HakeTypes.o )
> [ 3 of 14] Compiling Args             ( ../hake/Args.hs, hake/Args.o )
> [ 4 of 14] Compiling Config           ( ../hake/Config.hs, hake/Config.o )
> [ 5 of 14] Compiling ArchDefaults     ( ../hake/ArchDefaults.hs,
> hake/ArchDefaults.o )
> [ 6 of 14] Compiling X86_64           ( ../hake/X86_64.hs, hake/X86_64.o )
> [ 7 of 14] Compiling X86_32           ( ../hake/X86_32.hs, hake/X86_32.o )
> [ 8 of 14] Compiling SCC              ( ../hake/SCC.hs, hake/SCC.o )
> [ 9 of 14] Compiling ARM              ( ../hake/ARM.hs, hake/ARM.o )
> [10 of 14] Compiling ARM11MP          ( ../hake/ARM11MP.hs, hake/ARM11MP.o )
> [11 of 14] Compiling Beehive          ( ../hake/Beehive.hs, hake/Beehive.o )
> [12 of 14] Compiling XScale           ( ../hake/XScale.hs, hake/XScale.o )
> [13 of 14] Compiling RuleDefs         ( ../hake/RuleDefs.hs, hake/RuleDefs.o )
> [14 of 14] Compiling Main             ( ../hake/Main.hs, hake/Main.o )
> Linking hake/hake ...
> Running hake...
> Error in configuration: unknown architecture(s) specified: ARM
> --------------------------------------------------------------------------------
> 
> BTW, I have downloaded the latest barrelfish package.
> That's what I have in hake folder:
> 
> --------------------------------------------------------------------------------
> konszert at kosta-ubuntu:~/dev/hg.barrelfish.org/my_build$ ls -l ../hake/
> total 236
> -rw-r--r-- 1 konszert konszert 10507 2011-07-23 20:58 ArchDefaults.hs
> -rw-r--r-- 1 konszert konszert  4082 2011-07-23 20:58 Args.hs
> -rw-r--r-- 1 konszert konszert  3924 2011-07-23 20:58 arm11mpcore-dM.txt
> -rw-r--r-- 1 konszert konszert  6125 2011-07-23 20:58 ARM11MP.hs
> -rw-r--r-- 1 konszert konszert  2378 2011-07-23 20:58 arm926ej-s-dM.txt
> -rw-r--r-- 1 konszert konszert  6664 2011-07-23 20:58 ARM.hs
> -rw-r--r-- 1 konszert konszert  2376 2011-07-23 20:58 arm-mpcore-dM.txt
> -rw-r--r-- 1 konszert konszert  3539 2011-07-23 20:58 beehive-dM-noSTDC.txt
> -rw-r--r-- 1 konszert konszert  3586 2011-07-23 20:58 beehive-dM.txt
> -rw-r--r-- 1 konszert konszert  5874 2011-07-23 20:58 Beehive.hs
> -rw-r--r-- 1 konszert konszert  6618 2011-07-23 21:47 Config.hs
> -rw-r--r-- 1 konszert konszert  6475 2011-07-23 20:58 Config.hs.template
> drwxr-xr-x 2 konszert konszert  4096 2011-07-23 22:18 hake
> -rw-r--r-- 1 konszert konszert  1354 2011-07-23 20:58 Hakefile
> -rwxr-xr-x 1 konszert konszert  4086 2011-07-23 20:58 hake.sh
> -rw-r--r-- 1 konszert konszert  3716 2011-07-23 20:58 HakeTypes.hs
> -rw-r--r-- 1 konszert konszert 17850 2011-07-23 20:58 Main.hs
> -rw-r--r-- 1 konszert konszert   719 2011-07-23 20:58 menu.lst.arm
> -rw-r--r-- 1 konszert konszert  1289 2011-07-23 20:58 menu.lst.beehive
> -rw-r--r-- 1 konszert konszert  1001 2011-07-23 20:58 menu.lst.m5
> -rw-r--r-- 1 konszert konszert  1084 2011-07-23 20:58 menu.lst.scc
> -rw-r--r-- 1 konszert konszert   947 2011-07-23 20:58 menu.lst.x86_32
> -rw-r--r-- 1 konszert konszert  1119 2011-07-23 20:58 menu.lst.x86_64
> -rw-r--r-- 1 konszert konszert   757 2011-07-23 20:58 menu.lst.xscale
> -rw-r--r-- 1 konszert konszert  2135 2011-07-23 20:58 notes.txt
> -rw-r--r-- 1 konszert konszert  5116 2011-07-23 20:58 Path.hs
> -rw-r--r-- 1 konszert konszert 35557 2011-07-23 20:58 RuleDefs.hs
> -rw-r--r-- 1 konszert konszert  4047 2011-07-23 20:58 SCC.hs
> -rw-r--r-- 1 konszert konszert 12212 2011-07-23 20:58 symbolic_targets.mk
> -rw-r--r-- 1 konszert konszert  3801 2011-07-23 20:58 x86_32-dM.txt
> -rw-r--r-- 1 konszert konszert  5377 2011-07-23 20:58 X86_32.hs
> -rw-r--r-- 1 konszert konszert  4069 2011-07-23 20:58 x86_64-dM.txt
> -rw-r--r-- 1 konszert konszert  5503 2011-07-23 20:58 X86_64.hs
> -rw-r--r-- 1 konszert konszert  6929 2011-07-23 20:58 XScale.hs
> --------------------------------------------------------------------------------
> 
> Do I miss something?
> Thanks,
> --- Kosta
> 
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
> 
> _______________________________________________
> Barrelfish mailing list
> Barrelfish at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish
> 
> 
> 



More information about the Barrelfish-users mailing list