control: reassign -1 src:llvm-toolchain-18
control: forcemerge 1080493 1080435
control: affects -1 src:gtk4
control: affects -1 src: lomiri-online-accounts

Hi,

On 2024-09-04 10:10, Eric Long wrote:
> Hi Simon,
> 
> On Wed, 4 Sep 2024 00:36:05 +0100 Simon McVittie <s...@debian.org> wrote:
> > Source: mesa
> > Version: 24.2.1-3
> > Severity: important
> > Justification: FTBFS in previously working package
> > User: debian-ri...@lists.debian.org
> > Usertags: riscv64
> > X-Debbugs-Cc: debian-ri...@lists.debian.org, g...@packages.debian.org, 
> > llvm-toolchain...@packages.debian.org
> > Control: affects -1 + src:gtk4
> > 
> > gtk4 previously passed most of its build-time tests on riscv64, but it's
> > now failing on the riscv64 porterbox ricci. I initially thought this was a
> > regression in 4.15.x (in experimental) but in fact I can reproduce the
> > failure in the previously-working version in unstable. I think this might
> > be related to the addition of ORC JIT support in the new Mesa.
> > 
> > Steps to reproduce:
> > * set up a chroot with gtk4 build-dependencies
> > * build gtk4 (it will fail build-time tests)
> > * To run one of the affected tests:
> >   schroot -c $chroot -r -- \
> >   env GDK_DEBUG=opengl,vulkan,gl-debug GDK_BACKEND=x11 \
> >   xvfb-run -a \
> >   debian/build/deb/testsuite/gdk/memorytexture --tap -k
> > 
> > Expected result: test passes
> > 
> > Actual result:
> > > JIT session error: No HI20 PCREL relocation type be found for LO12 PCREL 
> > > relocation type
> > > Failed to materialize symbols: { (fs681_variant0_14, { 
> > > fs_variant_linear2, fs_variant_partial }) }
> > and the program exits with status 1.
> 
> AFAIK we need to backport a commit [1] to LLVM to fix the issue. Moreover, a
> small memory leak related to ORCJIT can be fixed by another one [2].
> 
> [1]: 
> https://github.com/llvm/llvm-project/commit/78f39dc70c1feaea5130b90ea3fb7b3ddd62446b
> [2]: 
> https://github.com/llvm/llvm-project/commit/3d67cf681a728e4cf0ab9947c0dd07539dda8b74

Thanks for the pointer. Bo Yu has submitted bug #1080493 with this patch
and provided me a build of llvm-toolchain-18 with these patches. I can
confirm that it fixes both gtk4 and lomiri-online-accounts.

In addition the switch to orcjit means that we do not have to ignore the
test label-shadows in gtk4 anymore.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net

Reply via email to