[Bug 2032624]

Connor-baker 2032624 at bugs.launchpad.net
Thu Nov 2 13:41:35 UTC 2023


Adding some additional context:

We're running into this issue in Nixpkgs:
https://github.com/NixOS/nixpkgs/pull/264599#pullrequestreview-1707381631.

The GLIBC 2.38 update introduces intrinsics for `aarch64-linux` in
`math.h`.

NVCC (NVIDIA's CUDA Compiler) declares itself to be the same compiler as
its host compiler. This causes inclusion of unsupported `aarch64-linux`
intrinsics. NVCC is now unable to compile any CUDA file for
`aarch64-linux` because it does not support these intrinsics:
https://forums.developer.nvidia.com/t/nvcc-fails-to-build-with-arm-neon-
instructions-cpp-vs-cu/248355/2.

I'll be submitting the same patch I've made for Nixpkgs.

-- 
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 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:
  In Progress
Status in mumax3 package in Ubuntu:
  New
Status in nvidia-nccl 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