Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925348 - x11-apps/igt-gpu-tools-1.27.1-r1 segment faults if linked with sys-devel/mold-2.4.0
Summary: x11-apps/igt-gpu-tools-1.27.1-r1 segment faults if linked with sys-devel/mold...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://patchwork.freedesktop.org/ser...
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-mold
  Show dependency tree
 
Reported: 2024-02-23 21:13 UTC by Alex Buell
Modified: 2024-03-26 18:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2024-02-23 21:13:36 UTC
Build x11-apps/igt-gpu-tools-1.27.1-r1 with sys-devel/mold-2.4.0 is successful but if you run 'intel_gpu_frequency', one of the programs, it will segfault. 

Linking without mold makes the issue go away.

Please add this as a blocker for bug #83404 (https://bugs.gentoo.org/830404) please.

Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2024-03-01 22:59:00 UTC
This is actually the same problem as slyfox debugged in bug 788625#c7-10.

I'll send his patch upstream.
Comment 2 Larry the Git Cow gentoo-dev 2024-03-26 18:02:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8103902549d8f730352acdfa341cfd04eed1b80

commit c8103902549d8f730352acdfa341cfd04eed1b80
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-03-26 17:59:15 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-03-26 18:01:58 +0000

    x11-apps/igt-gpu-tools: Add patch to work with -Wl,-z,now
    
    Closes: https://bugs.gentoo.org/788625
    Closes: https://bugs.gentoo.org/925348
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...ine-igt_x86_features-into-ifunc-resolvers.patch | 354 +++++++++++++++++++++
 ...ls-1.28.ebuild => igt-gpu-tools-1.28-r1.ebuild} |   4 +
 2 files changed, 358 insertions(+)