Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] GCC gone bad! Help! [SOLVED] Michael Sullivan <msulli1355@×××××.com>