Bug 20948 - libelf doesn't doesn't link properly with binutils 2.14.90.0.1-r1
|
Bug#:
20948
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: critical
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: release@gentoo.org
|
Reported By: gentoo@ekkes.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: libelf doesn't doesn't link properly with binutils 2.14.90.0.1-r1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-05-13 12:01 0000
|
Prelink doesn't compile with binutils 2.14.90.0-r1.
Reverting back to binutils 2.13.90.0.20-r1 solves the problem and prelink
compiles fine.
Reproducible: Always
Steps to Reproduce:
1.emerge binutils 2.14.90.0.1-r1
2.emerge prelink
3.
Actual Results:
Emerging prelink failed with the following error message:
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall
-march=pentium2 -O3 -pipe -fomit-frame-pointer -c `test -f 'arch-sh.c' || echo
'./'`arch-sh.c
source='arch-ia64.c' object='arch-ia64.o' libtool=no \
depfile='.deps/arch-ia64.Po' tmpdepfile='.deps/arch-ia64.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall
-march=pentium2 -O3 -pipe -fomit-frame-pointer -c `test -f 'arch-ia64.c' || echo
'./'`arch-ia64.c
/bin/sh ../libtool --mode=link gcc -Wall -march=pentium2 -O3 -pipe
-fomit-frame-pointer -o prelink -all-static cache.o conflict.o cxx.o data.o
doit.o dso.o dwarf2.o exec.o execle_open.o fptr.o get.o gather.o hashtab.o
layout.o main.o mdebug.o prelink.o reloc.o space.o stabs.o undo.o undoall.o
verify.o crc32.o arch-i386.o arch-alpha.o arch-ppc.o arch-sparc.o arch-sparc64.o
arch-x86_64.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o -lelf
mkdir .libs
gcc -Wall -march=pentium2 -O3 -pipe -fomit-frame-pointer -o prelink -static
cache.o conflict.o cxx.o data.o doit.o dso.o dwarf2.o exec.o execle_open.o
fptr.o get.o gather.o hashtab.o layout.o main.o mdebug.o prelink.o reloc.o
space.o stabs.o undo.o undoall.o verify.o crc32.o arch-i386.o arch-alpha.o
arch-ppc.o arch-sparc.o arch-sparc64.o arch-x86_64.o arch-s390.o arch-s390x.o
arch-arm.o arch-sh.o arch-ia64.o -lelf
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
prelink: hidden symbol `__libelf_version_initialized' isn't defined
collect2: ld returned 1 exit status
make[2]: *** [prelink] Error 1
make[2]: Leaving directory `/var/tmp/portage/prelink-20030217/work/prelink/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/prelink-20030217/work/prelink'
make: *** [all] Error 2
!!! ERROR: sys-devel/prelink-20030217 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! Make Failed
Expected Results:
It should compile prelink.
Here is the output of emerge info
Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ck6 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo/
http://gentoo.oregonstate.edu/
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/mnt/mp3/rescue/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt encode gif jpeg gnome libg++ libwww mikmod mmx mpeg
ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb slang
readline java guile X sdl tcpd pam ssl perl python esd imlib oggvorbis gtk qt
kde motif opengl -apm -arts -cups -gpm -svga -alsa -mozilla -spell gtk2 mbox
mysql pic usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg distcc"
*** Bug 20830 has been marked as a duplicate of this bug. ***
Added elfutils-0.76-r2 to portage, please test and report, it should all work
now
*** Bug 21003 has been marked as a duplicate of this bug. ***
On my machine prelink compiles fine with the new efutils (0.76-r2).
It looks like this bug is resolved and can be closed.
Works here also with no problems, closing bug.
Will move to x86 (stable) when the new binutils makes the move also.
*** Bug 21182 has been marked as a duplicate of this bug. ***
the ebuild for this has mysteriously disappeared along with a few other random
things... apparently like the fixed version of the nvidia ebuild. been syncing
since much earlier today and after an entire day and 4 syncs things are still
missing.
i should read changelogs more often. however i wasnt expecting something like
removing an ebuild because a fix 'isnt needed anymore'. Since the newer
binutils ebuild is marked with - for all archs (as in this is so unstable i
wouldnt even wish this on the craziest of tinkerers) could this fix be made
available or at least mention of the required binutils version made in the
changelog?
This bug is back ;-), because elfutils-0.76-r2 is removed from the portage
tree.
In the ChangeLog they mention that the fix is no longer needed with the new
combination of gcc/binutils 2.14.90.0.2.
That is not true. I get exactly the same error as before. I tried to compile
prelink-20030505 and prelink-20030217 and both fail with the same error
messages as they did before.
I'm using binutils 2.14.90.0.2, gcc 3.2.3-r1, elfutils 0.76-r1.
Please recommit elfutils 0.76-r2 to the tree again to solve this bug once and
for all.
This is the output of emerge info (as the system is updated and emerge info as
well):
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo
http://gentoo.oregonstate.edu
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/mnt/mp3/rescue/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt encode gif jpeg gnome libg++ libwww mikmod mmx
mpeg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb
slang readline java guile X sdl tcpd pam ssl perl python esd imlib oggvorbis
gtk qt kde motif opengl -apm -arts -cups -gpm -svga -alsa -mozilla -spell gtk2
mbox mysql pic usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg strict distcc"
Oh dear, silly me, I really am too iresponsible to be a dev... where is the wet
fish
I have added the files back in, thanks,
Cretin