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

[TRACKER] musl libc support in Godot #20037

Closed
3 tasks done
MazeChaZer opened this issue Jul 8, 2018 · 10 comments
Closed
3 tasks done

[TRACKER] musl libc support in Godot #20037

MazeChaZer opened this issue Jul 8, 2018 · 10 comments

Comments

@MazeChaZer
Copy link

MazeChaZer commented Jul 8, 2018

I am currently working on a docker image for Godot. I would like to base this image on Alpine Linux, which uses musl libc instead of glibc. I already managed to get it compiling and now work on it running properly.

I created this issue for general discussion about musl libc/Alpine linux support. For the problems I encountered, I created separate issues:

It would be great if the continous integration on Travis CI would include a musl libc system like Alpine Linux, is that possible?

@Calinou
Copy link
Member

Calinou commented Jul 8, 2018

It would be great if the continous integration on Travis CI would include a musl libc system like Alpine Linux, is that possible?

Is it possible to compile Linux editor or export template (non-server) binaries with musl, considering they need to link to libGL?

@MazeChaZer
Copy link
Author

Is it possible to compile Linux editor or export template (non-server) binaries with musl, considering they need to link to libGL?

Good point, I'm not sure about that. I only tried to compile the server platform. I'm a newcomer to C/C++ and just getting into how Godot works.

@ronchaine
Copy link
Contributor

I started looking at running godot on musl about a week ago.

Compiling works fine with few minor fixes, but it segfaults when loading the editor for me, and I'm still trying to track down what happens. The stack trace shows some radeonsi and libz deflate calls, but currently cannot test my build on non-amd-gpu-machine to see if it still happens.

@akien-mga akien-mga changed the title musl libc support in Godot [TRACKER] musl libc support in Godot Jul 22, 2018
@willvincent
Copy link
Contributor

Any reason you can't just use a version of alpine that includes glibc?

Like: https://hub.docker.com/r/frolvlad/alpine-glibc/

@akien-mga
Copy link
Member

The whole raison d'être of Alpine is to not include GNU tools but use more lightweight alternatives (and make on Linux distro where people can't tell you "actually, it's GNU/Linux, or as I've taken to call it, GNU+Linux).

@MazeChaZer
Copy link
Author

@akien-mga this. Also I would like to use the official alpine images.

@ronchaine
Copy link
Contributor

Both of the issues #20035 and #20036 in the original post have been resolved.

I made new ticket for #21282, either it should be added to the tracker or this issue should be closed.

@aaronfranke
Copy link
Member

What's the status of this issue? It seems like a good thing for Godot to run on multiple libraries and compilers, as it should make the codebase more robust...?

@Anutrix
Copy link
Contributor

Anutrix commented Jul 15, 2019

The tracker seems to complete, so what else is left?

@akien-mga
Copy link
Member

Closing then.

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

No branches or pull requests

7 participants