Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120779 - pax-utils-0.1.8 causes portage to report false lazy bindings QA notices on every emerge
Summary: pax-utils-0.1.8 causes portage to report false lazy bindings QA notices on ev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-28 17:37 UTC by Ryan Hill (RETIRED)
Modified: 2006-01-29 07:55 UTC (History)
1 user (show)

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


Attachments
scanelf-found_bind.patch (scanelf-found_bind.patch,1.12 KB, patch)
2006-01-28 21:47 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2006-01-28 17:37:50 UTC
after updating to pax-utils-0.18, portage generates something like the following warning on every package emerged:

QA Notice: the following files are setXid, dyn linked, and using lazy bindings
 This combination is generally discouraged.  Try re-emerging the package:
 LDFLAGS='-Wl,-z,now' emerge pax-utils
LAZY usr/bin/pspax
LAZY usr/bin/scanelf
LAZY usr/bin/dumpelf
LAZY usr/lib/debug/usr/bin/scanelf.debug
LAZY usr/lib/debug/usr/bin/dumpelf.debug
LAZY usr/lib/debug/usr/bin/pspax.debug

the files are not setXid.  downgrading to 0.17-r1 or 0.14 fixes the issue, and going back to 0.18 introduces it again.


Portage 2.1_pre4 (default-linux/x86/2005.1, gcc-4.1.0-beta20060127, glibc-2.3.90.20060121-r0, 2.6.15-ck2 i686)
=================================================================
System uname: 2.6.15-ck2 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.91.0.5
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -g -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest distlocks parallel-fetch prelink sandbox sfperms splitdebug"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dirtyepic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa audiofile berkdb bzip2 cairo cdr crypt curl dbus dri dts dvd dvdr dvdread encode exif expat fam ffmpeg fftw firefox flac gdbm gif gnutls gtk gtk2 hal imlib java jikes joystick jpeg kde kdeenablefinal mad mmap mmx mp3 mpeg mpi ncurses nptl nsplugin ogg oggvorbis opengl pam pcmcia perl pic png python qt quicktime readline ruby sdl sndfile spell sqlite sse sse2 ssl svg tcpd threads truetype usb vcd vorbis win32codecs xine xml xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Comment 1 solar (RETIRED) gentoo-dev 2006-01-28 21:47:20 UTC
Created attachment 78388 [details, diff]
scanelf-found_bind.patch

Can you try with this patch please
Comment 2 SpanKY gentoo-dev 2006-01-28 23:25:42 UTC
we should mark all files in /usr/lib/debug as -x i think
Comment 3 SpanKY gentoo-dev 2006-01-29 06:34:01 UTC
Comment on attachment 78388 [details, diff]
scanelf-found_bind.patch

no, that isnt the source of the bug
Comment 4 SpanKY gentoo-dev 2006-01-29 06:36:43 UTC
fixed in cvs:
--- paxelf.c    24 Jan 2006 00:29:37 -0000      1.39
+++ paxelf.c    29 Jan 2006 14:35:59 -0000
@@ -443,8 +443,10 @@ elfobj *_readelf_fd(const char *filename
        ret = readelf_buffer(filename, buffer, len);
        if (ret == NULL)
                munmap(buffer, len);
-       else
+       else {
+               ret->fd = fd;
                ret->is_mmap = 1;
+       }

        return ret;
 }
Comment 5 solar (RETIRED) gentoo-dev 2006-01-29 07:55:31 UTC
works. patched in pax-utils-0.1.8-r1 with mikes bugfix.