I'm trying to translate my code from centos to Alpine-docker , but Alpine really lack of some functions, like "backtrace" "pthread_rwlockattr_setkind_np" etc.. How could I use them in Alpine or are there any functions instead?
musl does not provide backtrace.
You may use an external libexecinfo library to provide it.
It was created exactly for the purpose of porting programs requiring glibc backtrace facility.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With