build fails on musl based systems
Closed this issue · 1 comments
karasz commented
On musl based systems we have three issues to overcome:
- musl implements the POSIX standard strerror_r which returns an int not a pointer to a string which GNU specific
- there is no pthread_yield in musl, only sched_yield. As far as I know on Linux pthread_yield will call sched_yield anyway
- there is no backtrace.
After these issues are resolved CppCommon and hence FastBinaryEncoding will build and pass the tests
alpinebuilder:/usr/src/fbe/bin# ./fbe-tests
===============================================================================
All tests passed (1003987 assertions in 45 test cases)
I can provide a pull requests if the changes are deemed worthy.
chronoxor commented
Should be fixed. Please check