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

Failed to compile for Alpine/musl target #63978

Closed
Uniformbuffer3 opened this issue Aug 5, 2022 · 1 comment
Closed

Failed to compile for Alpine/musl target #63978

Uniformbuffer3 opened this issue Aug 5, 2022 · 1 comment

Comments

@Uniformbuffer3
Copy link

Godot version

v4.0.alpha.custom_build [9f408ae]

System information

Alpine linux 3.16, Intel N6005

Issue description

Hi, i was trying to compile Godot 4 (master) on an Alpine machine and it compiles correctly until the last linking phase when it throws this error:

[ 96%] Linking Program bin/godot.linuxbsd.tools.64 ...
[100%] progress_finish(["progress_finish"], [])
[100%] /usr/lib/gcc/x86_64-alpine-linux-musl/11.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: platform/linuxbsd/crash_handler_linuxbsd.linuxbsd.tools.64.o: in function `handle_crash(int)':
/home/*****/godot/platform/linuxbsd/crash_handler_linuxbsd.cpp:56: undefined reference to `backtrace'
/usr/lib/gcc/x86_64-alpine-linux-musl/11.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/*****/godot/platform/linuxbsd/crash_handler_linuxbsd.cpp:81: undefined reference to `backtrace_symbols'
collect2: error: ld returned 1 exit status
scons: *** [bin/godot.linuxbsd.tools.64] Error 1
scons: building terminated because of errors.

On the Godot compiling guide are reported the necessary dependencies to build on Alpine, so i suppose it is a supported system, otherwise i'm sorry for the noise.

Thanks for the dedicated time, have a good day.

Steps to reproduce

Just compile Godot targetting/on a musl machine.

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented Aug 6, 2022

Duplicate of #57193.

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

2 participants