Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 708861 Details for
Bug 788625
x11-apps/igt-gpu-tools-1.25: segfault while dynamic loading with -Wl,z-,now or LD_BIND_NOW=1 (IFUNC refers to not yet initialized GOT)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Force lazy binding
always-lazybind.patch (text/plain), 868 bytes, created by
Nekun
on 2021-05-16 06:10:21 UTC
(
hide
)
Description:
Force lazy binding
Filename:
MIME Type:
Creator:
Nekun
Created:
2021-05-16 06:10:21 UTC
Size:
868 bytes
patch
obsolete
>diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild >index 6bb31b86e9f..1fe2f4fe6ac 100644 >--- a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild >+++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild >@@ -7,7 +7,7 @@ if [[ ${PV} = *9999* ]]; then > GIT_ECLASS="git-r3" > fi > >-inherit ${GIT_ECLASS} meson >+inherit ${GIT_ECLASS} meson flag-o-matic > > DESCRIPTION="Intel GPU userland tools" > >@@ -75,6 +75,14 @@ DEPEND="${RDEPEND} > > PATCHES=( "${FILESDIR}/${PV}-python-3.9.patch" ) > >+pkg_setup() { >+ # Force lazy binding on hardened profiles to avoid SEGVs, see #788625 >+ filter-ldflags -Wl,-z,now >+ if ! is-ldflag -Wl,-z,lazy; then >+ append-ldflags -Wl,-z,lazy >+ fi >+} >+ > src_prepare() { > sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build > default_src_prepare
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 788625
:
706389
|
706392
|
706395
|
706398
|
706845
| 708861