[ 8%] Built target dxfrw [ 14%] Built target mimalloc-static [ 34%] Built target solvespace-core [ 38%] Built target slvs [ 72%] Built target resources [ 72%] Linking CXX executable ../bin/solvespace /usr/bin/ld: ../bin/libmimalloc.a(stats.c.o): in function `mi_stat_process_info': stats.c:(.text+0xf8): undefined reference to `__atomic_load_8' /usr/bin/ld: stats.c:(.text+0x10c): undefined reference to `__atomic_load_8' /usr/bin/ld: ../bin/libmimalloc.a(stats.c.o): in function `mi_stat_add.constprop.14': stats.c:(.text+0x180): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: stats.c:(.text+0x190): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: stats.c:(.text+0x1a0): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: stats.c:(.text+0x1b0): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: ../bin/libmimalloc.a(stats.c.o): in function `mi_stats_add.constprop.13': stats.c:(.text+0x360): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: ../bin/libmimalloc.a(stats.c.o):stats.c:(.text+0x370): more undefined references to `__atomic_fetch_add_8' follow /usr/bin/ld: ../bin/libmimalloc.a(stats.c.o): in function `_mi_stat_increase': stats.c:(.text+0x1e64): undefined reference to `__atomic_load_8' /usr/bin/ld: stats.c:(.text+0x1e94): undefined reference to `__atomic_compare_exchange_8' /usr/bin/ld: stats.c:(.text+0x1eb0): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: ../bin/libmimalloc.a(stats.c.o): in function `_mi_stat_decrease': stats.c:(.text+0x1f7c): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: stats.c:(.text+0x1f94): undefined reference to `__atomic_load_8' /usr/bin/ld: stats.c:(.text+0x1fc4): undefined reference to `__atomic_compare_exchange_8' /usr/bin/ld: stats.c:(.text+0x1fe0): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: ../bin/libmimalloc.a(segment-cache.c.o): in function `mi_segment_cache_purge.isra.1': segment-cache.c:(.text+0x124): undefined reference to `__atomic_load_8' /usr/bin/ld: segment-cache.c:(.text+0x18c): undefined reference to `__atomic_load_8' /usr/bin/ld: segment-cache.c:(.text+0x1e4): undefined reference to `__atomic_store_8' /usr/bin/ld: ../bin/libmimalloc.a(segment-cache.c.o): in function `_mi_segment_cache_pop': segment-cache.c:(.text+0x2fc): undefined reference to `__atomic_store_8' /usr/bin/ld: ../bin/libmimalloc.a(segment-cache.c.o): in function `_mi_segment_cache_push': segment-cache.c:(.text+0x4a4): undefined reference to `__atomic_store_8' /usr/bin/ld: segment-cache.c:(.text+0x590): undefined reference to `__atomic_store_8' collect2: error: ld returned 1 exit status make[2]: *** [src/CMakeFiles/solvespace.dir/build.make:156: bin/solvespace] Error 1 make[1]: *** [CMakeFiles/Makefile2:367: src/CMakeFiles/solvespace.dir/all] Error 2 make: *** [Makefile:130: all] Error 2