Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firecracker PIE builds don't run on AArch64 #1062

Open
razvand opened this issue Aug 21, 2023 · 0 comments
Open

Firecracker PIE builds don't run on AArch64 #1062

razvand opened this issue Aug 21, 2023 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@razvand
Copy link
Contributor

razvand commented Aug 21, 2023

Describe the bug

Unikraft static PIE builds for Firecracker on AArch64 don't work. The output message is:

Steps to reproduce

Build the app-helloworld Firecracker image with PIE for AArch64 using the commands:

git clone https://github.com/unikraft/app-helloworld helloworld
cd helloworld/
mkdir .unikraft
git clone https://github.com/unikraft/unikraft .unikraft/unikraft
wget https://raw.githubusercontent.com/unikraft-upb/maintainer-tools/staging/workdir/copy/base/apps/helloworld/.config.helloworld-fc-aarch64-pie
UK_DEFCONFIG=$(pwd)/.config.helloworld-fc-aarch64-pie make defconfig
make -j $(nproc)

To run the resulting image (build/helloworld_fc-arm64), you require an AArch64 baremetal system. Copy the resulting image on that system and run:

wget https://github.com/firecracker-microvm/firecracker/releases/download/v1.4.1/firecracker-v1.4.1-aarch64.tgz
tar xf firecracker-v1.4.1-aarch64.tgz
wget https://gist.githubusercontent.com/razvand/7c518132f23b3ca9a46824ae605f31c3/raw/4b847ebb62c2e8c517163fb102f72f238e7690ac/helloworld-fc-aarch64.json

Expected behavior

The unikernel image should run under Firecracker and print Hello, World!.

Which architectures were you using or does this bug affect?

arm64

Which platforms were you using or does this bug affect?

kvm

Relevant log output

No response

@razvand razvand added the kind/bug Something isn't working label Aug 21, 2023
@razvand razvand added this to the v0.15.0 (Pandora) milestone Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

3 participants