Hi,

On 2026-11-11 20:16, Aurelien Jarno wrote:
> Hi,
> 
> On 2026-11-09 15:00, Jeremy Bícha wrote:
> > Source: mesa
> > Version: 26.2.6-1
> > Severity: serious
> > Tags: forky ftbfs
> > Control: affects -1 src:qt6-pim
> > X-Debbugs-Cc: [email protected], [email protected]
> > User: [email protected]
> > Usertags: riscv64
> > 
> > mesa 26.2.6 appears to regress on riscv64 as seen in autopkgtests
> > triggered by mesa itself:
> > https://qa.debian.org/excuses.php?package=mesa
> > 
> > In qt6-pim's build tests, this error is seen on riscv64:
> > https://buildd.debian.org/status/logs.php?pkg=qt6-pim&arch=riscv64
> > 
> > 25: qt.glx: qglx_findConfig: Failed to finding matching FBConfig for
> > QSurfaceFormat(version 2.0, options
> > QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1,
> > redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize
> > -1, stencilBufferSize -1, samples -1, swapBehavior
> > QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace
> > QColorSpace(), profile  QSurfaceFormat::NoProfile)
> > 25: qt.glx: qglx_findConfig: Failed to finding matching FBConfig for
> > QSurfaceFormat(version 2.0, options
> > QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1,
> > redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize
> > -1, stencilBufferSize -1, samples -1, swapBehavior
> > QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace
> > QColorSpace(), profile  QSurfaceFormat::NoProfile)
> > 25: qt.glx: qglx_findConfig: Failed to finding matching FBConfig for
> > QSurfaceFormat(version 2.0, options
> > QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1,
> > redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize
> > -1, stencilBufferSize -1, samples -1, swapBehavior
> > QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace
> > QColorSpace(), profile  QSurfaceFormat::NoProfile)
> > 25: Could not initialize GLX
> > 
> > This error will likely cause build tests for many packages across
> > Debian to fail. In other words, FTBFS.
> 
> I confirm the issue. It is due to binutils 2.47.50.20261021-1 which 
> miscompiles mesa-libgallium. I still have to investigate if a newer 
> binutils snapshot fixes the issue, and if not try to understand if the 
> issue needs to be fixed on the mesa side or on the binutils side.

The problem is due to this upstream binutils commit [1]:

2c4ccb8103d73917d769cf6c35fa8b71424f20ca is the first 'bad' commit
commit 2c4ccb8103d73917d769cf6c35fa8b71424f20ca
Author: Tatsuyuki Ishi <[email protected]>
Date:   Wed Feb 21 02:55:56 2024 +0900

    RISC-V: Introduce TLSDESC relaxation.

I'll report upstream and see if I can find a workaround for the mesa 
package until it get fixed. 

Regards
Aurelien

[1] 
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=2c4ccb8103d73917d769cf6c35fa8b71424f20ca

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

Reply via email to