https://codeload.github.com/JetBrains/kotlin-native/tar.gz/v1.4.0
gcc version 10.1.0 (GCC)
openjdk version "1.8.0_252"
manjaro linux
when I try:
./gradlew dist distPlatformLibs
it errors with:
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/mutex:270:17: error: use of undeclared identifier 'pthread_mutex_clocklock'
{ return !pthread_mutex_clocklock(&_M_mutex, clockid, &__ts); }
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/mutex:336:17: error: use of undeclared identifier 'pthread_mutex_clocklock'
{ return !pthread_mutex_clocklock(&_M_mutex, clockid, &__ts); }
^
2 errors generated.