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

ERL-1411: OTP master no longer builds on Alpine Linux #4437

Closed
OTP-Maintainer opened this issue Nov 19, 2020 · 3 comments
Closed

ERL-1411: OTP master no longer builds on Alpine Linux #4437

OTP-Maintainer opened this issue Nov 19, 2020 · 3 comments
Assignees
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM

Comments

@OTP-Maintainer
Copy link

Original reporter: essen
Affected version: OTP-24.0
Component: erts
Migrated from: https://bugs.erlang.org/browse/ERL-1411


You probably know about this one but since I've not seen it reported...

Building OTP master on Alpine seems to have been broken sometimes in the past 2 weeks. This is the default build without any particular option. The environment:

Linux alpine0 4.19.107-xxxx-std-ipv6-64 #1154255 SMP Thu Mar 12 13:37:16 UTC 2020 x86_64 GNU/Linux

The following error is printed as of November 19 around 11am:

CC obj/x86_64-unknown-linux-gnu/opt/jit/sys_signal_stack.o
sys/unix/sys_signal_stack.c:169:2: error: #error "beamasm requires a libc that c
an guarantee that sigaltstack works"
 #error "beamasm requires a libc that can guarantee that sigaltstack works"
 ^~~~~

Of course Alpine is using musl, and perhaps it can't use the JIT as a result (for now, anyway), but I would expect it to produce a functional build nevertheless.
@OTP-Maintainer
Copy link
Author

john said:

Thanks for your report! I've added a configure test that disables the native stack feature rather than the entire JIT:

[https://github.com/erlang/otp/pull/2874]

@OTP-Maintainer
Copy link
Author

john said:

Merged the fix to {{master}}, thanks again for your report!

@OTP-Maintainer
Copy link
Author

essen said:

That fixed it, thanks!

@OTP-Maintainer OTP-Maintainer added bug Issue is reported as a bug team:VM Assigned to OTP team VM priority:medium labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

2 participants