https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118142
--- Comment #2 from zhangtianhao (F) <zhangtianhao6 at huawei dot com> --- (In reply to Andrew Pinski from comment #1) > ILP32 glibc support is NOT upstream so I am not sure this is supported > either. LLVM has AEK_LSE128 which the vaulue is 1ULL << 52 in llvm/include/llvm/Support/AArch64TargetParser.h. It's support aarch64 ilp32. https://github.com/llvm/llvm-project/commit/7fea6f2e0e606e5339c3359568f680eaf64aa306#diff-5025305414dee5d39dae528f6d723345ee64f1fbfa3572881f29029a9daf4c10R83 Now libatomic builds have `-Werror` optional turned on by default,so it's failed. I think changing the value of HWCAP2_LSE128 is better than adding the --disable-werror configure option to build libatomic.