Package: libhsa-runtime-dev Version: 5.2.3-6 Severity: normal Tags: fixed-upstream X-Debbugs-Cc: [email protected], [email protected]
Dear Maintainer, As reported by Jon Chesterfield [1], > HSA 1.2 introduces an API call hsa_amd_memory_async_copy_on_engine > > /usr/include/hsa_ext_amd.h contains: > /* > > * - 1.0 - initial version > > * - 1.1 - dmabuf export > > * - 1.2 - hsa_amd_memory_async_copy_on_engine > * - 1.3 - HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_EXTENDED_SCOPE_FINE_GRAINED > pool > */ > #define HSA_AMD_INTERFACE_VERSION_MAJOR 1 > #define HSA_AMD_INTERFACE_VERSION_MINOR 3 > > > Openmp has decided to branch on those version macros to guess whether > hsa_amd_memory_async_copy_on_engine is available or not. That's sort > of the best of various bad options available. > > The shared library Debian packages doesn't export the > hsa_amd_memory_async_copy_on_engine symbol. Can check with nm > --dynamic | grep. > > Thus openmp's runtime now refuses to build. Locally 'm going to change > that 3 to a 1. I'm not sure what the right change to packaging is > beyond that the header should match the shared library. The hsa_amd_memory_async_copy_on_engine API call was added in ROCm 5.6. This issue could be fixed on unstable by updating rocr-runtime to the latest upstream release. Regards, Cory Bloor [1]: https://lists.debian.org/debian-ai/2023/12/msg00001.html -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-4-amd64 (SMP w/32 CPU threads; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages libhsa-runtime-dev depends on: ii libhsa-runtime64-1 5.2.3-6 libhsa-runtime-dev recommends no packages. libhsa-runtime-dev suggests no packages. -- no debconf information

