-
Notifications
You must be signed in to change notification settings - Fork 42
kraft fails to build arm64 images in container environment #57
Comments
The error is related to the way aarch64 gcc toolchain is built and packaged into the container. We miss taking in some of the necessary file from directories like |
Apparently the toolchain built in the container is always trying to use My proposal would be to replace the current ARM64 toolchain with the linaro one. I've tried that in the container and |
Ok cool, thanks for checking this out! Could you put together a PR together with fixes and also the linaro toolchain which integrates into the build process of the kraft container? Probably the linaro toolchain needs its own Dockerfile, an appropriate target which catches the target arch so builds the right image |
Sure, I'll find a way to integrate it. |
So this comment needs to be uncommented? |
Yes, and we should add |
The kraft container environment is the environment where all the tools are provided for building unikraft unikernels, including the kraft program itself. W.r.t. this issue, it also includes baked compiled version of
gcc
for Unikraft's supported architectures. However, when targetting thearm64
architecture, theas
program fails to compile, yielding the following error:To reproduce locally, build the container environment:
Then use the container environment to build an
arm64
image:My initial thoughts, without having dived deeply into this problem, that it is to do with the arm64 libraries in the container, whether they are symbollically linked correctly or their paths are not correct.
The text was updated successfully, but these errors were encountered: