rumpkernel / rumprun

The Rumprun unikernel and toolchain for various platforms
Other
1.14k stars 128 forks source link

Problem building on ARM #123

Open bchalios opened 6 years ago

bchalios commented 6 years ago

When I execute:

./build-rr.sh hw

I get the following error:

/home/bchalios/mnt/repos/rumpkernel/rumprun/buildrump.sh/buildrump.sh: 798: /home/bchalios/mnt/repos/rumpkernel/rumprun/buildrump.sh/buildrump.sh: DIRS_emul: parameter not set

and the build stops.

Here is the output of the build process up to that point:

https://pastebin.com/Dp9MtztH

Any ideas?

kent-mcleod commented 6 years ago

The hw platform doesn't currently support any aarch64 arm boards. The only board supported is an integrator board added because there was simulator support in Qemu. It is an ARM9 core and only supports 16 and 32bit instructions. I am not aware of any projects that use aarch64 rumprun/rump kernels but they may exist. The original aarch64 support to buildrump.sh appears to have been added by @justincormack, so I'd ask them about the level of support.

This isn't directly the cause of your error, which is because DIRS_emul isn't being set here: https://github.com/rumpkernel/buildrump.sh/blob/9c9b022cb2115734935e50600c867a3bc230b32c/buildrump.sh#L789 as it doesn't match on an aarch64 MACHINE target.

bchalios commented 6 years ago

Hi there,

Thanks for your answer. Is there any particular difficulty on porting the hw platform to aarch64? Is it something that you plan to support in the future?

I see this: https://github.com/nabla-containers/rumprun is porting rumprun on top of solo5. Are you aware of this? Given that Solo5 supports ukvm on aarch64 would you expect it to work?