From: Arnau Bria <arnau@emergetux.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Locate and Fix .text Relocations (TEXTRELs)
Date: Fri, 14 Jul 2006 09:57:41 +0200 [thread overview]
Message-ID: <20060714095741.7b36081c@lx-arnau.pic.es> (raw)
In-Reply-To: <7573e9640607131112y44ec99aand717c2b638005bb4@mail.gmail.com>
On Thu, 13 Jul 2006 11:12:43 -0700
Richard Fish wrote:
> On 7/13/06, Arnau Bria <arnau@emergetux.net> wrote:
> > Then, after akregator compilation, I was looking for some warning
> > and I found a message that toke me to
>
> I suggest to post the actual warning message[s], and your emerge
> --info output.
Here we go! (sorry for not wrapping the text, but I tough I could be
more readable in this format)
# emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mtune=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa amarok apache2 apm avi berkdb bitmap-fonts ccache cdr cgi clamav clamd crypt cups dlloader dri encode firefox gdbm gpm gstreamer gtk2 imap imlib jpeg kde kerberosi libwww mad mikmod motif mp3 mpeg mpeg2 mplayer ncurses nls nptl ogg opengl pcre pdflib perl png python qt qt3 qt4 readline sasl sdl session spamassassin spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userlocales vorbis win32codecs wmv xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_i915 video_cards_vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
And here's akregator en lines from compilation... as it doesn't work, I
looked for any note in the output and found this:
>>> Completed installing akregator-3.5.2
into /var/tmp/portage/akregator-3.5.2/image/
man:
strip: i686-pc-linux-gnu-strip --strip-unneeded
usr/kde/3.5/lib/libakregatorprivate.so
usr/kde/3.5/lib/kde3/libakregatorpart.so
usr/kde/3.5/lib/kde3/libakregator_mk4storage_plugin.so
usr/kde/3.5/lib/kde3/libkontact_akregator.so
usr/kde/3.5/bin/akregator
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/akregator-3.5.2/temp/scanelf-textrel.log
"TEXTREL usr/kde/3.5/lib/libakregatorprivate.so"
"TEXTREL usr/kde/3.5/lib/kde3/libakregatorpart.so"
"TEXTREL usr/kde/3.5/lib/kde3/libakregator_mk4storage_plugin.so"
"TEXTREL usr/kde/3.5/lib/kde3/libkontact_akregator.so"
>>> Merging kde-base/akregator-3.5.2 to /
--- /usr/
--- /usr/kde/
--- /usr/kde/3.5/
--- /usr/kde/3.5/share/
[...]
>>> Original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> kde-base/akregator-3.5.2 merged.
>>> No packages selected for removal by clean.
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
> -Richard
Thanks!
--
Arnau Bria
http://blog.emergetux.net
La vida es una aplastante derrota tras otra hasta que
acabas deseando que se muera Flanders.
~Homer J. Simpson~
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-07-14 8:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 7:43 [gentoo-user] Locate and Fix .text Relocations (TEXTRELs) Arnau Bria
2006-07-13 9:22 ` Arnau Bria
2006-07-13 18:12 ` Richard Fish
2006-07-14 7:57 ` Arnau Bria [this message]
2006-07-14 8:30 ` Richard Fish
2006-07-14 9:18 ` Arnau Bria
2006-07-14 11:03 ` Graham Murray
2006-07-14 16:43 ` Richard Fish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060714095741.7b36081c@lx-arnau.pic.es \
--to=arnau@emergetux.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox