Some time ago, we received a report[1], that opencascade won't build against the `musl` libc implementation on Gentoo Linux. Because occt already supports various platforms with their respective libc implementations, I was wondering, if there will be support for lesser used libc implementations on linux as well?
/var/tmp/portage/sci-libs/opencascade-7.6.0-r2/work/occt-V7_6_0/src/Standard/Standard_StackTrace.cxx:33:12: fatal error: execinfo.h: No such file or directory
I guess the most straight-forward way would be adding missing `execinfo.h` header to musl library, which is though not yet completely portable, but already available across most platforms.
02Commenter-2
In the Haiku port that I am currently doing, I am using libexecinfo as a replacement.
For linking it, I used the CSF_psapi variable, which is "close enough", but maybe a new CSF variable should be introduced for this. There are commented out includes for other platforms in Standard_StackTrace.cxx ...