Summary: | dev-qt/qtbase-6.6.1-r4: build failure on x32 ABI | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrii Batyiev <batyiev> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | batyiev, ionen, jospezial |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugreports.qt.io/browse/QTBUG-122674 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 393673 | ||
Attachments: |
build log
proposed fix |
Description
Andrii Batyiev
2024-02-20 19:52:53 UTC
Created attachment 885545 [details]
build log
Created attachment 885709 [details, diff]
proposed fix
Qt tries to access TLS area directly (bypassing pthread library) when running on few selected architectures (otherwise it uses pthread_self() ).
This patch implements such access for x32 ABI (where pthread_t is 32 bit).
Thanks, ideally be nice if it was sent upstream too, albeit unsure if they care at all to accept x32 fixes. An alternate (lazy) fix could've been to just avoid the asm path and let it fallback to the C-only variant. Anyhow, guess I can add that patch here. Not that I've tested or familiar with much, but it's harmless on non-x32. Plus I'd rather see it fixed than mask qt6 on x32 and then have every packages that use qt6 also need to add masks there like they already do for qtwebengine:* :) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d91e3b73346a76fd065865bc70c4b63808e8ee3 commit 5d91e3b73346a76fd065865bc70c4b63808e8ee3 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-02-22 14:42:53 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-02-22 15:12:56 +0000 dev-qt/qtbase: fix build with x32 abi Closes: https://bugs.gentoo.org/925103 Thanks-to: Andrii Batyiev Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtbase/files/qtbase-6.6.2-x32abi.patch | 13 +++++++++++++ dev-qt/qtbase/qtbase-6.6.2.ebuild | 1 + dev-qt/qtbase/qtbase-6.6.9999.ebuild | 1 + dev-qt/qtbase/qtbase-6.7.9999.ebuild | 1 + dev-qt/qtbase/qtbase-6.9999.ebuild | 1 + 5 files changed, 17 insertions(+) https://bugreports.qt.io/browse/QTBUG-122674 Please remove the patch from the live ebuilds. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0226bb33e74851ac96f181ae9bf43f60e7e991c commit e0226bb33e74851ac96f181ae9bf43f60e7e991c Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-02-29 02:05:07 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-02-29 02:06:02 +0000 dev-qt/qtbase: drop upstreamed x32 fix from live Thanks for getting this fixed upstream. Bug: https://bugs.gentoo.org/925103 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtbase/qtbase-6.6.9999.ebuild | 1 - dev-qt/qtbase/qtbase-6.7.9999.ebuild | 1 - dev-qt/qtbase/qtbase-6.9999.ebuild | 1 - 3 files changed, 3 deletions(-) |