https://github.com/void-linux/void-packages/blob/ebf9ad105986ec27a9d8a794318df3016df2ee13/srcpkgs/faust/patches/faust-musl-stacktrace.patch diff --git a/compiler/errors/errormsg.cpp b/compiler/errors/errormsg.cpp index 6a0b0eb..969d372 100644 --- a/compiler/errors/errormsg.cpp +++ b/compiler/errors/errormsg.cpp @@ -47,8 +47,10 @@ void faustassertaux(bool cond, const string& file, int line) gGlobal->printCompilationOptions(str); } str << ")\n"; +#ifdef __GLIBC__ #ifndef EMCC stacktrace(str, 20); +#endif #endif throw faustexception(str.str()); }