Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144800 - app-emulation/emul-linux-x86-compat-1.0-r[1-3] fails due to textrels
Summary: app-emulation/emul-linux-x86-compat-1.0-r[1-3] fails due to textrels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 17:54 UTC by Josh Nichols (RETIRED)
Modified: 2007-08-31 17:31 UTC (History)
2 users (show)

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


Attachments
scanelf-textrel.log (scanelf-textrel.log,1.10 KB, text/plain)
2006-08-22 17:55 UTC, Josh Nichols (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2006-08-22 17:54:52 UTC
With FEATURES="stricter", app-emulation/emul-linux-x86-compat-1.0-r1 fails with:

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 this file in your report:
 /var/tmp/portage/emul-linux-x86-compat-1.0-r1/temp/scanelf-textrel.log
TEXTREL emul/linux/x86/usr/lib/libstdc++.so.2.7.2.8
TEXTREL emul/linux/x86/usr/lib/libg++.so.2.7.2.8
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-08-22 17:55:27 UTC
Created attachment 94890 [details]
scanelf-textrel.log
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-08-22 17:56:54 UTC
A workaround that could be used until a new release is made would be to add the following to the ebuild:

QA_TEXTRELS_amd64="emul/linux/x86/usr/lib/libg++.so.2.7.2.8 emul/linux/x86/usr/lib/libstdc++.so.2.7.2.8"
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-29 18:50:12 UTC
Same QA notice here with -r3. If /usr/lib32/libstdc++.so.2.7.2.8 can't be rebuilt with the TEXTREL issue fixed, please QA_TEXTRELS_amd64 it.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-31 17:31:49 UTC
OK.  I fixed this in the ebuilds now.  Thanks for reporting it.