Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 20948
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Release Team <release@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Arno Ekkes <gentoo@ekkes.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
elfutils-0.76-hidden.diff elfutils-0.76-hidden.diff patch Stefan Jones (RETIRED) 2003-05-14 06:30 0000 789 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 20948 depends on: Show dependency tree
Bug 20948 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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"

------- Comment #1 From Stefan Jones (RETIRED) 2003-05-13 13:41:08 0000 -------
*** Bug 20830 has been marked as a duplicate of this bug. ***

------- Comment #2 From Stefan Jones (RETIRED) 2003-05-13 14:12:00 0000 -------
This describes the problem, looks we need to mask binutils or get gcc patched
or upgraded to 3.3!

http://gcc.gnu.org/ml/gcc/2003-04/msg01410.html

------- Comment #3 From Stefan Jones (RETIRED) 2003-05-14 06:30:38 0000 -------
Created an attachment (id=11962) [details]
elfutils-0.76-hidden.diff

This fixes the problem for me, recompile elfutils with the patch and it works!

------- Comment #4 From Stefan Jones (RETIRED) 2003-05-14 06:41:48 0000 -------
Added elfutils-0.76-r2 to portage, please test and report, it should all work
now

------- Comment #5 From Stefan Jones (RETIRED) 2003-05-14 15:50:38 0000 -------
*** Bug 21003 has been marked as a duplicate of this bug. ***

------- Comment #6 From Arno Ekkes 2003-05-14 18:56:24 0000 -------
On my machine prelink compiles fine with the new efutils (0.76-r2).
It looks like this bug is resolved and can be closed.

------- Comment #7 From Stefan Jones (RETIRED) 2003-05-15 07:01:48 0000 -------
Works here also with no problems, closing bug.
Will move to x86 (stable) when the new binutils makes the move also.


------- Comment #8 From Martin Holzer (RETIRED) 2003-05-18 08:49:33 0000 -------
*** Bug 21182 has been marked as a duplicate of this bug. ***

------- Comment #9 From Travis Tilley (RETIRED) 2003-06-24 18:46:42 0000 -------
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. 

------- Comment #10 From Travis Tilley (RETIRED) 2003-06-24 19:17:12 0000 -------
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?

------- Comment #11 From Arno Ekkes 2003-06-27 04:03:46 0000 -------
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"

------- Comment #12 From Stefan Jones (RETIRED) 2003-06-27 04:24:28 0000 -------
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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug