New comment by abenson on void-packages repository https://github.com/void-linux/void-packages/pull/38215#issuecomment-1193161963 Comment: This patch seems to fix `-musl`. ``` --- a/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp +++ b/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp @@ -51,7 +51,9 @@ #include #include // fork #include +#if defined(__GLIBC__) #include // backtrace +#endif const char *MosUtilitiesSpecificNext::m_szUserFeatureFile = USER_FEATURE_FILE; MOS_PUF_KEYLIST MosUtilitiesSpecificNext::m_ufKeyList = nullptr; @@ -2489,6 +2491,7 @@ MOS_FreeMemory(pTraceBuf); } } +#if defined(__GLIBC__) if (m_mosTraceFilter & (1ULL << TR_KEY_CALL_STACK)) { // reserve space for header and stack size field. @@ -2508,6 +2511,7 @@ size_t ret = write(MosUtilitiesSpecificNext::m_mosTraceFd, traceBuf, nLen); } } +#endif } return; } ```