1 For musl libc the stackBottom for the main thread is recalculated
2 just as it is for Android. See: https://bugreports.qt.io/browse/QTBUG-44268
4 --- qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-02-26 10:34:34.000000000 +0100
5 +++ qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-04-04 21:52:43.780823136 +0200
7 #include <valgrind/memcheck.h>
10 +#if defined(Q_OS_LINUX) && !defined(__GLIBC__)
11 +#include <sys/syscall.h>
12 +#define gettid() syscall(SYS_gettid)