control: clone -1 -2 control: reassign -2 src:llvm-toolchain-20 control: retitle -2 llvm-toolchain-20: FTBFS with CMake 4: ADD_LIBRARY called with SHARED option but the target platform does not support dynamic linking
On 2025-11-22 00:12, Timo Röhling wrote: > Hi, > > * Matthias Klose <[email protected]> [2025-10-25 19:25]: > > I haven't seen any upstream support for cmake 4.x, not even in the trunk > > (llvm-toolchain-snapshot). So if you upgrade to cmake 4.x, all LLVM > > package stay unbuildable for some unseen time. What do you suggest? > > The actual bug is that LLVM {17,18,19} try to build shared libraries for > WebAssembly, which does not support them. CMP0164 [1] turned this into a > fatal error, and CMake 4 implicitly activates this policy in export files > [2], which is why this became a FTBFS. It also affects llvm-toolchain-20 (currently only in experimental). Cloning the bug. -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://aurel32.net
signature.asc
Description: PGP signature

