Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpkg: libepoxy #1397

Merged
merged 1 commit into from
Jun 14, 2022
Merged

addpkg: libepoxy #1397

merged 1 commit into from
Jun 14, 2022

Conversation

piggynl
Copy link
Contributor

@piggynl piggynl commented Jun 14, 2022

This patch fixes a wrapper for dlsym() in test, which hard-coded the glibc ABI version that libdl uses.

Upstream PR: anholt/libepoxy#270

-source=("git+https://github.com/anholt/libepoxy#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://github.com/anholt/libepoxy#commit=$_commit"
+ "$pkgname-dlwrap-riscv64.patch::https://github.com/anholt/libepoxy/pull/270.patch")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering, are similar patches necessary for other glibc versions, e.g. 2.26?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. libdl has different glibc ABI version for each architecture (e.g. rv64 has the version GLIBC_2.27, see sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist in glibc's source), and it's not likely to update frequently. libepoxy uses a wrapper for dlsym(), which search through the hard-coded versions (link) to resolve dlsym() provided by libdl.

@felixonmars felixonmars merged commit 09e5e90 into felixonmars:master Jun 14, 2022
@piggynl piggynl deleted the libepoxy branch June 14, 2022 10:17
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.

3 participants