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

Some questions about fast system calls #32

Open
a74731248 opened this issue Jan 11, 2022 · 2 comments
Open

Some questions about fast system calls #32

a74731248 opened this issue Jan 11, 2022 · 2 comments

Comments

@a74731248
Copy link

as mention in the end of wiki

Next one can use the test-dyn target of the template Makefile to launch dynamically compiled binaries with our transformed version of Musl. Note that in the current state of things, using that template Makefile to compile static binaries (for example with make test) will succeed and create static binaries with that same unikernelized libc: they will have fast syscalls but will not work on Linux.

  1. does it mean when I try HermiTux within container, and compile bunaries with static/dynamic linking, that all of these binaries use fast system calls?
  2. If I want to use a dynamic linking program (already been compiled) from outside with fast system calls, what should I do? Just download it and use the command like below?
HERMIT_ISLE=uhyve HERMIT_TUX=1 \
	path-to-proxy \
	path-to-hermitux \
	/lib64/ld-linux-x86-64.so.2 ./dynamic-linking-program-bynary
@olivierpierre
Copy link
Collaborator

@a74731248
Copy link
Author

yes, I have seen that but is just describe how to build a unikernel-aware musl libc, rather than how to run a dynamic program without recompile it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants