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

Disable usage of sys_siglist function to workaround issues on alpine #854

Merged
merged 11 commits into from
Feb 28, 2024

Conversation

normanmaurer
Copy link
Member

@normanmaurer normanmaurer commented Feb 26, 2024

Motivation:

When we try to use our static compiled version on alpine it fails due missing sys_siglist. We can workaround this by letting apr use its own implementation.

Modifications:

Use ac_cv_have_decl_sys_siglist=no when compiling APR.

Result:

netty-tcnative-boringssl-static should be useable on alpine. Fixes #853

Motivation:

When we try to use our static compiled version on alpine it fails due missing sys_siglist. We can workaround this by letting apr use its own implementation.

Modifications:

Use ac_cv_have_decl_sys_siglist=no when compiling APR.

Result:

netty-tcnative-boringssl-static should be useable on alpine. Fixes #853
@normanmaurer normanmaurer added this to the 2.0.64.Final milestone Feb 26, 2024
@normanmaurer
Copy link
Member Author

ok problem is still there... need to investigate further

@normanmaurer
Copy link
Member Author

Wohoo... This worked:

/tmp/build-pr-centos7-aarch64-target-jars/boringssl-static/target # ldd META-INF/native/libnetty_tcnative_linux_aarch_64.so
	/lib/ld-musl-aarch64.so.1 (0xffffa7a25000)
	librt.so.1 => /lib/ld-musl-aarch64.so.1 (0xffffa7a25000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0xffffa77f5000)
	libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffffa7a25000)
	libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffffa7a25000)
	libucontext.so.1 => /lib/libucontext.so.1 (0xffffa77d4000)
	libobstack.so.1 => /usr/lib/libobstack.so.1 (0xffffa77b3000)

@normanmaurer normanmaurer merged commit 35e51e0 into main Feb 28, 2024
5 of 7 checks passed
@normanmaurer normanmaurer deleted the siglist branch February 28, 2024 16:51
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

Successfully merging this pull request may close these issues.

sys_siglist: symbol not found on alpine
2 participants