cmake-3.16+ for AIX changes the default behavior of building a SHARED library which breaks AIX's build of libatomic, i.e., cmake-3.16+ builds SHARED as an archive of dynamic libraries. To fix it, we have to build libatomic.so.1 as MODULE which keeps libatomic.so.1 as an normal dynamic library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Can we move the common flags up and add -Wl, -G only > 3.16?