Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925348

Summary: x11-apps/igt-gpu-tools-1.27.1-r1 segment faults if linked with sys-devel/mold-2.4.0
Product: Gentoo Linux Reporter: Alex Buell <alex.buell>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://patchwork.freedesktop.org/series/130696/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=788625
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 830404    

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(+)