[Bug 2083020] Re: Backport packages for 24.04.2 HWE stack
Andreas Hasenack
2083020 at bugs.launchpad.net
Thu Dec 12 20:20:52 UTC 2024
NEW review for spirv-llvm-translator-19.
TL;DR I'm just not sure if the symbols overrides is necessary.
This is a backport from oracular. The diff is:
diff --git a/debian/control b/debian/control
index d6f07f3..b6a6be7 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders:
Build-Depends: debhelper-compat (= 13),
dh-sequence-pkgkde-symbolshelper,
cmake,
- gcc (>= 4:14),
+ gcc (>= 4:13),
pkgconf,
spirv-headers (>= 1.6.1+1.3.275.0),
spirv-tools,
diff --git a/debian/rules b/debian/rules
index b561e76..8f5dc67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,9 @@ override_dh_auto_configure:
execute_after_dh_auto_install:
mv debian/tmp/usr/bin/llvm-spirv debian/tmp/usr/bin/llvm-spirv-$(LLVM_VERSION)
+override_dh_makeshlibs:
+ dh_makeshlibs -- -c0
+
# skip tests on big-endian architectures, uses excessive amount (> 40GB) of disk space
ignore_test_failures = $(if $(filter $(DEB_HOST_ARCH),amd64),,-)
override_dh_auto_test:
a) d/rules: ok
b) symbols overrides
I tried the build without it, and it also succeeded, and produced the same "noise". Why do we want "-c0", aka, "never fail"?
Quick build log diff between -c1 (default) and -c0:
@@ -328,10 +328,12 @@
dh_strip -a -O--builddir=build/
5a5f2cd7171a95fe8c33ac5dde26dcee8c4b8af0
3138cce2a32f2c8211d163a77b20b0a2bdf2b5c3
- dh_makeshlibs -a -O--builddir=build/
+ debian/rules override_dh_makeshlibs
+make[1]: Entering directory '/home/ubuntu/git/packages/spirv-llvm-translator-19/spirv-llvm-tra+dh_makeshlibs -- -c0
dpkg-gensymbols: warning: debian/libllvmspirvlib19.1/DEBIAN/symbols doesn't match completely d --- debian/libllvmspirvlib19.1.symbols (libllvmspirvlib19.1_19.1.0-1~ubuntu0.24.04.1_amd64)
-+++ dpkg-gensymbolsVmaWe_ 2024-12-12 19:53:44.982660011 +0000
++++ dpkg-gensymbolsWQmle_ 2024-12-12 19:46:22.107293376 +0000
@@ -39,7 +39,7 @@
_ZN4llvm39initializeSPIRVLowerConstExprLegacyPassERNS_12PassRegistryE at Base 13
_ZN4llvm39initializeSPIRVLowerOCLBlocksLegacyPassERNS_12PassRegistryE at Base 13
@@ -702,6 +704,7 @@
(optional=templinst)_ZZNKSt7__cxx1112regex_traitsIcE16lookup_classnameIPKcEENS1_10_RegexMask
(optional=templinst)_ZZNKSt7__cxx1112regex_traitsIcE18lookup_collatenameIPKcEENS_12basic_str
(optional=templinst)_ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EE
+make[1]: Leaving directory '/home/ubuntu/git/packages/spirv-llvm-translator-19/spirv-llvm-tran
dh_shlibdeps -a -O--builddir=build/
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
diversion by libc6 from: /lib64/ld-linux-x86-64.so.2
c) d/control is missing the maintainer update, since we now have an ubuntu suffix.
d) lintian is clean enough
W: spirv-llvm-translator-19 source: newer-standards-version 4.7.0 (current is 4.6.2)
W: llvm-spirv-19: no-manual-page [usr/bin/llvm-spirv-19]
I: spirv-llvm-translator-19 source: adopted-extended-field (in section for source) XSBC-Original-Maintainer [debian/control:5]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/2083020
Title:
Backport packages for 24.04.2 HWE stack
Status in libdrm package in Ubuntu:
Invalid
Status in llvm-toolchain-19 package in Ubuntu:
Invalid
Status in mesa package in Ubuntu:
Invalid
Status in meson-1.5 package in Ubuntu:
New
Status in spirv-llvm-translator-19 package in Ubuntu:
Invalid
Status in libdrm source package in Noble:
Fix Committed
Status in llvm-toolchain-19 source package in Noble:
Fix Committed
Status in mesa source package in Noble:
Confirmed
Status in meson-1.5 source package in Noble:
Fix Committed
Status in spirv-llvm-translator-19 source package in Noble:
In Progress
Bug description:
[Impact]
The graphics HWE stack from oracular needs to be backported for 24.04.2
libdrm
- build-dep of mesa
spirv-llvm-translator
- build-dep of llvm
- note that some symbols changed/added/dropped on certain archs due to older
gcc/toolchain, so dh_makeshlibs was overridden to not care about those
llvm-toolchain-19
- new source in noble
- build-dep of mesa
- required for new AMD platforms
- needs two uploads:
* 1st stage bootstrap build
* 2nd stage after spirv-llvm-translator has built against 1st stage
mesa
- new major release, last of the series (24.2.8) so it has accumulated all
the fixes upstream considered worthy for it
- new HW support, Lunar Lake, Battlemage..
meson-1.5
- needed by mesa
- Conflicts/Replaces meson, because otherwise all of the python lib should be
renamed, along with the includes etc so it's not a trivial amount of work
- tests disabled because four irrelevant ones fail for some reason, doesn't
affect the mesa backport
[Test case]
We want to cover at least 2-3 different, widely used and already previously supported GPU generations from both AMD and Intel which are supported by this release, as those are the ones that cover most bases; nouveau users tend to switch to the NVIDIA driver after installation. No need to test ancient GPU's supported by mesa-amber. And best to focus on the newer generations (~5y and newer) as the older ones are less likely to break at this point.
- AMD: Vega, Navi1x (RX5000*), Navi2x (RX6000*), Navi3x (RX7000*)
- Intel: gen9 (SKL/APL/KBL/CFL/WHL/CML), gen11 (ICL), gen12 (TGL/ADL/RKL/RPL/DG2)
Install the new packages and run some tests:
- check that the desktop is still using hw acceleration and hasn't fallen back to swrast/llvmpipe
- run freely available benchmarks that torture the GPU (Unigine Heaven/Valley/Superposition)
- run some games from Steam if possible
and in each case check that there is no gfx corruption happening or
worse.
Note that upstream releases have already been tested for OpenGL and
Vulkan conformance by their CI.
[Where things could go wrong]
This is a major update of Mesa, there could be regressions but we'll try to catch any with testing. And since it shares bugs with oracular, we'd already know if there are serious issues.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/2083020/+subscriptions
More information about the foundations-bugs
mailing list