Hi, looks like static libraries that are build with LTO causes errors when something else is linking to that static libraries. See here https://github.com/OpenMandrivaAssociation/util-linux/commit/85926d8438f588b70c34c3833606429b3d4172fa
Currently optflags passes -flto to LLVM/clang which means clang emits Fat LTO symbols so ar should handle it. According to this https://github.com/mesonbuild/meson/issues/1646 it seems like binutils's ar is broken and does not handle LTO. There are three options: - ar wrapper script does not work well, so it still uses ar from binutils instead of llvm-ar or gcc-ar - autofoo scripts from build package prefers/hardcodes usage of ar from binutils - issue is outdated because ar wrapper got fixed ( https://github.com/OpenMandrivaAssociation/binutils/commit/70e0b69e583a2406c3377173de14d1e6d127bc15 )
