unikraft / app-lua Goto Github PK
View Code? Open in Web Editor NEWkraft-ready repo for building Lua applications with Unikraft
kraft-ready repo for building Lua applications with Unikraft
Applying the patches from #6 causes the following error when executing the application.
The error produces the following output:
SeaBIOS (version 1.16.2-1.fc37)
Booting from ROM...
Powered by
o. .o _ _ __ _
Oo Oo ___ (_) | __ __ __ _ ' _) :_
oO oO ' _ `| | |/ / _)' _` | |_| _)
oOo oOO| | | | | (| | | (_) | _) :_
OoOoO ._, ._:_:_,\_._, .__,_:_, \___)
Epimetheus 0.12.0~d39b3030
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
> print("Hello World")
[ 28.083313] CRIT: [libkvmplat] <traps.c @ 84> Unhandled Trap 6 (invalid opcode), error code=0x0
[ 28.087160] CRIT: [libkvmplat] <trace.c @ 41> RIP: 0000000000000003 CS: 0008
[ 28.090779] CRIT: [libkvmplat] <trace.c @ 42> RSP: 0000000000268ac8 SS: 0010 EFLAGS: 00010282
[ 28.095272] CRIT: [libkvmplat] <trace.c @ 44> RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 28.099863] CRIT: [libkvmplat] <trace.c @ 46> RDX: 0000000000000000 RSI: 0000000000268aa0 RDI: 0000000000000000
[ 28.103882] CRIT: [libkvmplat] <trace.c @ 48> RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000001
[ 28.107966] CRIT: [libkvmplat] <trace.c @ 50> R10: 000000000026a028 R11: 0000000000000008 R12: 0000000000000000
[ 28.112513] CRIT: [libkvmplat] <trace.c @ 52> R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000001
[ 28.116324] CRIT: [libkvmplat] <traps.c @ 90> Crashing
Console terminated, terminating guest (PID: 40225)...
Port app-lua
to use musl, the new supported unikraft glibc.
You should create the Makefile
and Makefile.uk
files.
You can find more information on this on the Unikraft website.
You can find a list of the external libraries the application depends on in the kraft.yaml
file, under the libraries:
section.
You will need to replace the newlib
dependency with musl
.
Hackathon points: 40
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.