configure: error: installation or configuration problem: C compiler cannot create executables

я сидел на ветке ~x86 и решил перейти на стабильную, но чего-то понаделал своими шаловливыми ручками и теперь у меня ничего не собирается. =) эту систему можно еще восстановить или только реинстал? :/

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-devel/gcc-4.1.2
 * gcc-4.1.2-uclibc-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                [ ok ]
 * gcc-4.1.2-patches-1.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                       [ ok ]
 * gcc-4.1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-4.1.2.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.1.2/work
>>> Unpacking gcc-4.1.2-patches-1.3.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.1.2/work
>>> Unpacking gcc-4.1.2-uclibc-patches-1.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.1.2/work
 * Applying Gentoo patches ...
 *   00_all_gcc-4.1-alpha-mieee-default.patch ...                                                                       [ ok ]
 *   00_all_gcc-trampolinewarn.patch ...                                                                                [ ok ]
 *   01_all_gcc4-ice-hack.patch ...                                                                                     [ ok ]
 *   02_all_gcc4-ppc64-m32-m64-multilib-only.patch ...                                                                  [ ok ]
 *   03_all_gcc4-java-nomulti.patch ...                                                                                 [ ok ]
 *   04_all_gcc42-boehmgc-include.patch ...                                                                             [ ok ]
 *   05_all_gcc42-multilib-print-search-dirs.patch ...                                                                  [ ok ]
 *   06_all_gcc4-slow-pthread-self.patch ...                                                                            [ ok ]
 *   10_all_gcc4-libltdl-multilib.patch ...                                                                             [ ok ]
 *   11_all_gcc-netbsd-symbolic.patch ...                                                                               [ ok ]
 *   12_all_gcc-libstdc++-ld-version.patch ...                                                                          [ ok ]
 *   13_all_gcc4-libjava-ia64-backtrace.patch ...                                                                       [ ok ]
 *   14_all_gcc-sparc64-bsd.patch ...                                                                                   [ ok ]
 *   15_all_gcc42-builtin-frame-address.patch ...                                                                       [ ok ]
 *   20_all_cris-dont-force-limits-header.patch ...                                                                     [ ok ]
 *   29_all_gcc4-pr19664.patch ...                                                                                      [ ok ]
 *   34_all_arm-bigendian.patch ...                                                                                     [ ok ]
 *   36_all_gcc-arm-pr30486.patch ...                                                                                   [ ok ]
 *   39_all_gcc-pr28516.patch ...                                                                                       [ ok ]
 *   40_all_gcc4-debian-hppa-cbranch.patch ...                                                                          [ ok ]
 *   41_all_gcc41-PR32389.patch ...                                                                                     [ ok ]
 *   41_all_gcc4-debian-hppa-cbranch2.patch ...                                                                         [ ok ]
 *   42_all_gcc4-pr27627.patch ...                                                                                      [ ok ]
 *   47_all_arm-unbreak-armv4t.patch ...                                                                                [ ok ]
 *   48_all_gcc4-hppa-mfctl.patch ...                                                                                   [ ok ]
 *   49_all_gcc41-pr30473.patch ...                                                                                     [ ok ]
 *   51_all_gcc-3.4-libiberty-pic.patch ...                                                                             [ ok ]
 *   53_all_gcc4-superh-default-multilib.patch ...                                                                      [ ok ]
 *   54_all_300-libstdc++-pic.patch ...                                                                                 [ ok ]
 *   55_all_gcc4-avr-attribute-alias.patch ...                                                                          [ ok ]
 *   56_all_gcc4-avr-dwarf.patch ...                                                                                    [ ok ]
 *   57_all_gcc4-avr-new-devices-r1.16.patch ...                                                                        [ ok ]
 *   58_all_gcc4-avr-atmega256x-r1.1.patch ...                                                                          [ ok ]
 *   61_all_gcc4-ia64-noteGNUstack.patch ...                                                                            [ ok ]
 *   62_all_gcc4-noteGNUstack.patch ...                                                                                 [ ok ]
 *   65_all_gcc-hppa-pr34627.patch ...                                                                                  [ ok ]
 *   74_all_sh-pr24836.patch ...                                                                                        [ ok ]
 *   85_all_gcc-ca-translation-typo.patch ...                                                                           [ ok ]
 *   89_all_gcc42-sparc64-ssp.patch ...                                                                                 [ ok ]
 *   90_all_mips-add-march-r10k.patch ...                                                                               [ ok ]
 *   91_all_mips-ip28_cache_barriers-v4.patch ...                                                                       [ ok ]
 *   92_all_mips-pthread-with-shared.patch ...                                                                          [ ok ]
 *   95_all_gcc-mips-dwarf-info.patch ...                                                                               [ ok ]
 *   95_all_gcc-mips-dwarf-old-info.patch ...                                                                           [ ok ]
 * Done with patching
 * Applying uClibc patches ...
 *   90_all_100-uclibc-conf.patch ...                                                                                   [ ok ]
 *   90_all_110-arm-eabi.patch ...                                                                                      [ ok ]
 *   90_all_200-uclibc-locale.patch ...                                                                                 [ ok ]
 *   90_all_301-missing-execinfo_h.patch ...                                                                            [ ok ]
 *   90_all_302-c99-snprintf.patch ...                                                                                  [ ok ]
 *   90_all_303-c99-complex-ugly-hack.patch ...                                                                         [ ok ]
 * Done with patching
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed contrib/test_summary
 *  - fixed boehm-gc/configure
 *  - fixed fastjar/configure
 *  - fixed fixincludes/configure
 *  - fixed gcc/configure
 *  - fixed gnattools/configure
 *  - fixed intl/configure
 *  - fixed libada/configure
 *  - fixed libcpp/configure
 *  - fixed libffi/configure
 *  - fixed libgfortran/configure
 *  - fixed libiberty/configure
 *  - fixed libjava/configure
 *  - fixed libmudflap/configure
 *  - fixed libobjc/configure
 *  - fixed libssp/configure
 *  - fixed libstdc++-v3/configure
 *  - fixed zlib/configure
 *  - fixed ltcf-c.sh
 *  - fixed ltcf-cxx.sh
 *  - fixed ltcf-gcj.sh
 *  - fixed ltmain.sh
 *  - fixed boehm-gc/Makefile.in
 *  - fixed fastjar/Makefile.in
 *  - fixed fixincludes/Makefile.in
 *  - fixed gcc/Makefile.in
 *  - fixed gnattools/Makefile.in
 *  - fixed intl/Makefile.in
 *  - fixed libada/Makefile.in
 *  - fixed libcpp/Makefile.in
 *  - fixed libffi/Makefile.in
 *  - fixed libgfortran/Makefile.in
 *  - fixed libiberty/Makefile.in
 *  - fixed libjava/Makefile.in
 *  - fixed libmudflap/Makefile.in
 *  - fixed libobjc/Makefile.in
 *  - fixed libssp/Makefile.in
 *  - fixed libstdc++-v3/Makefile.in
 *  - fixed zlib/Makefile.in
 * patching gcc version: 4.1.2 (Gentoo 4.1.2 p1.3)
 * Running elibtoolize in: gcc-4.1.2
 *   Applying install-sh-1.5.4.patch ...
 *   Applying ltmain-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying test-1.4.1.patch ...
 *   Applying tmp-1.3.5.patch ...
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating libjava/classpath/config.sub                                                                              [ ok ]
 *   Updating libjava/libltdl/config.sub                                                                                [ ok ]
 *   Updating config.sub                                                                                                [ ok ]
 *   Updating libjava/classpath/config.guess                                                                            [ ok ]
 *   Updating libjava/libltdl/config.guess                                                                              [ ok ]
 *   Updating config.guess                                                                                              [ ok ]
 * Fixing misc issues in configure files
 * Applying gcc-configure-texinfo.patch ...                                                                             [ ok ]
 *   Updating configure [LANG] ...                                                                                      [ ok ]
 * Touching generated files
 *   Touching gcc/cstamp-h.in
 *   Touching gcc/config.in
 *   Touching libjava/aclocal.m4
 *   Touching libjava/Makefile.in
 *   Touching libjava/configure
 *   Touching libjava/libltdl/aclocal.m4
 *   Touching libjava/libltdl/Makefile.in
 *   Touching libjava/libltdl/configure
 *   Touching libjava/libltdl/config-h.in
 * Applying gcc-spec-env.patch ...                                                                                      [ ok ]
 * Applying gcc-4.1.0-cross-compile.patch ...                                                                           [ ok ]
 * Applying gcc-4.1.0-fast-math-i386-Os-workaround.patch ...                                                            [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-4.1.2/work
>>> Compiling source in /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2 ...
 * CFLAGS="-O2 -march=i686 -pipe"
 * CXXFLAGS="-O2 -march=i686 -pipe"
 * Configuring gcc ...
 * running gcc-compiler-configure
 * configuring for GCC_LANG: c,c++,treelang,fortran

 * PREFIX:                      /usr
 * BINPATH:                     /usr/i686-pc-linux-gnu/gcc-bin/4.1.2
 * LIBPATH:                     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2
 * DATAPATH:            /usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
 * STDCXX_INCDIR:       /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4

 * Configuring GCC with:
 *      --prefix=/usr
 *      --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
 *      --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
 *      --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
 *      --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
 *      --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info
 *      --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4
 *      --host=i686-pc-linux-gnu
 *      --build=i686-pc-linux-gnu
 *      --disable-altivec
 *      --enable-nls
 *      --without-included-gettext
 *      --with-system-zlib
 *      --disable-checking
 *      --disable-werror
 *      --enable-secureplt
 *      --disable-multilib
 *      --enable-libmudflap
 *      --disable-libssp
 *      --disable-libgcj
 *      --with-arch=i686
 *      --enable-languages=c,c++,treelang,fortran
 *      --enable-shared
 *      --enable-threads=posix
 *      --enable-__cxa_atexit
 *      --enable-clocale=gnu

/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i686 -pipe -Wl,-O1) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
 *
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4717:  Called toolchain_src_compile
 *             environment, line 5239:  Called gcc_src_compile
 *             environment, line 3025:  Called gcc_do_configure
 *             environment, line 2742:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die "failed to run configure";
 *  The die message:
 *   failed to run configure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
 *

>>> Failed to emerge sys-devel/gcc-4.1.2, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'

 * Messages for package sys-devel/gcc-4.1.2:

 *
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4717:  Called toolchain_src_compile
 *             environment, line 5239:  Called gcc_src_compile
 *             environment, line 3025:  Called gcc_do_configure
 *             environment, line 2742:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die "failed to run configure";
 *  The die message:
 *   failed to run configure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
 *

Стандартные вопросы: 1. Что в

Стандартные вопросы:
1. Что в /var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log ?
2. Что говорит emerge --info?
3. Что говорит gcc-config -l?

1.

1. build.log приведен выше =) я собственно и пытался собрать gcc
2. emerge --info:

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo i686)
=================================================================
System uname: 
Timestamp of tree: Sat, 04 Apr 2009 04:45:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mssse3 -ftree-vectorize -mcx16 -msahf -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mssse3 -ftree-vectorize -mcx16 -msahf -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa automount avi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr faac faad fortran fuse gdbm glitz glx gnome gpm gtk hal iconv isdnlog java jpeg jpeg2k jpg libnotify midi mp3 mp4 mpeg4 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl pic png pppd python qt3 qt3support readline reflection samba server session spell spl ssl svg sysfs syslog tcpd threads tryetype unicode vidix win32codecs x x264 x86 xcb xchat xconfig xft xorg xscreensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

[root@gentoo ~]# emerge --info|more
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo i686)
=================================================================
System uname: 
Timestamp of tree: Sat, 04 Apr 2009 04:45:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mssse3 -ftree-vectorize -mcx16 -msahf -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-releas
e /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mssse3 -ftree-vectorize -mcx16 -msahf -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeou
t=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa automount avi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr faac faad fortr
an fuse gdbm glitz glx gnome gpm gtk hal iconv isdnlog java jpeg jpeg2k jpg libnotify midi mp3 mp4 mpeg4 mudflap ncurses nls n
ptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl pic png pppd python qt3 qt3support readline reflection samba server
session spell spl ssl svg sysfs syslog tcpd threads tryetype unicode vidix win32codecs x x264 x86 xcb xchat xconfig xft xorg x
screensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es
1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpc
m alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi nu
ll 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 defl
ate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic ne
gotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse
 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USE
RLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAG
E_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

3. gcc-config -l:

/usr/bin/gcc-config: line 9: /etc/init.d/functions.sh: No such file or directory
gcc-config: Could not source /etc/init.d/functions.sh!

hmm.. однако :/

На стабильную ветку так

На стабильную ветку так просто не вернуться.

Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.

umeny takge (chroot) livecd /

umeny takge
(chroot) livecd / # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.6.7 (default/linux/x86/2008.0, [unavailable], glibc-2.8_p20080602-r1, 2.6.23-gentoo-r8 i686)
=================================================================
System uname:

Timestamp of tree: Sat, 11 Apr 2009 15:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python: 2.5.2-r7
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage /usr/local/portage/flash"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl alsa amr apache2 audiofile bash-completion berkdb bzip2 cdr cli cracklib crypt cups dbus djvu dri dvd dxr3 esd flac fortran gdbm gif glib gpm gtk hal iconv ieee1394 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kdevelop lua lzo midi mmx mng mp3 mtrr mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php png pnp pppd python qt3 qt4 readline reflection samba session slang spl sse sse2 sse3 ssl ssse3 sysfs tcpd tiff unicode usb vcd vidix vorbis x86 xine xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="asusdh dvico" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(chroot) livecd / # gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.3.2
(chroot) livecd / #

posle update world , vot takay oshibka

checking whether ln works... yes
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
*
* ERROR: sys-devel/gcc-4.3.2-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4751: Called toolchain_src_compile
* environment, line 5272: Called gcc_src_compile
* environment, line 3041: Called gcc_do_configure
* environment, line 2755: Called die
* The specific snippet of code:
* "${S}"/configure "$@" || die "failed to run configure";
* The die message:
* failed to run configure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
*

>>> Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:

>>> '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

* Messages for package sys-devel/gcc-4.3.2-r3:

*
* ERROR: sys-devel/gcc-4.3.2-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4751: Called toolchain_src_compile
* environment, line 5272: Called gcc_src_compile
* environment, line 3041: Called gcc_do_configure
* environment, line 2755: Called die
* The specific snippet of code:
* "${S}"/configure "$@" || die "failed to run configure";
* The die message:
* failed to run configure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
*

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

(chroot) livecd / #

checking host system type...

checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
 * 
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4749:  Called toolchain_src_compile
 *             environment, line 5270:  Called gcc_src_compile
 *             environment, line 3039:  Called gcc_do_configure
 *             environment, line 2753:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die "failed to run configure";
 *  The die message:
 *   failed to run configure
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 * 

>>> Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

 * Messages for package sys-devel/gcc-4.3.2-r3:

 * 
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4749:  Called toolchain_src_compile
 *             environment, line 5270:  Called gcc_src_compile
 *             environment, line 3039:  Called gcc_do_configure
 *             environment, line 2753:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "$@" || die "failed to run configure";
 *  The die message:
 *   failed to run configure
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.


 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 * 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
(chroot) livecd / # gcc-config -l
 * gcc-config: Active gcc profile is invalid!
 [1] i686-pc-linux-gnu-4.3.2
(chroot) livecd / # 
(chroot) livecd / # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.6.7 (default/linux/x86/2008.0, [unavailable], glibc-2.8_p20080602-r1, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 
Timestamp of tree: Sat, 11 Apr 2009 15:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage /usr/local/portage/flash"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl alsa amr apache2 audiofile bash-completion berkdb bzip2 cdr cli cracklib crypt cups dbus djvu dri dvd dxr3 esd flac fortran gdbm gif glib gpm gtk hal iconv ieee1394 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kdevelop lua lzo midi mmx mng mp3 mtrr mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php png pnp pppd python qt3 qt4 readline reflection samba session slang spl sse sse2 sse3 ssl ssse3 sysfs tcpd tiff unicode usb vcd vidix vorbis x86 xine xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="asusdh dvico" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(chroot) livecd / # 

posle update world vihodit takay oshibka

Что бы ты не делал , жизнь слишком коротка!
Блог о BSD системах.

fxm написал(а):checking

fxm написал(а):
checking whether the C compiler (gcc -O2 -march=i686 -pipe -Wl,-O1) works... no

В CFLAGS после -Wl запятая, потому и компилятор недоволен.

Кажеться пахнет булочками ...

4.1.2

tar kak bit , y menay vrode c zapetoi net problem ,ay reshil pereiti na 4.1.2

Что бы ты не делал , жизнь слишком коротка!
Блог о BSD системах.

Оно так и должно быть.

Оно так и должно быть.

такая ошибка

такая ошибка у меня была дважды...
один раз, когда gcc удалил случайно, не помню, как восстановил
второй раз еще более обидно, переставить систему пришлось, но она у меня голая была, удалил случайно пакет binutils
http://www.gentoo.ru/node/13546
посмотри, пакеты у тебя стоят

emerge -pv gcc binutils

Hi

всем спасибо за помощь.
надо было просто выбрать gcc-config -1

(chroot) livecd / # gcc-config -l
 * gcc-config: Active gcc profile is invalid!
 [1] i686-pc-linux-gnu-4.3.2
(chroot) livecd / #
bagas@gentoo ~ $ gcc-config -l
 [1] i686-pc-linux-gnu-4.3.2 *
bagas@gentoo ~ $

теперь все нормально...потом вышла другая проблема не работали при старте Х девайсы клава и мышь ..тоже разобрался...

Что бы ты не делал , жизнь слишком коротка!
Блог о BSD системах.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".