musl does not have execinfo.h, and hence no implementation of . backtrace() . backtrace_symbols() for discussion about this, see https://www.openwall.com/lists/musl/2021/07/16/1 This patch was copied from community/chromium. -- --- a/vendor/v8/v8/src/codegen/external-reference-table.cc +++ b/vendor/v8/v8/src/codegen/external-reference-table.cc @@ -12,7 +12,9 @@ #if defined(DEBUG) && defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID) #define SYMBOLIZE_FUNCTION +#if defined(__GLIBC__) #include +#endif #include @@ -114,7 +116,7 @@ } const char* ExternalReferenceTable::ResolveSymbol(void* address) { -#ifdef SYMBOLIZE_FUNCTION +#if defined(SYMBOLIZE_FUNCTION) && defined(__GLIBC__) char** names = backtrace_symbols(&address, 1); const char* name = names[0]; // The array of names is malloc'ed. However, each name string is static