Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sys-devel/prelink-20030505 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tomaw
Guru
Guru


Joined: 26 Mar 2003
Posts: 429
Location: UK

PostPosted: Mon May 19, 2003 1:15 pm    Post subject: emerge sys-devel/prelink-20030505 fails Reply with quote

Emerge-ing prelink seems to fail....

Quote:

gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 -c `test -f 'arch-alpha.c' || echo './'`arch-alpha.c
source='arch-ppc.c' object='arch-ppc.o' libtool=no \
depfile='.deps/arch-ppc.Po' tmpdepfile='.deps/arch-ppc.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 -c `test -f 'arch-ppc.c' || echo './'`arch-ppc.c
arch-ppc.c: In function `ppc_prelink_rela':
arch-ppc.c:159: `R_PPC_DTPREL32' undeclared (first use in this function)
arch-ppc.c:159: (Each undeclared identifier is reported only once
arch-ppc.c:159: for each function it appears in.)
arch-ppc.c:170: `R_PPC_DTPREL16' undeclared (first use in this function)
arch-ppc.c:171: `R_PPC_DTPREL16_LO' undeclared (first use in this function)
arch-ppc.c:175: `R_PPC_DTPREL16_HA' undeclared (first use in this function)
arch-ppc.c:178: `R_PPC_DTPREL16_HI' undeclared (first use in this function)
arch-ppc.c:212: `R_PPC_DTPMOD32' undeclared (first use in this function)
arch-ppc.c:220: `R_PPC_TPREL32' undeclared (first use in this function)
arch-ppc.c:221: `R_PPC_TPREL16' undeclared (first use in this function)
arch-ppc.c:222: `R_PPC_TPREL16_LO' undeclared (first use in this function)
arch-ppc.c:223: `R_PPC_TPREL16_HI' undeclared (first use in this function)
arch-ppc.c:224: `R_PPC_TPREL16_HA' undeclared (first use in this function)
arch-ppc.c: In function `ppc_prelink_conflict_rela':
arch-ppc.c:379: `R_PPC_DTPMOD32' undeclared (first use in this function)
arch-ppc.c:380: `R_PPC_TPREL32' undeclared (first use in this function)
arch-ppc.c:381: `R_PPC_TPREL16' undeclared (first use in this function)
arch-ppc.c:382: `R_PPC_TPREL16_LO' undeclared (first use in this function)
arch-ppc.c:383: `R_PPC_TPREL16_HI' undeclared (first use in this function)
arch-ppc.c:384: `R_PPC_TPREL16_HA' undeclared (first use in this function)
arch-ppc.c:399: `R_PPC_DTPREL32' undeclared (first use in this function)
arch-ppc.c:400: `R_PPC_DTPREL16' undeclared (first use in this function)
arch-ppc.c:401: `R_PPC_DTPREL16_LO' undeclared (first use in this function)
arch-ppc.c:402: `R_PPC_DTPREL16_HI' undeclared (first use in this function)
arch-ppc.c:403: `R_PPC_DTPREL16_HA' undeclared (first use in this function)
arch-ppc.c: In function `ppc_undo_prelink_rela':
arch-ppc.c:584: `R_PPC_DTPMOD32' undeclared (first use in this function)
arch-ppc.c:585: `R_PPC_DTPREL32' undeclared (first use in this function)
arch-ppc.c:586: `R_PPC_TPREL32' undeclared (first use in this function)
arch-ppc.c:597: `R_PPC_DTPREL16' undeclared (first use in this function)
arch-ppc.c:598: `R_PPC_TPREL16' undeclared (first use in this function)
arch-ppc.c:599: `R_PPC_DTPREL16_LO' undeclared (first use in this function)
arch-ppc.c:600: `R_PPC_TPREL16_LO' undeclared (first use in this function)
arch-ppc.c:601: `R_PPC_DTPREL16_HI' undeclared (first use in this function)
arch-ppc.c:602: `R_PPC_TPREL16_HI' undeclared (first use in this function)
arch-ppc.c:603: `R_PPC_DTPREL16_HA' undeclared (first use in this function)
arch-ppc.c:604: `R_PPC_TPREL16_HA' undeclared (first use in this function)
arch-ppc.c: In function `ppc_reloc_size':
arch-ppc.c:644: `R_PPC_DTPREL16' undeclared (first use in this function)
arch-ppc.c:645: `R_PPC_DTPREL16_LO' undeclared (first use in this function)
arch-ppc.c:646: `R_PPC_DTPREL16_HI' undeclared (first use in this function)
arch-ppc.c:647: `R_PPC_DTPREL16_HA' undeclared (first use in this function)
arch-ppc.c:648: `R_PPC_TPREL16' undeclared (first use in this function)
arch-ppc.c:649: `R_PPC_TPREL16_LO' undeclared (first use in this function)
arch-ppc.c:650: `R_PPC_TPREL16_HI' undeclared (first use in this function)
arch-ppc.c:651: `R_PPC_TPREL16_HA' undeclared (first use in this function)
arch-ppc.c: In function `ppc_reloc_class':
arch-ppc.c:667: `R_PPC_DTPMOD32' undeclared (first use in this function)
arch-ppc.c:667: `R_PPC_DTPREL32' undeclared (first use in this function)
make[2]: *** [arch-ppc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/prelink-20030505/work/prelink/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/prelink-20030505/work/prelink'
make: *** [all] Error 2

!!! ERROR: sys-devel/prelink-20030505 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! Make Failed


Anyone else get the same problems - don't want to add a pointless bug if there is an easy fix :) Why all the PPC references on an x86 system?

Tom
Back to top
View user's profile Send private message
gigel
Guru
Guru


Joined: 14 Jan 2003
Posts: 370
Location: .se/.ro

PostPosted: Mon May 19, 2003 1:41 pm    Post subject: Re: emerge sys-devel/prelink-20030505 fails Reply with quote

tomaw wrote:

Anyone else get the same problems - don't want to add a pointless bug if there is an easy fix :) Why all the PPC references on an x86 system?

Tom

exactly same error here...
_________________
$emerge sux
:D
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Mon May 19, 2003 3:38 pm    Post subject: me too! Reply with quote

I also got the same error read out and I have a PPC :?
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Mon May 19, 2003 5:21 pm    Post subject: Reply with quote

This bug is already in https://bugs.gentoo.org, I think it's a glibc thingy :wink:
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20216

PostPosted: Mon May 19, 2003 7:22 pm    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Tue May 20, 2003 11:54 am    Post subject: Reply with quote

Here's the bugreport.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Thu May 22, 2003 8:30 pm    Post subject: Reply with quote

it is buggin for me too :'(

I get this:

Code:


gcc -Wall -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -mmmx -m3dnow -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-ppc64.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.3/../../../../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-20030505/work/prelink/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/prelink-20030505/work/prelink'
make: *** [all] Error 2

!!! ERROR: sys-devel/prelink-20030505 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! Make Failed

kpoman root #







I have this:
Code:


kpoman root # emerge info --verbose
Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) Processor
ETERM_THEME_ROOT="/usr/share/Eterm/themes/Eterm"
USE="oss apm crypt cups encode libg++ mikmod mmx ncurses nls pdflib spell truetype xml2 xv zlib gdbm berkdb slang readline arts svga tcltk guile sdl gpm tc
bwww ssl python esd imlib oggvorbis gnome qt kde motif snmp cdr X xmms x86 samba mozilla mpeg jpeg perl java gtk gtk2 avi png mysql php quicktime opengl aa
 -alsa xml dga gd curl flash gif"
FEATURES="sandbox ccache"
LESS="-R"
ETERM_VERSION="0.9.2"
PORTAGE_GID="250"
LESSOPEN="|lesspipe.sh %s"
CVS_RSH="ssh"
LOGNAME="root"
USER="root"
INPUTRC="/etc/inputrc"
QTDIR="/usr/qt/3"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/opt/Acrobat5:/usr/X11R6/bin:/opt/sun-j2sdk-1.4.1/bin:/opt/s
1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/qt/2/bin:/opt/vmware/bin"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
DISPLAY=":0.0"
COLORTERM_BCE="Eterm"
KDEDIR="/usr/kde/3.1"
TERM="Eterm"
SHELL="/bin/bash"
COLORFGBG="7;default;0"
XAUTHORITY="/root/.Xauthority"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
SHLVL="4"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
IFS="   
"
PORTAGE_CALLER="emerge"
QMAKESPEC="linux-g++"
ACCEPT_KEYWORDS="x86 ~x86"
WINDOWID="8388671"
EDITOR="/usr/bin/vim"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/vmware/man"
JAVA_HOME="/opt/sun-j2sdk-1.4.1"
HOME="/root"
ETERM_USER_ROOT="/usr/share/Eterm/themes/Eterm"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
CC="gcc"
CLASSPATH="/opt/sun-j2sdk-1.4.1/jre/lib/rt.jar:."
ACCEPT_LICENSE=""
PORTAGE_MASTER_PID="15278"
PRELINK_PATH_MASK=""
XINITRC="/etc/X11/xinit/xinitrc"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
JDK_HOME="/opt/sun-j2sdk-1.4.1"
KDEDIRS="/usr"
_="/usr/bin/emerge"
JAVAC="/opt/sun-j2sdk-1.4.1/bin/javac"
CXX="g++"
HOSTNAME="kpoman"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/sha
"
PWD="/root"
PRELINK_PATH=""
COLORTERM="Eterm"
MAIL="/var/mail/root"
PAGER="/usr/bin/less"
PYTHONDOCS="/usr/share/doc/python-docs-2.2.2/html"
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe  -mmmx -m3dnow"
MAKEOPTS="-j2"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe  -mmmx -m3dnow"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
AUTOCLEAN="yes"
ARCH="x86"
COMPILER="gcc3"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
RSYNC_TIMEOUT="180"
DISTDIR="/usr/portage/distfiles"
RSYNC_RETRIES="3"
PKGDIR="/usr/portage/packages"
CLEAN_DELAY="5"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp ${URI} -P ${DISTDIR}"
RPMDIR="/usr/portage/rpm"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp ${URI} -P ${DISTDIR}"
PORTDIR="/usr/portage"
NOCOLOR="false"
USE_ORDER="env:conf:auto:defaults"
PORTAGE_TMPDIR="/var/tmp"

kpoman root #





also tried removing the distfile, emerge syncing, then remerging, always the same problem ...
Somebody told on the bug report that this was due to a bad rsync server ... I used then a mirrorselect to change it (?? but same problem


Last edited by kpoman on Thu May 22, 2003 8:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Thu May 22, 2003 8:38 pm    Post subject: Reply with quote

sorry about spamming :D

same problem with prelink-20030217 !

Code:


gcc -Wall -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -mmmx -m3dnow -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.3/../../../../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

kpoman root #






Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Sun May 25, 2003 4:37 pm    Post subject: Reply with quote

Ok, I could solve the problem by updating my elfutils package,
this one works perfectly:

kpoman root # emerge -s elfutils
Searching...
[ Results for search key : elfutils ]
[ Applications found : 1 ]

* dev-libs/elfutils
Latest version available: 0.76-r2
Latest version installed: 0.76-r2
Size of downloaded files: 729 kB
Homepage: http://www.redhat.com/
Description: Libraries and utilities to handle compiled objects. This should be a drop in replacement for libelf.


kpoman root #



but 0.76 wasn't working ..

hope this helps someone :)
Back to top
View user's profile Send private message
nitrous
n00b
n00b


Joined: 23 Jul 2003
Posts: 37
Location: somewhere over the rainbow

PostPosted: Sun Aug 17, 2003 4:46 am    Post subject: Reply with quote

yep i get the same thing at the elfutils hm... i dunno we shall see :twisted:

-tweek

it will come to me or someone else...wait..wait
_________________
BONZIII
Back to top
View user's profile Send private message
nitrous
n00b
n00b


Joined: 23 Jul 2003
Posts: 37
Location: somewhere over the rainbow

PostPosted: Mon Aug 18, 2003 1:20 am    Post subject: Reply with quote

WOOOHOOO got it ok

Code:

emerge sync
then
ACCEPT_KEYWORDS="~ppc" emerge elfutils
then
emerge prelink
and w00t w00t
prelink

-tweek :roll:  what a bitch

_________________
BONZIII
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum