Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] GCC gone bad! Help!
Date: Thu, 19 Nov 2009 18:52:08
Message-Id: 1258656682.14715.29.camel@camille.espersunited.com
1 I've started seeing this line after failed emerges:
2
3
4
5 checking for C compiler default output file name... configure: error: C
6 compiler cannot create executables
7
8 Checking gcc-config returns this:
9 carter sys-devel # gcc-config -l
10 * gcc-config: Active gcc profile is invalid!
11 [1] i686-pc-linux-gnu-4.3.4
12
13
14 How can I get gcc back? Here's some other information on the system:
15 carter ~ # emerge --info
16 !!! No gcc found. You probably need to 'source /etc/profile'
17 !!! to update the environment of this terminal and possibly
18 !!! other terminals also.
19 Portage 2.1.6.13 (default/linux/x86/10.0/desktop, [unavailable],
20 glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
21 =================================================================
22 System uname:
23 Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-1.12.13
24 Timestamp of tree: Thu, 19 Nov 2009 06:00:01 +0000
25 distcc 3.1 i686-pc-linux-gnu [disabled]
26 app-shells/bash: 4.0_p28
27 dev-java/java-config: 2.1.9-r1
28 dev-lang/python: 2.6.2-r1
29 sys-apps/baselayout: 1.12.13
30 sys-apps/sandbox: 1.6-r2
31 sys-devel/autoconf: 2.63-r1
32 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2
33 sys-devel/binutils: 2.18-r3
34 sys-devel/gcc-config: 1.4.1
35 sys-devel/libtool: 2.2.6a
36 virtual/os-headers: 2.6.27-r2
37 ACCEPT_KEYWORDS="x86"
38 CBUILD="i686-pc-linux-gnu"
39 CFLAGS="-O2 -march=i686 -pipe"
40 CHOST="i686-pc-linux-gnu"
41 CONFIG_PROTECT="/etc /var/bind"
42 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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
43 CXXFLAGS="-O2 -march=i686 -pipe"
44 DISTDIR="/usr/portage/distfiles"
45 EMERGE_DEFAULT_OPTS="--with-bdeps y"
46 FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox
47 sfperms strict unmerge-orphans userfetch"
48 GENTOO_MIRRORS="http://distfiles.gentoo.org
49 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
50 LDFLAGS="-Wl,-O1"
51 LINGUAS="en es fr"
52 MAKEOPTS="-j2"
53 PKGDIR="/usr/portage-packages/carter"
54 PORTAGE_CONFIGROOT="/"
55 PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
56 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
57 --compress --force --whole-file --delete --stats --timeout=180
58 --exclude=/distfiles --exclude=/local --exclude=/packages"
59 PORTAGE_TMPDIR="/var/tmp"
60 PORTDIR="/usr/portage"
61 PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bscharpf"
62 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
63 USE="X a52 aac acl acpi alsa apache2 apm bash-completion berkdb
64 bind-mysql bluetooth branding bzip2 cairo cdr cli consolekit cracklib
65 crypt cups dbus dhcp doc dri dts dvd dvdr eds emboss encode evo examples
66 exim fam firefox flac foomaticdb fortran gdbm geoip gif gnome gpm
67 gstreamer gtk hal iconv imap imlib innodb ipv6 ithreads jadetex java
68 jpeg kde ldap libclamav libg++ libnotify libwww mad mikmod mmx
69 mode-owner modules mp3 mp4 mpeg mpm-leader mudflap mysql ncurses
70 networking nls nptl nptlonly oav offensive ogg opengl openmp pam pcre
71 pdf perl perlsuid png ppds pppd python qt3 qt3support qt4 quicktime
72 readline reflection ruby samba sdl search server session slp spell spl
73 ssl startup-notification svg sysfs syslog tcpd tetex threads thunar tiff
74 tk truetype unicode usb virus-scan vorbis win32codecs x264 x86 xml xorg
75 xulrunner xv xvid zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp
76 atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938
77 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
78 via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy
79 dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
80 linear meter mmap_emul mulaw multi null plug rate route share shm
81 softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
82 authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
83 authz_groupfile authz_host authz_owner authz_user autoindex cache dav
84 dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
85 filter headers include info log_config logio mem_cache mime mime_magic
86 negotiation rewrite setenvif speling status unique_id userdir usertrack
87 vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
88 KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
89 lcdm001 mtxorb ncurses text" LINGUAS="en es fr" USERLAND="GNU"
90 VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage
91 sis tdfx trident vesa vga via vmware voodoo"
92 Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL,
93 PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
94
95 carter ~ # ls -l /etc/make.profile
96 lrwxrwxrwx 1 root root 52 Nov 19 12:47 /etc/make.profile
97 -> /usr/portage/profiles/default/linux/x86/10.0/desktop
98
99 Please help! This has happened on two of my three systems so far...

Replies

Subject Author
Re: [gentoo-user] GCC gone bad! Help! Fernando Antunes <fs.antunes@×××××.com>
Re: [gentoo-user] GCC gone bad! Help! James Ausmus <james.ausmus@×××××.com>
[gentoo-user] Re: GCC gone bad! Help! walt <w41ter@×××××.com>
Re: [gentoo-user] GCC gone bad! Help! Paul Hartman <paul.hartman+gentoo@×××××.com>