All HIP language libraries have been FTBFS on arm64 since the vector
types were added, so this issue has been blocking the libraries from
syncing for several months. The only ones that have been able to update
have been the ones that had always been broken on arm64 for other
reasons.

I've opened a merge request for the glibc package that fixes the issue
for rocm-hipamd, using the following patch:

```
--- glibc.orig/sysdeps/aarch64/fpu/bits/math-vector.h
+++ glibc/sysdeps/aarch64/fpu/bits/math-vector.h
@@ -101,7 +101,8 @@ typedef __attribute__ ((__neon_vector_ty
 typedef __attribute__ ((__neon_vector_type__ (2))) double __f64x2_t;
 #endif
 
-#if __GNUC_PREREQ(10, 0) || __glibc_clang_prereq(11, 0)
+#if (__GNUC_PREREQ(10, 0) || __glibc_clang_prereq(11, 0)) \
+  && !defined(__HIP_DEVICE_COMPILE__)
 #  define __SVE_VEC_MATH_SUPPORTED
 typedef __SVFloat32_t __sv_f32_t;
 typedef __SVFloat64_t __sv_f64_t;
```

I think the only real alternative would be to remove the arm64 build of
rocm-hipamd from the archive. The existing ROCm libraries in noble all
FTBFS on arm64, but the versions that successfully built on arm64 with
older copies of glibc are blocking transitions from proposed to release.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2032624

Title:
  mumax3 test suite fails against glibc 2.38

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/2032624/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to