Thread View: linux.debian.bugs.dist
5 messages
5 total messages
Started by Jeremy Bícha
Mon, 09 Nov 2026 14:10
Bug#1153522: mesa: 26.2.6 appears to regress on riscv64
Author: Jeremy Bícha
Date: Mon, 09 Nov 2026 14:10
Date: Mon, 09 Nov 2026 14:10
44 lines
4146 bytes
4146 bytes
Source: mesa Version: 26.2.6-1 Severity: serious Tags: forky ftbfs Control: affects -1 src:qt6-pim X-Debbugs-Cc: debian-riscv@lists.debian.org, tjaalton@debian.org User: debian-riscv@lists.debian.org 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. Thank you, Jeremy Bícha
Bug#1153522: mesa: 26.2.6 appears to regress on riscv64
Author: Aurelien Jarno
Date: Mon, 16 Nov 2026 05:40
Date: Mon, 16 Nov 2026 05:40
74 lines
5078 bytes
5078 bytes
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: debian-riscv@lists.debian.org, tjaalton@debian.org
> > User: debian-riscv@lists.debian.org
> > 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 <ishitatsuyuki@gmail.com>
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
aurelien@aurel32.net http://aurel32.net
Bug#1153522: mesa: 26.2.6 appears to regress on riscv64
Author: Aurelien Jarno
Date: Mon, 16 Nov 2026 18:00
Date: Mon, 16 Nov 2026 18:00
105 lines
6464 bytes
6464 bytes
control: clone -1 -2 control: reassign -2 src:binutils control: retitle -2 binutils: TLSDESC relaxation breaks Mesa libgallium on riscv64 control: forwarded -2 https://sourceware.org/bugzilla/show_bug.cgi?id=35009 control: affects -2 src:mesa control: tag -1 + patch Hi, On 2026-11-16 06:37, Aurelien Jarno wrote: > 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: debian-riscv@lists.debian.org, tjaalton@debian.org > > > User: debian-riscv@lists.debian.org > > > 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 <ishitatsuyuki@gmail.com> > 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. I have reported this bug in the binutils bugzilla: https://sourceware.org/bugzilla/show_bug.cgi?id=35009 Until this is fixed in binutils, the following workaround is enough to at least get the qt6-pim tests working again: --- mesa-26.2.6/debian/rules +++ mesa-26.2.6/debian/rules @@ -36,6 +36,10 @@ # Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 DEB_CFLAGS_MAINT_APPEND += -freorder-blocks-algorithm=simple DEB_CXXFLAGS_MAINT_APPEND += -freorder-blocks-algorithm=simple +else ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) + # Workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=35009 + DEB_CFLAGS_MAINT_APPEND += -mtls-dialect=trad + DEB_CXXFLAGS_MAINT_APPEND += -mtls-dialect=trad endif buildflags = $(shell \ DEB_CFLAGS_MAINT_APPEND='$(DEB_CFLAGS_MAINT_APPEND)' \ Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net
Bug#1153522: mesa: 26.2.6 appears to regress on riscv64
Author: Aurelien Jarno
Date: Mon, 16 Nov 2026 22:30
Date: Mon, 16 Nov 2026 22:30
121 lines
7132 bytes
7132 bytes
Hi, On 2026-11-16 18:52, Aurelien Jarno wrote: > Hi, > > On 2026-11-16 06:37, Aurelien Jarno wrote: > > 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: debian-riscv@lists.debian.org, tjaalton@debian.org > > > > User: debian-riscv@lists.debian.org > > > > 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 <ishitatsuyuki@gmail.com> > > 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. > > I have reported this bug in the binutils bugzilla: > https://sourceware.org/bugzilla/show_bug.cgi?id=35009 > > Until this is fixed in binutils, the following workaround is enough to > at least get the qt6-pim tests working again: > > --- mesa-26.2.6/debian/rules > +++ mesa-26.2.6/debian/rules > @@ -36,6 +36,10 @@ > # Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 > DEB_CFLAGS_MAINT_APPEND += -freorder-blocks-algorithm=simple > DEB_CXXFLAGS_MAINT_APPEND += -freorder-blocks-algorithm=simple > +else ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) > + # Workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=35009 > + DEB_CFLAGS_MAINT_APPEND += -mtls-dialect=trad > + DEB_CXXFLAGS_MAINT_APPEND += -mtls-dialect=trad > endif > buildflags = $(shell \ > DEB_CFLAGS_MAINT_APPEND='$(DEB_CFLAGS_MAINT_APPEND)' \ As pointed out in the binutils bug tracker this workaround is definitely correct as it was the value used with binutils 2.47-6 [1]: Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILE Checking if "-mtls-dialect=desc" runs: NO (127) With binutils 2.47.50.20261021-1 this got change to [2]: Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILE Checking if "-mtls-dialect=desc" runs: YES Regards Aurelien [1] https://buildd.debian.org/status/fetch.php?pkg=mesa&arch=riscv64&ver=26.2.5-1&stamp=1792602107&raw=0 [2] https://buildd.debian.org/status/fetch.php?pkg=mesa&arch=riscv64&ver=26.2.6-1&stamp=1793899311&raw=0 -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net
Bug#1153522: mesa: 26.2.6 appears to regress on riscv64
Author: Aurelien Jarno
Date: Tue, 17 Nov 2026 05:40
Date: Tue, 17 Nov 2026 05:40
135 lines
7649 bytes
7649 bytes
control: forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/45593 Hi, On 2026-11-16 23:27, Aurelien Jarno wrote: > Hi, > > On 2026-11-16 18:52, Aurelien Jarno wrote: > > Hi, > > > > On 2026-11-16 06:37, Aurelien Jarno wrote: > > > 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: debian-riscv@lists.debian.org, tjaalton@debian.org > > > > > User: debian-riscv@lists.debian.org > > > > > 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 <ishitatsuyuki@gmail.com> > > > 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. > > > > I have reported this bug in the binutils bugzilla: > > https://sourceware.org/bugzilla/show_bug.cgi?id=35009 > > > > Until this is fixed in binutils, the following workaround is enough to > > at least get the qt6-pim tests working again: > > > > --- mesa-26.2.6/debian/rules > > +++ mesa-26.2.6/debian/rules > > @@ -36,6 +36,10 @@ > > # Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 > > DEB_CFLAGS_MAINT_APPEND += -freorder-blocks-algorithm=simple > > DEB_CXXFLAGS_MAINT_APPEND += -freorder-blocks-algorithm=simple > > +else ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) > > + # Workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=35009 > > + DEB_CFLAGS_MAINT_APPEND += -mtls-dialect=trad > > + DEB_CXXFLAGS_MAINT_APPEND += -mtls-dialect=trad > > endif > > buildflags = $(shell \ > > DEB_CFLAGS_MAINT_APPEND='$(DEB_CFLAGS_MAINT_APPEND)' \ > > As pointed out in the binutils bug tracker this workaround is definitely > correct as it was the value used with binutils 2.47-6 [1]: > > Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILE > Checking if "-mtls-dialect=desc" runs: NO (127) > > With binutils 2.47.50.20261021-1 this got change to [2]: > > Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILE > Checking if "-mtls-dialect=desc" runs: YES Note that while the workaround is perfectly fine, this appears to not be a binutils issue after all, but a wrong detection of TLSDESC availability in Mesa. A fix is proposed here: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/45593 I have tested that it fixes the issue. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads