[extra-cmake-modules] [Bug 444247] CheckAtomic doesn't set LLVM_COMPILER_IS_GCC_COMPATIBLE and fails check on Apple Clang

sh_zam bugzilla_noreply at kde.org
Thu Oct 28 15:44:13 BST 2021


https://bugs.kde.org/show_bug.cgi?id=444247

--- Comment #1 from sh_zam <shzam at sdf.org> ---
Git commit 0b755beaa1fdba03d38f887b93a15a58fc0830c7 by Sharaf Zaman.
Committed on 28/10/2021 at 14:42.
Pushed by szaman into branch 'master'.

Fix build on linux clang targets

In CheckAtomic.cmake we include is_lock_free because these routines
don't seem to be included in the compiler's "simple atomics". This
triggers a failure in clang toolchain, forcing it to link libatomic.

Resulting in error: ld.lld: error: undefined symbol: __atomic_is_lock_free
Related: bug 444547

M  +1    -0    cmake/modules/CheckAtomic.cmake
M  +2    -4    libs/image/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/0b755beaa1fdba03d38f887b93a15a58fc0830c7

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list