Summary: | dev-lang/erlang-11.2.5 crypto:start() fails with hardened gcc-3.4.6 due to textrels | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wendall Cada <wendallc> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
scanelf-textrel log emerge log |
Description
Wendall Cada
2007-12-14 00:45:39 UTC
I just warned you that the bugzilla product was NOT for applications, but for problems with the bugs.g.o site ONLY. Do NOT use it for application bugs - consider this to be a warning of abuse. emerge --info please. Also attach the complete emerge.log (bzip it if it's too large). Created attachment 138496 [details]
emerge --info
The following thread talks about a similar issue with the same library, and the proposed fix (no patch): http://www.erlang.org/pipermail/erlang-patches/2007-November/000196.html Here is the debian bug and suggested fix: http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/2f574caa613761be/82c2e5c5034e65bd%2382c2e5c5034e65bd I'll attach the full build log. There is only a QA notice about issue with PIC in my emerge log. I'm attaching the scanelf-textrel log as well. From my build log: * 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/dev-lang/erlang-11.2.5/temp/scanelf-textrel.log * TEXTREL usr/lib/erlang/lib/crypto-1.5.1.1/priv/lib/crypto_drv.so Here is my qfile/scanelf output for the problem library: # qfile `scanelf -qylpF%F#t /usr/lib/erlang/lib/crypto-1.5.1.1/priv/lib/crypto_drv.so` dev-lang/erlang (/usr/lib/erlang/lib/crypto-1.5.1.1/priv/lib/crypto_drv.so) Created attachment 138504 [details]
scanelf-textrel log
Created attachment 138506 [details]
emerge log
Marking as dupe of Bug 200541 *** This bug has been marked as a duplicate of bug 200541 *** |