[решено] не собирается gcc

Решено. проблема была в архиваторе. Обновил app-arch/tar до ~arch и проблема исчезла.

После обновления до gcc 4.5.0 куча софта не собирается с одинаковой ошибкой вроде этой http://paste.org.ru/?k6n4b8 Хочу откатиться назад до 4.4.3. Если просто переключиться через gcc-config то при сборке gcc - configure: error: C compiler cannot create executables http://paste.org.ru/?4r6qq3

при попытке собрать gcc 4.4.3 с помощью 4.5.0 получаю http://paste.org.ru/?me0ari

make[4]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc'
(cd `${PWDCMD-pwd}`/include-fixed ; \
         tar -cf - .; exit 0) | (cd /var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc/../gcc/./include-fixed; tar xpf - )
*** buffer overflow detected ***: tar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2b930e99ea17]
/lib/libc.so.6(+0xe4830)[0x2b930e99c830]
tar[0x40a3ce]
tar[0x40b44f]
tar[0x40a8dd]
tar[0x40b91d]
tar[0x41dce5]
/lib/libc.so.6(__libc_start_main+0xfd)[0x2b930e8d6b6d]
tar[0x4041a9]
======= Memory map: ========
00400000-00452000 r-xp 00000000 08:02 31358968                           /bin/tar
00651000-00652000 r--p 00051000 08:02 31358968                           /bin/tar
00652000-00655000 rw-p 00052000 08:02 31358968                           /bin/tar
00655000-00677000 rw-p 00000000 00:00 0                                  [heap]
2b930e27e000-2b930e29c000 r-xp 00000000 08:02 31755114                   /lib64/ld-2.11.1.so
2b930e29c000-2b930e29d000 rw-p 00000000 00:00 0 
2b930e49b000-2b930e49c000 r--p 0001d000 08:02 31755114                   /lib64/ld-2.11.1.so
2b930e49c000-2b930e49d000 rw-p 0001e000 08:02 31755114                   /lib64/ld-2.11.1.so
2b930e49d000-2b930e49e000 rw-p 00000000 00:00 0 
2b930e49e000-2b930e4aa000 r-xp 00000000 08:02 31068875                   /usr/lib64/libsandbox.so
2b930e4aa000-2b930e6aa000 ---p 0000c000 08:02 31068875                   /usr/lib64/libsandbox.so
2b930e6aa000-2b930e6ab000 r--p 0000c000 08:02 31068875                   /usr/lib64/libsandbox.so
2b930e6ab000-2b930e6ac000 rw-p 0000d000 08:02 31068875                   /usr/lib64/libsandbox.so
2b930e6ac000-2b930e6af000 rw-p 00000000 00:00 0 
2b930e6af000-2b930e6b7000 r-xp 00000000 08:02 31755190                   /lib64/librt-2.11.1.so
2b930e6b7000-2b930e8b6000 ---p 00008000 08:02 31755190                   /lib64/librt-2.11.1.so
2b930e8b6000-2b930e8b7000 r--p 00007000 08:02 31755190                   /lib64/librt-2.11.1.so
2b930e8b7000-2b930e8b8000 rw-p 00008000 08:02 31755190                   /lib64/librt-2.11.1.so
2b930e8b8000-2b930ea0d000 r-xp 00000000 08:02 31755110                   /lib64/libc-2.11.1.so
2b930ea0d000-2b930ec0c000 ---p 00155000 08:02 31755110                   /lib64/libc-2.11.1.so
2b930ec0c000-2b930ec10000 r--p 00154000 08:02 31755110                   /lib64/libc-2.11.1.so
2b930ec10000-2b930ec11000 rw-p 00158000 08:02 31755110                   /lib64/libc-2.11.1.so
2b930ec11000-2b930ec16000 rw-p 00000000 00:00 0 
2b930ec16000-2b930ec18000 r-xp 00000000 08:02 31755175                   /lib64/libdl-2.11.1.so
2b930ec18000-2b930ee18000 ---p 00002000 08:02 31755175                   /lib64/libdl-2.11.1.so
2b930ee18000-2b930ee19000 r--p 00002000 08:02 31755175                   /lib64/libdl-2.11.1.so
2b930ee19000-2b930ee1a000 rw-p 00003000 08:02 31755175                   /lib64/libdl-2.11.1.so
2b930ee1a000-2b930ee1b000 rw-p 00000000 00:00 0 
2b930ee1b000-2b930ee32000 r-xp 00000000 08:02 31755149                   /lib64/libpthread-2.11.1.so
2b930ee32000-2b930f032000 ---p 00017000 08:02 31755149                   /lib64/libpthread-2.11.1.so
2b930f032000-2b930f033000 r--p 00017000 08:02 31755149                   /lib64/libpthread-2.11.1.so
2b930f033000-2b930f034000 rw-p 00018000 08:02 31755149                   /lib64/libpthread-2.11.1.so
2b930f034000-2b930f03a000 rw-p 00000000 00:00 0 
2b930f03a000-2b930f344000 r--p 00000000 08:02 1365803                    /usr/lib64/locale/locale-archive
2b930f344000-2b930f3bb000 rw-p 00000000 00:00 0 
2b930f3bb000-2b930f3d1000 r-xp 00000000 08:02 31357215                   /var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc/libgcc_s.so.1
2b930f3d1000-2b930f5d0000 ---p 00016000 08:02 31357215                   /var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc/libgcc_s.so.1
2b930f5d0000-2b930f5d1000 r--p 00015000 08:02 31357215                   /var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc/libgcc_s.so.1
2b930f5d1000-2b930f5d2000 rw-p 00016000 08:02 31357215                   /var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc/libgcc_s.so.1
7fff20067000-7fff20081000 rw-p 00000000 00:00 0                          [stack]
7fff20196000-7fff20197000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
/bin/bash: line 1:  9800 Аварийный останов         (core dumped) tar -cf - .
tar: Это не похоже на tar-архив
tar: Выход, отложенный по результатам предыдущих ошибок
make[4]: *** [real-install-headers-tar] Ошибка 2
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/prev-gcc'
make[3]: *** [stmp-fixinc] Ошибка 2
make[3]: *** Ожидание завершения заданий...
rm gcc.pod gfortran.pod
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/gcc'
make[2]: *** [all-stage2-gcc] Ошибка 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build'
make[1]: *** [stage2-bubble] Ошибка 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build'
make: *** [bootstrap-lean] Ошибка 2

emerge --info

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.32-gentoo x86_64)
=================================================================
System uname: 
Timestamp of tree: Sun, 09 May 2010 09:00:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -msse4 -mcx16 -msahf -pipe -fomit-frame-pointer -floop-interchange -floop-block -floop-strip-mine -ftree-vectorize -ftree-loop-distribution"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -msse4 -mcx16 -msahf -pipe -fomit-frame-pointer -floop-interchange -floop-block -floop-strip-mine -ftree-vectorize -ftree-loop-distribution"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.skip"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlays/my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bzip2 cleartype cli cracklib crypt cups custom-optimization cxx dri fbcondecor fortran freetype gdbm gtk gtk2 iconv jpeg lirc lzo mmx mmx2t mmxext modules mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl png pppd python readline reflection session spell spl sse sse2 sse3 ssl ssse3 svg sysfs tcpd truetype type1 unicode userlocales xft xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard evdev synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="mceusb mceusb2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS