[Bug 2032624] Re: mumax3 test suite fails against glibc 2.38
Cory Bloor
2032624 at bugs.launchpad.net
Wed Apr 10 23:44:13 UTC 2024
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
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2032624
Title:
mumax3 test suite fails against glibc 2.38
Status in GLibC:
New
Status in aspectc++ package in Ubuntu:
New
Status in cbmc package in Ubuntu:
New
Status in cxref package in Ubuntu:
New
Status in gauche-c-wrapper package in Ubuntu:
New
Status in glibc package in Ubuntu:
Fix Released
Status in mumax3 package in Ubuntu:
New
Status in nvidia-nccl package in Ubuntu:
New
Status in pyvkfft package in Ubuntu:
New
Status in rocm-hipamd package in Ubuntu:
New
Status in stdgpu-contrib package in Ubuntu:
New
Bug description:
The autopkgtests fail with the following error:
921s nvcc -std=c++03 -ccbin=/usr/bin/cuda-gcc --compiler-options -Werror --compiler-options -Wall -Xptxas -O3 -ptx -arch=compute_50 -code=sm_50 copypadmul2.cu -o copypadmul2_50.ptx
922s /usr/include/aarch64-linux-gnu/bits/math-vector.h(30): error: identifier "__Float32x4_t" is undefined
922s
922s /usr/include/aarch64-linux-gnu/bits/math-vector.h(31): error: identifier "__Float64x2_t" is undefined
922s
922s /usr/include/aarch64-linux-gnu/bits/math-vector.h(40): error: identifier "__SVFloat32_t" is undefined
922s
922s /usr/include/aarch64-linux-gnu/bits/math-vector.h(41): error: identifier "__SVFloat64_t" is undefined
922s
922s /usr/include/aarch64-linux-gnu/bits/math-vector.h(42): error: identifier "__SVBool_t" is undefined
Marking as critical as this blocks the glibc transition.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/2032624/+subscriptions
More information about the foundations-bugs
mailing list