Versions <=mozilla-firefox-1.5.0 built as proper ELF executables without any text relocations. .0.1 is about when this problem started showing up. Being that old versions built properly and new versions don't this is a regression and should block any stable markings until the root cause is found and squashed. scanelf -BTqR . in the ${S} reports about 6201 problems. These are your problem children. TEXTREL ./accessible/build/libaccessibility.so TEXTREL ./chrome/src/libchrome.so TEXTREL ./db/mork/build/libmork.so TEXTREL ./modules/libpr0n/build/libimglib2.so TEXTREL ./modules/libjar/libjar50.so TEXTREL ./modules/libpref/src/libpref.so TEXTREL ./modules/oji/src/liboji.so TEXTREL ./modules/plugin/base/src/libgkplugin.so TEXTREL ./modules/plugin/samples/default/unix/libnullplugin.so TEXTREL ./toolkit/components/build/libtoolkitcomps.so TEXTREL ./toolkit/components/commandlines/src/libcommandlines.so TEXTREL ./editor/composer/src/libcomposer.so TEXTREL ./editor/libeditor/build/libeditor.so TEXTREL ./editor/txmgr/src/libtxmgr.so TEXTREL ./caps/src/libcaps.so TEXTREL ./docshell/build/libdocshell.so TEXTREL ./embedding/browser/build/libwebbrwsr.so TEXTREL ./embedding/components/build/libembedcomponents.so TEXTREL ./intl/build/libi18n.so TEXTREL ./intl/uconv/src/libuconv.so TEXTREL ./intl/uconv/ucvmath/libucvmath.so TEXTREL ./js/src/liveconnect/libjsj.so TEXTREL ./js/src/xpconnect/src/libxpconnect.so TEXTREL ./js/src/libmozjs.so TEXTREL ./netwerk/build/libnecko.so TEXTREL ./rdf/build/librdf.so TEXTREL ./xpcom/build/libxpcom_core.so TEXTREL ./xpcom/obsolete/component/libxpcom_compat_c.so TEXTREL ./xpcom/obsolete/libxpcom_compat.so TEXTREL ./xpcom/tools/registry/regxpcom TEXTREL ./xpcom/typelib/xpidl/xpidl TEXTREL ./xpcom/typelib/xpt/tools/xpt_link TEXTREL ./xpcom/typelib/xpt/tools/xpt_dump TEXTREL ./xpinstall/cleanup/xpicleanup TEXTREL ./xpinstall/src/libxpinstall.so TEXTREL ./xpinstall/stub/libxpistub.so TEXTREL ./gfx/src/gtk/libgfx_gtk.so TEXTREL ./gfx/src/ps/libgfxps.so TEXTREL ./gfx/src/psshared/libgfxpsshar.so TEXTREL ./gfx/src/libgkgfx.so TEXTREL ./parser/htmlparser/src/libhtmlpars.so TEXTREL ./layout/build/libgklayout.so TEXTREL ./widget/src/gtk2/libwidget_gtk2.so TEXTREL ./widget/src/gtkxtbin/libgtkxtbin.so TEXTREL ./xpfe/appshell/src/libnsappshell.so TEXTREL ./xpfe/components/build/libappcomps.so TEXTREL ./xpfe/components/filepicker/src/libfileview.so Here is an easy way to tell if the package is clean. qlist -o mozilla-firefox| scanelf -Bqt -f - Use the -T flag for more verbose output.
Emerge info would be very useful right about now. On amd64 and x86 with glibc one textrel exist but never makes it into the root filesystem.
# Target packages. dev-libs/nss-3.11-r1 www-client/mozilla-firefox-1.5.0.1-r1 -debug -gnome -ipv6 -java -mozdevelop -xinerama -xprint tinderbox ~ # emerge info Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distclean distlocks genpkgindex sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/local/packages/hardened" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb bindist crypt dlloader hardened jpeg ncurses nls pam pic png readline ssl tcpd tiff userlocales x86 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 100% of the system is current stable with the sole exception of nss and mozilla-firefox. I'm not a firefox user. I was alerted to this problem and tested for myself to see what the results would be an I indeed was able to reproduce along with spb. This seems to happen with both hardened and non hardened compilers. We have been trying to track down the cause of it for most of the day but it's proving to be no easy task even on fast boxes. Any insights to what maybe has changed from between the two versions would be very helpful. Btw who is the author of? 002_firefox-1.5-visibility-check.patch.bz2
It is the smedberg's patch, also it is commited on head in the moment ref: https://bugzilla.mozilla.org/show_bug.cgi?id=307168 I have yesterday built firefox from cvs without any patches just to check this and the result is: /var/tmp/portage/mozilla-firefox-cvs-9999/temp/scanelf-textrel.log TEXTREL usr/lib/mozilla-firefox-cvs/libxpcom.so TEXTREL usr/lib/mozilla-firefox-cvs/libxpcom_compat.so TEXTREL usr/lib/mozilla-firefox-cvs/libgkgfx.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libxpctest.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libsatchel.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libbrowserdirprovider.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libuconv.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libgklayout.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libappcomps.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libauth.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libjar50.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libpippki.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libxpcomsample.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libnecko.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libimglib2.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libtkhstory.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libimgicon.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libxpconnect.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libfileview.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libautoconfig.so TEXTREL usr/lib/mozilla-firefox-cvs/components/librdf.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libpipboot.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libcookie.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libnkgnomevfs.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libpipnss.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libwebsrvcs.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libuniversalchardet.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libnsappshell.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libembedcomponents.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libwidget_gtk2.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libcaps.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libcommandlines.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libremoteservice.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libpref.so TEXTREL usr/lib/mozilla-firefox-cvs/components/liboji.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libxpinstall.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libgfxps.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libmozgnome.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libdocshell.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libeditor.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libcomposer.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libchrome.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libwebbrwsr.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libhtmlpars.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libsystem-pref.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libmork.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libgkgfxthebes.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libi18n.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libtypeaheadfind.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libbrowsercomps.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libtestdynamic.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libxmlextras.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libucvmath.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libsearchservice.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libtxmgr.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libtkautocomplete.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libxpcom_compat_c.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libwsproxytest.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libtoolkitcomps.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libgkplugin.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libaccessibility.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libMyService.so TEXTREL usr/lib/mozilla-firefox-cvs/components/libpermissions.so TEXTREL usr/lib/mozilla-firefox-cvs/libxpcom_core.so TEXTREL usr/lib/mozilla-firefox-cvs/libthebes.so TEXTREL usr/lib/mozilla-firefox-cvs/plugins/libnullplugin.so TEXTREL usr/lib/mozilla-firefox-cvs/libgfxpsshar.so TEXTREL usr/lib/mozilla-firefox-cvs/extensions/inspector@mozilla.org/components/libinspector.so TEXTREL usr/lib/mozilla-firefox-cvs/libjsj.so TEXTREL usr/lib/mozilla-firefox-cvs/libDebugRobot.so TEXTREL usr/lib/mozilla-firefox-cvs/libmozjs.so TEXTREL usr/lib/mozilla-firefox-cvs/libxul.so TEXTREL usr/lib/mozilla-firefox-cvs/libgtkxtbin.so TEXTREL usr/lib/mozilla-firefox-cvs/libsoftokn3.so TEXTREL usr/lib/mozilla-firefox-cvs/libxpistub.so the mozilla bug has reference to this debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=331460 so it seems that this particular patch is the cause of all the relocations
(In reply to comment #3) > the mozilla bug has reference to this debian bug > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=331460 > so it seems that this particular patch is the cause of all the relocations can we just disable all of this visibility thing until upstream (meaning both firefox and gcc) figure out what to do?
*** This bug has been marked as a duplicate of 114296 ***
will explain in just a min
mozilla-firefox-1.5.0.2-r1 has fixed textrels all the way around as far as we can tell. Compnerd reports no textrels at this time on x86. Thunderbird-1.5.0.2-r1 will make its way to the tree later tonight or tomorrow with the same fix. Binary packages will have to wait until fix is released and provided by upstream.