x86_64-pc-linux-gnu-gcc -c -I. -I../include -march=athlon64 -Os -pipe -fomit-frame-pointer -march=athlon64 -Os -pipe -fomit-frame-pointer -DLVM1_INTERNAL -DPOOL_INTERNAL -DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL -DREADLINE_SUPPORT -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -DHAVE_RL_COMPLETION_MATCHES -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -march=athlon64 -Os -pipe -fomit-frame-pointer -DLVM1_INTERNAL -DPOOL_INTERNAL -DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL -DREADLINE_SUPPORT -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -DHAVE_RL_COMPLETION_MATCHES -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 lvm-static.c -o lvm-static.o x86_64-pc-linux-gnu-gcc -E -P cmdnames.h 2> /dev/null | \ egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$' > .commands x86_64-pc-linux-gnu-gcc -o lvm archiver.o dumpconfig.o formats.o lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o vgrename.o vgscan.o vgsplit.o lvm.o -Wl,--export-dynamic -L../lib -L/usr/lib64 -llvm -ldevmapper -lreadline -ldl -lncurses -rdynamic x86_64-pc-linux-gnu-gcc -o lvm.static archiver.o dumpconfig.o formats.o lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o vgrename.o vgscan.o vgsplit.o lvm-static.o -static -Wl,--export-dynamic -L../lib -L/usr/lib64 -llvm -ldevmapper \ -lreadline -ldl -lncurses -rdynamic /usr/lib64/libdevmapper.a(pool.o): In function `_align_chunk': pool.c:(.text+0xf0): multiple definition of `_align_chunk' ../lib/liblvm.a(pool.o):pool.c:(.text+0xf0): first defined here /usr/lib64/libdevmapper.a(pool.o): In function `_new_chunk': pool.c:(.text+0x110): multiple definition of `_new_chunk' ../lib/liblvm.a(pool.o):pool.c:(.text+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `_new_chunk' changed from 143 in ../lib/liblvm.a(pool.o) to 146 in /usr/lib64/libdevmapper.a(pool.o) ../lib/liblvm.a(sharedlib.o): In function `load_shared_library': sharedlib.c:(.text+0xbb): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(complete.o): In function `rl_username_completion_function': complete.c:(.text+0x1c44): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(tilde.o): In function `tilde_expand_word': tilde.c:(.text+0x19d): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(shell.o): In function `sh_get_home_dir': shell.c:(.text+0xeb): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(complete.o): In function `rl_username_completion_function': complete.c:(.text+0x1c16): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking complete.c:(.text+0x1c61): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: ld returned 1 exit status make[1]: *** [lvm.static] Error 1 make[1]: Leaving directory `/var/tmp/portage/lvm2-2.01.09/work/LVM2.2.01.09/tools' make: *** [tools] Error 2 !!! ERROR: sys-fs/lvm2-2.01.09 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message.