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

static compile #511

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

static compile #511

isarrider opened this issue Jan 11, 2022 · 2 comments

Comments

@isarrider
Copy link
Contributor

Hi,

is there an easy way to do a static compile,
I like how mbmd has only one binary...

VR,
Alex

@r00t-
Copy link
Contributor

r00t- commented Feb 18, 2022

i already did research on this, here:
#486 (comment)

the issues encountered are:

  • linking glibc statically is problematic because the resolver is dynamically loaded even then?
  • glibc can be replaced with a smaller libc that supports static linking (after [MeterW1therm] avoid GLOB_BRACE, don't require glibc #470 )
  • but vzlogger is a C++ project, libstdc++ depends on glibc, libstdc++ does not support static linking
    => we need a replacement libstdc++, not familiar with that.

@isarrider
Copy link
Contributor Author

ah, thx for the comment,
I saw it but thought your intention was to minimize the file size of the docker container...
(I have to admit I didnt went through all the posts)

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