Проблемы со сборкой мира emerge -uD world

Поставил дистрибутив Calculate Linux Desktop XFCE.
первое что сделал, настроил оптимизацию:

CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"

после сменил профилъ:

  [19]  calculate:calculate/desktop/CLDX/amd64 *
  [20]  calculate:calculate/desktop/CLDX/amd64/binary
  [21]  calculate:calculate/desktop/CLDX/amd64/developer

далее синхронизировался:

eix-sync

глобалъно флаги не менял получил зависимости и разрешил их через /etc/portage/package.use/custom

dev-libs/elfutils static-libs
dev-lang/python sqlite
sys-apps/help2man -nls

обновляюсъ

emerge -uD world

имеем:

calculate ~ # emerge -uD world
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-libs/boost-1.49.0-r1
>>> Running pre-merge checks for net-fs/samba-3.6.6
>>> Running pre-merge checks for app-misc/lirc-0.9.0-r2
>>> Running pre-merge checks for app-office/libreoffice-3.5.5.3
 * Checking for at least 512 mebibytes RAM ...                                                                        [ ok ]
 * Checking for at least 6 gibibytes disk space at "/var/calculate/tmp/portage/app-office/libreoffice-3.5.5.3/temp" . [ ok ]
>>> Running pre-merge checks for x11-base/xorg-server-1.12.3
>>> Running pre-merge checks for x11-drivers/xf86-input-synaptics-1.6.2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.2.8-calculate/build
 * Found sources for kernel version:
 *     3.2.8-calculate
>>> Running pre-merge checks for net-misc/networkmanager-0.9.4.0-r5
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.2.8-calculate/build
 * Found sources for kernel version:
 *     3.2.8-calculate
 * Checking for SYSFS_DEPRECATED support ...                                                                          [ ok ]

>>> Starting parallel fetch

>>> Emerging (1 of 459) sys-devel/prelink-20111012
 * prelink-20111012.tar.bz2 SHA256 size ;-) ...                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking prelink-20111012.tar.bz2 to /var/calculate/tmp/portage/sys-devel/prelink-20111012/work
>>> Source unpacked in /var/calculate/tmp/portage/sys-devel/prelink-20111012/work
>>> Preparing source in /var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink ...
 * Applying prelink-20061201-prelink-conf.patch ...                                                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/calculate/tmp/portage/sys-devel/prelink-20111012/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/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink ...
make -j4 
make  all-recursive
make[1]: Вход в каталог `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink'
Making all in gelfx
make[2]: Вход в каталог `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink/gelfx'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink/gelfx'
Making all in gelfx32
make[2]: Вход в каталог `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink/gelfx32'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink/gelfx32'
Making all in gelf
make[2]: Вход в каталог `/var/calculate/tmp/portage/sys-devel/prelink-20111012/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 -O2 -march=native -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 -O2 -march=native -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 -O2 -march=native -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 -O2 -march=native -pipe -Wno-pointer-sign  -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]: Выход из каталога `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink/gelf'
Making all in src
make[2]: Вход в каталог `/var/calculate/tmp/portage/sys-devel/prelink-20111012/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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -pipe -Wno-pointer-sign -c `test -f 'dwarf2.c' || echo './'`dwarf2.c
dso.c: В функции «fdopen_dso»:
dso.c:274:16: предупреждение: 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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -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  -O2 -march=native -pipe -Wno-pointer-sign -c `test -f 'sha.c' || echo './'`sha.c
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -Wall  -O2 -march=native -pipe -Wno-pointer-sign  -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 -O2 -march=native -pipe -Wno-pointer-sign -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  -O2 -march=native -pipe -Wno-pointer-sign  -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 -O2 -march=native -pipe -Wno-pointer-sign -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.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `file_read_elf':
(.text+0x15c): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `__libelf_read_mmaped_file':
(.text+0xa74): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `__libelf_read_mmaped_file':
(.text+0xae0): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `read_file':
(.text+0xdb2): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `read_file':
(.text+0xe2f): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `lock_dup_elf.7745':
(.text+0x1415): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `lock_dup_elf.7745':
(.text+0x142a): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `elf_begin':
(.text+0x1592): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `elf_begin':
(.text+0x15ce): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_begin.o): In function `elf_begin':
(.text+0x1683): undefined reference to `pthread_rwlock_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x5f): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x73): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x83): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0xfd): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x10d): undefined reference to `pthread_rwlock_destroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_end.o): In function `elf_end':
(.text+0x337): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.3/../../../../lib64/libelf.a(elf32_newehdr.o): In function `elf32_newehdr':
(.text+0x1e): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_newehdr.o): In function `elf32_newehdr':
(.text+0x46): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_newehdr.o): In function `elf64_newehdr':
(.text+0x1e): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_newehdr.o): In function `elf64_newehdr':
(.text+0x47): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_update_ehdr.o): In function `gelf_update_ehdr':
(.text+0x93): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_getphdr.o): In function `elf32_getphdr':
(.text+0x308): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_getphdr.o): In function `elf32_getphdr':
(.text+0x31f): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_getphdr.o): In function `elf64_getphdr':
(.text+0x328): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_getphdr.o): In function `elf64_getphdr':
(.text+0x33f): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x3a): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x89): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x1d1): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x1f1): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x22c): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getphdr.o): In function `gelf_getphdr':
(.text+0x250): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_update_phdr.o): In function `gelf_update_phdr':
(.text+0x31): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_update_phdr.o): In function `gelf_update_phdr':
(.text+0x80): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getscn.o): In function `elf_getscn':
(.text+0x21): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getscn.o): In function `elf_getscn':
(.text+0x5c): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(elf_newscn.o): In function `elf_newscn':
(.text+0x11f): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `__elf32_getshdr_rdlock':
(.text+0x3f4): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `__elf32_getshdr_rdlock':
(.text+0x408): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `elf32_getshdr':
(.text+0x4cc): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_getshdr.o): In function `elf32_getshdr':
(.text+0x4eb): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `__elf64_getshdr_rdlock':
(.text+0x414): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `__elf64_getshdr_rdlock':
(.text+0x428): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `elf64_getshdr':
(.text+0x4ec): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_getshdr.o): In function `elf64_getshdr':
(.text+0x50b): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_getshdr.o): In function `gelf_getshdr':
(.text+0x9e): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_update_shdr.o): In function `gelf_update_shdr':
(.text+0x3a): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_update_shdr.o): In function `gelf_update_shdr':
(.text+0xb5): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__libelf_set_rawdata':
(.text+0x3ba): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__libelf_set_rawdata':
(.text+0x3d8): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x4eb): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x4fb): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x60e): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `__elf_getdata_rdlock':
(.text+0x61e): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `elf_getdata':
(.text+0x6df): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getdata.o): In function `elf_getdata':
(.text+0x703): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(elf_newdata.o): In function `elf_newdata':
(.text+0xa1): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_update.o): In function `elf_update':
(.text+0x4f): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_update.o): In function `elf_update':
(.text+0x164): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_getsym.o): In function `gelf_getsym':
(.text+0xad): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_update_sym.o): In function `gelf_update_sym':
(.text+0xbb): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getrel.o): In function `gelf_getrel':
(.text+0x35): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getrel.o): In function `gelf_getrel':
(.text+0x88): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_getrela.o): In function `gelf_getrela':
(.text+0xac): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_update_rel.o): In function `gelf_update_rel':
(.text+0x90): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.3/../../../../lib64/libelf.a(gelf_update_rela.o): In function `gelf_update_rela':
(.text+0xb4): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(gelf_getdyn.o): In function `gelf_getdyn':
(.text+0x36): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.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.6.3/../../../../lib64/libelf.a(gelf_update_dyn.o): In function `gelf_update_dyn':
(.text+0x90): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.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.6.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.6.3/../../../../lib64/libelf.a(elf_getshdrnum.o): In function `elf_getshnum':
(.text+0x9b): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf_getshdrnum.o): In function `elf_getshnum':
(.text+0xb6): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_newphdr.o): In function `elf32_newphdr':
(.text+0x3d): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf32_newphdr.o): In function `elf32_newphdr':
(.text+0xce): undefined reference to `pthread_rwlock_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_newphdr.o): In function `elf64_newphdr':
(.text+0x3d): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libelf.a(elf64_newphdr.o): In function `elf64_newphdr':
(.text+0xcf): undefined reference to `pthread_rwlock_unlock'
collect2: ld returned 1 exit status
make[2]: *** [prelink] Ошибка 1
make[2]: Выход из каталога `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink'
make: *** [all] Ошибка 2
 * ERROR: sys-devel/prelink-20111012 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/prelink-20111012'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/prelink-20111012'`.
 * The complete build log is located at '/var/calculate/tmp/portage/sys-devel/prelink-20111012/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/sys-devel/prelink-20111012/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink'
 * S: '/var/calculate/tmp/portage/sys-devel/prelink-20111012/work/prelink'

>>> Failed to emerge sys-devel/prelink-20111012, Log file:

>>>  '/var/calculate/tmp/portage/sys-devel/prelink-20111012/temp/build.log'

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

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

как собраться далее?

Раз меняли флаги, возможно лучше пошло бы с emerge -uDN world ?
И перед тем как запускать обновление, можно вначале сделать предпросмотр (параметр emerge p), что бы посмотреть, нормально ли пройдет обновление или нет возможно сразу увидите проблемные пакеты