Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerging prelink (and wine) 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
Utsuho Reiuji
n00b
n00b


Joined: 03 Apr 2013
Posts: 43

PostPosted: Fri Dec 27, 2013 8:56 pm    Post subject: [solved] emerging prelink (and wine) fails Reply with quote

Since recently, my system has been acting up, so I took off some time to look after gentoo and discovered a few "broken" things.
e.g. perl which was updated but apparently, several dependencies were missing (64). That could be fixed by using perl-cleaner.

so, after moving through several things, I was finally able to "emerge -avc" without errors.
In order to fix an issue I had with libreoffice and wine, I removed both entirely, ran "emerge -avc", rebooted and tried to install them, but now, I get this error (sorry for massive output paste...):
Code:
 * Package:    sys-devel/prelink-20110511
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib policykit userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking prelink-20110511.tar.bz2 to /var/tmp/portage/sys-devel/prelink-20110511/work
>>> Source unpacked in /var/tmp/portage/sys-devel/prelink-20110511/work
>>> Preparing source in /var/tmp/portage/sys-devel/prelink-20110511/work/prelink ...
 * Applying prelink-20061201-prelink-conf.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/prelink-20110511/work/prelink ...
 * econf: updating prelink/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating prelink/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-g95... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc static flag  works... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking for elf_begin in -lelf... yes
checking for gelf_getvernaux... yes
checking whether FTW_ACTIONRETVAL is supported... yes
checking for is_selinux_enabled in -lselinux... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating gelfx/Makefile
config.status: creating gelfx32/Makefile
config.status: creating gelf/Makefile
config.status: creating m4/Makefile
config.status: creating patches/Makefile
config.status: creating doc/Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-devel/prelink-20110511/work/prelink ...
make -j5 -l5
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink'
Making all in gelfx
make[2]: Entering directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/gelfx'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/gelfx'
Making all in gelfx32
make[2]: Entering directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/gelfx32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/gelfx32'
Making all in gelf
make[2]: Entering directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/gelf'
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx   -Wall -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c -o gelf.lo `test -f 'gelf.c' || echo './'`gelf.c
mkdir .libs
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c gelf.c  -fPIC -DPIC -DPIC -o gelf.o
mv -f gelf.o .libs/gelf.lo
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c gelf.c -o gelf.o >/dev/null 2>&1
mv -f .libs/gelf.lo gelf.lo
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -Wall -march=amdfam10 -O2 -pipe -Wno-pointer-sign  -Wl,-O1 -Wl,--as-needed -o libgelf.la   gelf.lo  -lelf
rm -fr .libs/libgelf.la .libs/libgelf.* .libs/libgelf.*
x86_64-pc-linux-gnu-ar cru .libs/libgelf.al gelf.lo
x86_64-pc-linux-gnu-ranlib .libs/libgelf.al
creating libgelf.la
(cd .libs && rm -f libgelf.la && ln -s ../libgelf.la libgelf.la)
make[2]: Leaving directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/gelf'
Making all in src
make[2]: Entering directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/src'
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'execstack.c' || echo './'`execstack.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'checksum.c' || echo './'`checksum.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'data.c' || echo './'`data.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'dso.c' || echo './'`dso.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'dwarf2.c' || echo './'`dwarf2.c
dso.c: In function ‘fdopen_dso’:
dso.c:274:16: warning: variable ‘last’ set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'fptr.c' || echo './'`fptr.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'hashtab.c' || echo './'`hashtab.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'mdebug.c' || echo './'`mdebug.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'stabs.c' || echo './'`stabs.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'crc32.c' || echo './'`crc32.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-i386.c' || echo './'`arch-i386.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-alpha.c' || echo './'`arch-alpha.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-ppc.c' || echo './'`arch-ppc.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-ppc64.c' || echo './'`arch-ppc64.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-sparc.c' || echo './'`arch-sparc.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-sparc64.c' || echo './'`arch-sparc64.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-x86_64.c' || echo './'`arch-x86_64.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-mips.c' || echo './'`arch-mips.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-s390.c' || echo './'`arch-s390.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-s390x.c' || echo './'`arch-s390x.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-arm.c' || echo './'`arch-arm.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-sh.c' || echo './'`arch-sh.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'arch-ia64.c' || echo './'`arch-ia64.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'cache.c' || echo './'`cache.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'conflict.c' || echo './'`conflict.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'cxx.c' || echo './'`cxx.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'doit.c' || echo './'`doit.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'exec.c' || echo './'`exec.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'execle_open.c' || echo './'`execle_open.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'get.c' || echo './'`get.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'gather.c' || echo './'`gather.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'layout.c' || echo './'`layout.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'main.c' || echo './'`main.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'prelink.c' || echo './'`prelink.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'reloc.c' || echo './'`reloc.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'space.c' || echo './'`space.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'undo.c' || echo './'`undo.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'undoall.c' || echo './'`undoall.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'verify.c' || echo './'`verify.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'canonicalize.c' || echo './'`canonicalize.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'md5.c' || echo './'`md5.c
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall  -I. -I. -I.. -I../gelfx -DSBINDIR='"/usr/sbin"'  -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign -c `test -f 'sha.c' || echo './'`sha.c
md5.c: In function ‘md5_finish_ctx’:
md5.c:97:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
md5.c:98:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
sha.c: In function ‘sha_finish_ctx’:
sha.c:92:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
sha.c:93:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign  -Wl,-O1 -Wl,--as-needed -o execstack  execstack.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.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-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  -lelf
mkdir .libs
x86_64-pc-linux-gnu-gcc -Wall -march=amdfam10 -O2 -pipe -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -o execstack execstack.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.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-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  -lelf
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -Wall  -march=amdfam10 -O2 -pipe -Wno-pointer-sign  -Wl,-O1 -Wl,--as-needed -o prelink -all-static cache.o conflict.o cxx.o doit.o exec.o execle_open.o get.o gather.o layout.o main.o prelink.o reloc.o space.o undo.o undoall.o verify.o canonicalize.o md5.o sha.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.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-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  -lelf
x86_64-pc-linux-gnu-gcc -Wall -march=amdfam10 -O2 -pipe -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -o prelink -static cache.o conflict.o cxx.o doit.o exec.o execle_open.o get.o gather.o layout.o main.o prelink.o reloc.o space.o undo.o undoall.o verify.o canonicalize.o md5.o sha.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.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-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  -lelf
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `file_read_elf':
(.text+0x1fe): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `__libelf_read_mmaped_file':
(.text+0xa8e): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `__libelf_read_mmaped_file':
(.text+0xafe): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `read_file':
(.text+0xd9c): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `read_file':
(.text+0xee4): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `lock_dup_elf.7666':
(.text+0x1515): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `lock_dup_elf.7666':
(.text+0x152a): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `elf_begin':
(.text+0x1692): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `elf_begin':
(.text+0x16ce): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_begin.o): In function `elf_begin':
(.text+0x1783): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x28): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x60): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x74): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x84): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0xb8): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0xeb): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0xfb): undefined reference to `pthread_rwlock_destroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x351): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getehdr.o): In function `getehdr_impl':
(.text+0x28): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getehdr.o): In function `getehdr_impl':
(.text+0x34): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getehdr.o): In function `elf32_getehdr':
(.text+0xf6): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getehdr.o): In function `elf32_getehdr':
(.text+0x111): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getehdr.o): In function `getehdr_impl':
(.text+0x28): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getehdr.o): In function `getehdr_impl':
(.text+0x34): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getehdr.o): In function `elf64_getehdr':
(.text+0xf6): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getehdr.o): In function `elf64_getehdr':
(.text+0x111): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getehdr.o): In function `gelf_getehdr':
(.text+0x13b): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getehdr.o): In function `gelf_getehdr':
(.text+0x157): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_newehdr.o): In function `elf32_newehdr':
(.text+0x22): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_newehdr.o): In function `elf32_newehdr':
(.text+0x4a): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_newehdr.o): In function `elf64_newehdr':
(.text+0x22): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_newehdr.o): In function `elf64_newehdr':
(.text+0x4b): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_ehdr.o): In function `gelf_update_ehdr':
(.text+0x25): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_ehdr.o): In function `gelf_update_ehdr':
(.text+0x92): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getphdr.o): In function `elf32_getphdr':
(.text+0x354): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getphdr.o): In function `elf32_getphdr':
(.text+0x36b): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getphdr.o): In function `elf64_getphdr':
(.text+0x374): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getphdr.o): In function `elf64_getphdr':
(.text+0x38b): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x39): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x88): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x1b4): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x1d4): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x214): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x234): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_phdr.o): In function `gelf_update_phdr':
(.text+0x30): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_phdr.o): In function `gelf_update_phdr':
(.text+0x7f): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getscn.o): In function `elf_getscn':
(.text+0x25): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getscn.o): In function `elf_getscn':
(.text+0x64): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_newscn.o): In function `elf_newscn':
(.text+0x1c): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_newscn.o): In function `elf_newscn':
(.text+0x11d): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `__elf32_getshdr_rdlock':
(.text+0x48c): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `__elf32_getshdr_rdlock':
(.text+0x4a0): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `elf32_getshdr':
(.text+0x55e): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `elf32_getshdr':
(.text+0x57d): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `__elf64_getshdr_rdlock':
(.text+0x48c): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `__elf64_getshdr_rdlock':
(.text+0x4a0): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `elf64_getshdr':
(.text+0x55e): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `elf64_getshdr':
(.text+0x57d): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getshdr.o): In function `gelf_getshdr':
(.text+0x2a): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getshdr.o): In function `gelf_getshdr':
(.text+0x9d): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_shdr.o): In function `gelf_update_shdr':
(.text+0x3d): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_shdr.o): In function `gelf_update_shdr':
(.text+0xb4): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__libelf_set_rawdata':
(.text+0x3fa): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__libelf_set_rawdata':
(.text+0x418): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x51c): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x52c): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x56e): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x57e): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `elf_getdata':
(.text+0x71f): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getdata.o): In function `elf_getdata':
(.text+0x743): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_newdata.o): In function `elf_newdata':
(.text+0x37): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_newdata.o): In function `elf_newdata':
(.text+0x9b): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_update.o): In function `elf_update':
(.text+0x46): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_update.o): In function `elf_update':
(.text+0x124): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getsym.o): In function `gelf_getsym':
(.text+0x30): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getsym.o): In function `gelf_getsym':
(.text+0xaa): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_sym.o): In function `gelf_update_sym':
(.text+0x36): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_sym.o): In function `gelf_update_sym':
(.text+0xba): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getrel.o): In function `gelf_getrel':
(.text+0x37): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getrel.o): In function `gelf_getrel':
(.text+0x8b): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getrela.o): In function `gelf_getrela':
(.text+0x37): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getrela.o): In function `gelf_getrela':
(.text+0xab): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_rel.o): In function `gelf_update_rel':
(.text+0x36): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_rel.o): In function `gelf_update_rel':
(.text+0x8d): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_rela.o): In function `gelf_update_rela':
(.text+0x36): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_rela.o): In function `gelf_update_rela':
(.text+0xaf): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getdyn.o): In function `gelf_getdyn':
(.text+0x37): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_getdyn.o): In function `gelf_getdyn':
(.text+0x77): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_dyn.o): In function `gelf_update_dyn':
(.text+0x36): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(gelf_update_dyn.o): In function `gelf_update_dyn':
(.text+0x8d): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getphdrnum.o): In function `elf_getphdrnum':
(.text+0xa1): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getphdrnum.o): In function `elf_getphdrnum':
(.text+0xbc): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getshdrnum.o): In function `elf_getshdrnum':
(.text+0x9b): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf_getshdrnum.o): In function `elf_getshdrnum':
(.text+0xb6): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_newphdr.o): In function `elf32_newphdr':
(.text+0x34): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf32_newphdr.o): In function `elf32_newphdr':
(.text+0xd2): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_newphdr.o): In function `elf64_newphdr':
(.text+0x34): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libelf.a(elf64_newphdr.o): In function `elf64_newphdr':
(.text+0xd3): undefined reference to `pthread_rwlock_unlock'
collect2: error: ld returned 1 exit status
make[2]: *** [prelink] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/prelink-20110511/work/prelink'
make: *** [all] Error 2
 * ERROR: sys-devel/prelink-20110511::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-devel/prelink-20110511::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/prelink-20110511::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/prelink-20110511/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/prelink-20110511/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/prelink-20110511/work/prelink'
 * S: '/var/tmp/portage/sys-devel/prelink-20110511/work/prelink'

 * Messages for package sys-devel/prelink-20110511:

 * ERROR: sys-devel/prelink-20110511::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-devel/prelink-20110511::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/prelink-20110511::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/prelink-20110511/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/prelink-20110511/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/prelink-20110511/work/prelink'
 * S: '/var/tmp/portage/sys-devel/prelink-20110511/work/prelink'


Now, I wonder, what the cause for this could be...
Maybe someone could point me into the right direction?


Last edited by Utsuho Reiuji on Sat Dec 28, 2013 12:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Utsuho Reiuji
n00b
n00b


Joined: 03 Apr 2013
Posts: 43

PostPosted: Sat Dec 28, 2013 12:39 pm    Post subject: Reply with quote

nevermind, I looked at this problem with a clear head today and managed to solve the issue.
It kind of confused me that portage wanted to pull this old version sys-devel/prelink-20110511, so I masked it, ran emerge again and a recommendation for package.keywords (~amd64) came up for sys-devel/prelink-20130503
emerging now works again
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