Reputation: 31
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?
Upvotes: 3
Views: 1314
Reputation: 1484
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.
Upvotes: 1