The rdepends for rocm-hipamd are nearly all FTBFS due to the addition of
'cf-protection=return' and 'cf-protection=branch' to the CXXFLAGS. This
is not a problem introduced by rocm-hipamd 5.7.1, but occurs with the
current rocm-hipamd 5.2.3 as well. As such, this update has no effect on
whether the rdepends successfully build. They will fail either way.

The autopkgtests for rocm-hipamd's rdepends all depend on GPU hardware
and cannot be executed using the standard autopkgtest binaries. However,
the rdepends nearly all package their tests and I've manually executed a
large subset of the autopkgtest suite on my Radeon VII GPU. The test
logs are attached as "noble-gfx906-hip-5.7.1.txt.zst". There are a
couple failures, but I still regard these results as a pass. The tests
for the ROCm math libraries are very fiddly and they behave slightly
differently on each of the twenty seven different GPU architectures that
are enabled by this package. When 99.9999% of them pass, you're doing
pretty good.

The upstream rocm-hipamd package is now on 5.7.1-3, so I suppose that
should be the target version for the sync.

** Attachment added: "test log for rdepends"
   
https://bugs.launchpad.net/ubuntu/+source/rocm-hipamd/+bug/2058606/+attachment/5759824/+files/noble-gfx906-hip-5.7.1.txt.zst

** Description changed:

- Please sync rocm-hipamd 5.7.1-2 (universe) from Debian unstable (main)
+ Please sync rocm-hipamd 5.7.1-3 (universe) from Debian unstable (main)
  
  This sync requires a FeatureFreeze exception
  
  # Why a new upstream version is necessary
  
  The Ubuntu Noble FeatureFreeze occurred while the ROCm stack on Debian
  was transitioning from ROCm 5.2 with clang-15 to ROCm 5.7 with clang-17.
  This has left the ROCm stack on Ubuntu Noble with a few problems:
  
  1. Some packages in noble are based on clang-15 while others are based
  on clang-17. This mix of versions is not supported upstream and packages
  that depend on run-time compilation (such as rocfft) appear to be
  entirely broken. Noble will need to move rocm-hipamd to clang-17 to get
  all packages on one build toolchain, and the rocm-hipamd version is
  closely coupled to the compiler version.
  
  2. The current version of rocm-hipamd (5.2.3) in noble is several years
  old and lacks support for modern hardware, such as the Radeon 7000
  series of GPUs. As this is a library used for High-Performance Computing
  and AI, support for modern hardware is very important.
  
  3. The current rocm-hipamd package depends on the rocm-device-libs
  binary package, which is not provided by any source package in noble.
  Ubuntu noble needs to complete the transition from rocm-device-libs to
  rocm-device-libs-17 and this requires updating rocm-hipamd to a newer
  upstream version.
  
  4. The upstream ROCm 5.7.1 version was the last release of the ROCm 5
  series. While both ROCm 5.2 and ROCm 5.7 are no longer supported
  upstream, there will be a much larger community using ROCm 5.7.
- Knowledge sharing withing this larger community will be beneficial for
+ Knowledge sharing within this larger community will be beneficial for
  the long-term maintenance of the noble release.
  
  5. The versions of ROCm components included on Ubuntu Noble are very
  inconsistent. This FeatureFreeze exception is one of several that I will
  be filing in an attempt to get as much of the ROCm stack as possible
  onto the upstream 5.7.1 release. The narrower the range of versions, the
  better. Ubuntu does not have significant automated testing for the AMD
  GPU libraries, so it is safer to use versions that closely correspond to
  what upstream and Debian are using (as both do significant testing on
  these libraries).
  
  I will be filing FeatureFreeze exceptions requests for rocrand, rocprim,
  rocthrust, rocfft, hipfft, rocsparse and hipsparse to get them all onto
  5.7.1.

** Summary changed:

- Sync rocm-hipamd 5.7.1-2 (universe) from Debian unstable (main)
+ Sync rocm-hipamd 5.7.1-3 (universe) from Debian unstable (main)

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

Title:
  Sync rocm-hipamd 5.7.1-3 (universe) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocm-hipamd/+bug/2058606/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to