when emerging prelink on a ~x86 up-to-date computer, it segfault when doing the test in the testsuite subdir. i went into the compile folder , and looked into 1 of the tests ( all tests fail with segfault ): "../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=./ld-linux.so.2 -vm ./reloc1" this segfaults. i manually unpacked the prelink package and did a configure --enable-debug=3(i don't know how to do that with emerge), make, make check, which fails of course with segfault gdb outputs: ---------------------- (gdb) run Starting program: /home/gabor/src/prelink/src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=./ld-linux.so.2 -vm ./reloc1 Laying out 5 libraries in virtual address space 41000000-50000000 Assigned virtual address space slots for libraries: ./ld-linux.so.2 41000000-4101376c ./libc.so.6 41016000-4113dfe4 /lib/libpam.so 41140000-41147294 ./libdl.so.2 4114a000-4114cc84 ./reloc1lib1.so 4114f000-411508c8 ./reloc1lib2.so 41153000-411547b8 Program received signal SIGSEGV, Segmentation fault. prelink_ent (ent=0x80fd9b0) at doit.c:56 56 size_t movelen = 0; --------------------------------- i'll attach the strace output Reproducible: Always Steps to Reproduce: 1.emerge prelink Actual Results: make[2]: Entering directory `/gentoo-tmp/portage/portage/prelink-20021213/work/prelink/testsuite' ./reloc1.sh: line 12: 7580 Segmentation fault $PRELINK -vm ./reloc1 >>reloc1.log 2>&1 FAIL: reloc1.sh root@wintermute testsuite # emerge info Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="ftp.gentoo.no http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/gentoo-tmp/portage" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo guile sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt motif opengl mozilla -svga X gtk gtk2 gnome -alsa -java moznoirc moznomail moznocompose tcltk samba" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe" CXXFLAGS="-march=athlon-tbird -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Created attachment 8770 [details] strace output
still valid with latest prelink version=
= should be ? ;) if this is still valid reopen