Skip to content

(release/25.2) hw/xfree86/glamor_egl: do not link staticaly glx library - #3471

Open
metux wants to merge 2 commits into
release/25.2from
pr/release/25.2-hw-xfree86-glamor-egl-do-not-link-staticaly-glx-library_2026-08-03_13-37-54
Open

(release/25.2) hw/xfree86/glamor_egl: do not link staticaly glx library#3471
metux wants to merge 2 commits into
release/25.2from
pr/release/25.2-hw-xfree86-glamor-egl-do-not-link-staticaly-glx-library_2026-08-03_13-37-54

Conversation

@metux

@metux metux commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Backport dashboard

Master: #3213 ✅ merged

Branch PR Status
release/25.2 #3471 ⬜ open ← this PR

Auto-generated backport dashboard — links the source master PR and sibling backports with their merge status.


Backport of #3213 to release/25.2.

Backports both commits of master PR #3213 (merge 6c75731752): the
meson link_with fix (drop libxserver_glx) and its prerequisite commit
9b74a3a7f9a2 that _X_EXPORTs the GLX symbols glamor needs
(Xext/glx/extension_string.h, glxscreens.h, glxserver.h, glxutil.h,
include/glx_extinit.h).


Commit a987fc7 linked glx library
statically, which leaded dublicated glx extension symbols in glx.so and
glamoregl.so libraries. This commit do not link glx directly.

Signed-off-by: Tautvis gtautvis@gmail.com
(cherry picked from commit 6c75731)

@metux metux self-assigned this Aug 3, 2026
@metux
metux requested a review from a team August 3, 2026 11:38
In a987fc7 commit glx library is
statically linked which makes all glx library variables dublicated in
glx.so and glamoregl.so files and leads 'split-brain' problem where same
symbols exist in different depending on context (this evident when it
called using functions with static attribute).

This patch exports neccesary glx symbols for glamor library.

Signed-off-by: Tautvis <gtautvis@gmail.com>
(cherry picked from commit 9b74a3a)
Commit a987fc7 linked glx library
statically, which leaded dublicated glx extension symbols in glx.so and
glamoregl.so libraries. This commit do not link glx directly.

Signed-off-by: Tautvis <gtautvis@gmail.com>
(cherry picked from commit 6c75731)
@metux
metux force-pushed the pr/release/25.2-hw-xfree86-glamor-egl-do-not-link-staticaly-glx-library_2026-08-03_13-37-54 branch from e983062 to 601ac0d Compare August 3, 2026 11:45
metux pushed a commit that referenced this pull request Aug 3, 2026
In a987fc7 commit glx library is
statically linked which makes all glx library variables dublicated in
glx.so and glamoregl.so files and leads 'split-brain' problem where same
symbols exist in different depending on context (this evident when it
called using functions with static attribute).

This patch exports neccesary glx symbols for glamor library.

Signed-off-by: Tautvis <gtautvis@gmail.com>
(cherry picked from commit 9b74a3a)
PR: #3471
metux pushed a commit that referenced this pull request Aug 3, 2026
Commit a987fc7 linked glx library
statically, which leaded dublicated glx extension symbols in glx.so and
glamoregl.so libraries. This commit do not link glx directly.

Signed-off-by: Tautvis <gtautvis@gmail.com>
(cherry picked from commit 6c75731)
PR: #3471
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants