While upgrading a batch of packages (emerge -u app-editors/vim www-proxy/squid dev-python/pyopenssl), and building sys-apps/attr, the build fails due to invalid references to non-existant libc init objects (crti, crtbegin, crtend, etc.) I've done a grep of the work dir, checked the ebuilds, and can't find find anything that looks related. I also haven't used gcc 3.4.1 in a long while, afair. Log Follows. # emerge -auv app-editors/vim www-proxy/squid dev-python/pyopenssl These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] sys-apps/attr-2.4.19 [2.4.7-r1] -debug +nls 0 kB [ebuild U ] sys-apps/acl-2.2.27 [2.2.13-r2] -debug +nls 0 kB [ebuild U ] app-editors/vim-core-6.3-r3 [6.3-r1] +acl -debug -livecd +ncurses +nls (-selinux) 0 kB [ebuild U ] app-editors/vim-6.3-r2 [6.3-r1] +acl -cscope -debug +gpm -minimal +ncurses +nls +perl +python -ruby (-selinux) -vim-with-x 0 kB [ebuild U ] www-proxy/squid-2.5.7-r3 [2.5.7] -debug +ldap +pam -sasl (-selinux) -snmp +ssl (-uclibc) -underscores 0 kB [ebuild U ] dev-python/pyopenssl-0.6 [0.5.1] +tetex 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 6) sys-apps/attr-2.4.19 to / >>> root -sandbox(clean) >>> md5 files ;-) metadata.xml >>> md5 files ;-) attr-2.4.16.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) attr-2.4.19.ebuild >>> md5 files ;-) files/digest-attr-2.4.19 >>> md5 files ;-) files/digest-attr-2.4.16 >>> md5 files ;-) files/attr-no-man2pages.patch >>> md5 src_uri ;-) attr-2.4.19.src.tar.gz >>> root -sandbox(setup) >>> root +sandbox(unpack) >>> Unpacking source... >>> Unpacking attr-2.4.19.src.tar.gz to /var/tmp/portage/attr-2.4.19/work * Applying attr-no-man2pages.patch ... [ ok ] >>> Source unpacked. >>> root +sandbox(compile) FEATURES=autoaddcvs autoconfig buildpkg candy ccache digest distlocks fixpackages nostrip sandbox sfperms sign strict ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gettext --libdir=/lib --libexecdir=/usr/lib --bindir=/bin configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for gmake... /usr/bin/gmake checking for glibtool... no checking for libtool... /usr/bin/libtool checking for tar... /bin/tar checking for gzip... /bin/gzip checking for makedepend... /usr/X11R6/bin/makedepend checking for awk... /bin/awk checking for sed... /bin/sed checking for echo... /bin/echo checking for sort... /bin/sort checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for rpm... no checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E 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 for mode_t... yes checking for working alloca.h... yes checking for alloca... yes configure: creating ./config.status config.status: creating include/builddefs config.status: creating include/config.h === include === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f attr ln -s . attr === libmisc === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c -fPIC -DPIC -o .libs/quote.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c -o quote.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c -fPIC -DPIC -o .libs/unquote.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c-o unquote.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c -fPIC -DPIC -o .libs/high_water_alloc.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c -o high_water_alloc.o >/dev/null 2>&1 /usr/bin/libtool --mode=link i686-pc-linux-gnu-gcc -o libmisc.la quote.lo unquote.lo high_water_alloc.lo ar cru .libs/libmisc.a .libs/quote.o .libs/unquote.o .libs/high_water_alloc.o ranlib .libs/libmisc.a creating libmisc.la (cd .libs && rm -f libmisc.la && ln -s ../libmisc.la libmisc.la) === libattr === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c -fPIC -DPIC -o .libs/libattr.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c -o libattr.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c -fPIC -DPIC -o .libs/syscalls.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c -o syscalls.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c -fPIC -DPIC -o .libs/attr_copy_fd.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c -o attr_copy_fd.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c -fPIC -DPIC -o .libs/attr_copy_file.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c -o attr_copy_file.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c -fPIC -DPIC -o .libs/attr_copy_check.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -funroll-loops -pipe -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -funroll-loops -pipe -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c -o attr_copy_check.o >/dev/null 2>&1 /usr/bin/libtool --mode=link i686-pc-linux-gnu-gcc -Wl,--version-script,../exports -rpath /lib -version-info 2:0:1 -o libattr.la libattr.lo syscalls.lo attr_copy_fd.lo attr_copy_file.lo attr_copy_check.lo g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/crtbeginS.o .libs/libattr.o .libs/syscalls.o .libs/attr_copy_fd.o .libs/attr_copy_file.o .libs/attr_copy_check.o -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.1 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../crtn.o -Wl,--version-script -Wl,../exports -Wl,-soname -Wl,libattr.so.1 -o .libs/libattr.so.1.1.0 g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../crti.o: No such file or directory g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/crtbeginS.o: No such file or directory g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/crtendS.o: No such file or directory g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../crtn.o: No such file or directory gmake[1]: *** [libattr.la] Error 1 make: *** [default] Error 2 !!! ERROR: sys-apps/attr-2.4.19 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: (always reproducable, possibly just on my boxen ;) 1. emerge =sys-apps/attr-2.4.19 Actual Results: build failed (in library linking phase, as shown above) Expected Results: built ok ;) Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 26 2004, 05:39:41)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ANT_HOME="/usr/share/ant-core" ARCH="x86" AUTOCLEAN="yes" AUTO_SYMLINK="no" BASH_ENV="/etc/spork/is/not/valid/profile.env" CCACHE_SIZE="4G" CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" DISPLAY=":0.0" DISTDIR="/com/portage/distfiles" EDITOR="/usr/bin/vim" FEATURES="autoaddcvs autoconfig buildpkg candy ccache digest distlocks fixpackages nostrip sandbox sfperms sign strict" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS=" http://mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ " GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses" GUILE_LOAD_PATH="/usr/share/guile/1.6" G_BROKEN_FILENAMES="1" HOME="/root" HOSTNAME="zippy" INFODIR="/usr/share/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info" INPUTRC="/etc/inputrc" JAVAC="/opt/blackdown-jdk-1.4.2.01/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.01" JDK_HOME="/opt/blackdown-jdk-1.4.2.01" KBUILD_OUTPUT_PREFIX="" KDEDIR="/usr/kde/3.3" KDEDIRS="/usr" KDE_MALLOC="1" LANG="en_GB.UTF-8" LESS="-R" LESSOPEN="|lesspipe.sh %s" LINUX_PORTAGE_WRITABLE="no" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:" MAIL="/root/.mbox" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man:/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man::/opt/blackdown-jdk-1.4.2.01/man:/usr/qt/3/doc/man:/opt/blackdown-jdk-1.4.2.01/man:/usr/qt/3/doc/man" NOCOLOR="false" OLDPWD="/var/tmp/portage/attr-2.4.19/work/attr-2.4.19/libattr" PAGER="/usr/bin/less" PATH="/com/bin:/usr/lib/ccache/bin:/com/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/root/bin" PKGDIR="/com/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="20016" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/com/portage/overlays/testing" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="/usr/lib/wine:/usr/lib/valgrind" PS1="\[\033[01;34m\][\A] \[\033[01;32m\]\u@\h \[\033[01;34m\]\w\[\033[00m\]\n\[\033[01;34m\]\$ \[\033[00m\]" PWD="/var/tmp/portage/attr-2.4.19/work/attr-2.4.19" PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="1" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="x86 X aalib acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib cdr crypt cups curl directfb doc dvd encode exif f77 fam flac font-server foomaticdbfortran ftp gdbm gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hardened imagemagick imap imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mbox mikmod mime mmap mmx motif mozilla mpeg msn mysql nas ncurses nis nls nptl offensive oggvorbis opengl oss pam pcre pdflib perl php pic png postgres python qt quicktime readline scanner sdlshared slang spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xmlrpc xmms xsl xv zeo zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" XAUTHORITY="/root/.xauthwUzgwk" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
try running `fix_libtool_files.sh 3.4.1`
I have the same problem. I'm using gcc-3.3.5-r1 and fix_libtool_files.sh 3.3.5-r1 doesn't help: fix_libtool_files.sh 3.3.5-r1 * Scanning libtool files for hardcoded gcc library paths... * [1/7] Scanning /lib ... * [2/7] Scanning /usr/lib ... * [3/7] Scanning /opt/blackdown-jdk-1.4.2.01/jre/lib/i386 ... * [4/7] Scanning /usr/games/lib ... * [5/7] Scanning /usr/kde/3.3/lib ... * [6/7] Scanning /usr/local/lib ... * [7/7] Scanning /usr/qt/3/lib ... emerge attr Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/attr-2.4.19 to / >>> md5 src_uri ;-) attr-2.4.19.src.tar.gz >>> Unpacking source... >>> Unpacking attr-2.4.19.src.tar.gz to /var/tmp/portage/attr-2.4.19/work * Applying attr-no-man2pages.patch ... [ ok ] >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gettext --libdir=/lib --libexecdir=/usr/lib --bindir=/bin configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for gmake... /usr/bin/gmake checking for glibtool... no checking for libtool... /usr/bin/libtool checking for tar... /bin/tar checking for gzip... /bin/gzip checking for makedepend... /usr/X11R6/bin/makedepend checking for awk... /bin/awk checking for sed... /bin/sed checking for echo... /bin/echo checking for sort... /bin/sort checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for rpm... no checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E 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 for mode_t... yes checking for working alloca.h... yes checking for alloca... yes configure: creating ./config.status config.status: creating include/builddefs config.status: creating include/config.h === include === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f attr ln -s . attr === libmisc === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c mkdir .libs i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c -fPIC -DPIC -o .libs/quote.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c -o quote.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c -fPIC -DPIC -o .libs/unquote.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c -o unquote.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c -fPIC -DPIC -o .libs/high_water_alloc.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c -o high_water_alloc.o >/dev/null 2>&1 /usr/bin/libtool --mode=link i686-pc-linux-gnu-gcc -o libmisc.la quote.lo unquote.lo high_water_alloc.lo ar cru .libs/libmisc.a .libs/quote.o .libs/unquote.o .libs/high_water_alloc.o ranlib .libs/libmisc.a creating libmisc.la (cd .libs && rm -f libmisc.la && ln -s ../libmisc.la libmisc.la) === libattr === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c mkdir .libs i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c -fPIC -DPIC -o .libs/libattr.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c -o libattr.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c -fPIC -DPIC -o .libs/syscalls.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c -o syscalls.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c -fPIC -DPIC -o .libs/attr_copy_fd.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c -o attr_copy_fd.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c -fPIC -DPIC -o .libs/attr_copy_file.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c -oattr_copy_file.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c -fPIC -DPIC -o .libs/attr_copy_check.o i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c -o attr_copy_check.o >/dev/null 2>&1 /usr/bin/libtool --mode=link i686-pc-linux-gnu-gcc -Wl,--version-script,../exports -rpath /lib -version-info 2:0:1 -o libattr.la libattr.lo syscalls.lo attr_copy_fd.lo attr_copy_file.lo attr_copy_check.lo g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o .libs/libattr.o .libs/syscalls.o .libs/attr_copy_fd.o .libs/attr_copy_file.o .libs/attr_copy_check.o -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o -Wl,--version-script -Wl,../exports -Wl,-soname -Wl,libattr.so.1 -o .libs/libattr.so.1.1.0 g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o: No such file or directory gmake[1]: *** [libattr.la] Error 1 make: *** [default] Error 2 !!! ERROR: sys-apps/attr-2.4.19 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
I think that the problem is in ebuild because if I tryed to make attr in shell (./configure && make) there was any problem. Some time ago I have the same problem with others ebuilds but it was solved with: gcc-config 1 fix_libtool_files.sh 3.3.5-r1 (http://forums.gentoo.org/viewtopic.php?t=278673&highlight=gcc+upgrade&sid=44ec35d5c12a7e96b7e56455aed9759b) Now I have problem only with emerge attr.
Thanks SpanKY, `fix_libtool_files.sh 3.4.1' did it for me :-) Jiri, try `fix_libtool_files.sh 3.3.4'.
localhost root # fix_libtool_files.sh 3.3.4 * Scanning libtool files for hardcoded gcc library paths... * Scanning /lib... * Scanning /usr/lib... * Scanning /opt/blackdown-jdk-1.4.2.01/jre/lib/i386... * Scanning /usr/kde/3.3/lib... * Scanning /usr/local/lib... * Scanning /usr/local/matlab/extern/lib/glnx86... * Scanning /usr/local/matlab/sys/os/glnx86... * Scanning /usr/qt/3/lib... * Scanning /usr/X11R6/lib... localhost root # emerge attr Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/attr-2.4.19 to / >>> md5 src_uri ;-) attr-2.4.19.src.tar.gz >>> Unpacking source... >>> Unpacking attr-2.4.19.src.tar.gz to /var/tmp/portage/attr-2.4.19/work * Applying attr-no-man2pages.patch ... [ ok ] >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gettext --libdir=/lib --libexecdir=/usr/lib --bindir=/bin configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for gmake... /usr/bin/gmake checking for glibtool... no checking for libtool... /usr/bin/libtool checking for tar... /bin/tar checking for gzip... /bin/gzip checking for makedepend... /usr/X11R6/bin/makedepend checking for awk... /bin/awk checking for sed... /bin/sed checking for echo... /bin/echo checking for sort... /bin/sort checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for rpm... no checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E 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 for mode_t... yes checking for working alloca.h... yes checking for alloca... yes configure: creating ./config.status config.status: creating include/builddefs config.status: creating include/config.h === include === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f attr ln -s . attr === libmisc === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c mkdir .libs i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c -fPIC -DPIC -o .libs/quote.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c quote.c -o quote.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c -fPIC -DPIC -o .libs/unquote.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c unquote.c -o unquote.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c -fPIC -DPIC -o .libs/high_water_alloc.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c high_water_alloc.c -o high_water_alloc.o >/dev/null 2>&1 /usr/bin/libtool --mode=link i686-pc-linux-gnu-gcc -o libmisc.la quote.lo unquote.lo high_water_alloc.lo ar cru .libs/libmisc.a .libs/quote.o .libs/unquote.o .libs/high_water_alloc.o ranlib .libs/libmisc.a creating libmisc.la (cd .libs && rm -f libmisc.la && ln -s ../libmisc.la libmisc.la) === libattr === gmake[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c mkdir .libs i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c -fPIC -DPIC -o .libs/libattr.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c libattr.c -o libattr.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c -fPIC -DPIC -o .libs/syscalls.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c syscalls.c -o syscalls.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c -fPIC -DPIC -o .libs/attr_copy_fd.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_fd.c -o attr_copy_fd.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c -fPIC -DPIC -o .libs/attr_copy_file.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_file.c -oattr_copy_file.o >/dev/null 2>&1 /usr/bin/libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c -fPIC -DPIC -o .libs/attr_copy_check.o i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-mp -fomit-frame-pointer -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=athlon-mp -fomit-frame-pointer -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.19\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -c attr_copy_check.c -o attr_copy_check.o >/dev/null 2>&1 /usr/bin/libtool --mode=link i686-pc-linux-gnu-gcc -Wl,--version-script,../exports -rpath /lib -version-info 2:0:1 -o libattr.la libattr.lo syscalls.lo attr_copy_fd.lo attr_copy_file.lo attr_copy_check.lo g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o .libs/libattr.o .libs/syscalls.o .libs/attr_copy_fd.o .libs/attr_copy_file.o .libs/attr_copy_check.o -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o -Wl,--version-script -Wl,../exports -Wl,-soname -Wl,libattr.so.1 -o .libs/libattr.so.1.1.0 g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o: No such file or directory gmake[1]: *** [libattr.la] Error 1 make: *** [default] Error 2
The problem was in a libtool. After upgrade the libtool-1.5.10-r4 work emerge attr great.
*** Bug 92201 has been marked as a duplicate of this bug. ***