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

Bug 528202

Summary: media-libs/x265 has text relocations in /usr/lib32/libx265.so.31
Product: Gentoo Linux Reporter: Andrew John Hughes <gnu_andrew>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew John Hughes 2014-11-04 03:38:19 UTC
* QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function
 *  properly, if at all.
 *  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 *  Please include the following list of files in your report:
 * TEXTREL usr/lib32/libx265.so.31


Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2015-10-15 14:14:08 UTC
ommit 710c78a3b906aef5f9e3f8312436434c49b15c21
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Thu Oct 15 16:13:08 2015 +0200

    media-libs/x265: Add pic useflag to disable asm on x86.
    
    It is the best we can do unless upstream writes PIC safe x86 asm.
    https://bugs.gentoo.org/show_bug.cgi?id=528202


Profiles where this matters already force pic useflag I think.