Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC Broken - C Compiler cannot create executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
EdwardAtGentoo
n00b
n00b


Joined: 10 Nov 2003
Posts: 16

PostPosted: Thu Jul 23, 2009 2:54 am    Post subject: GCC Broken - C Compiler cannot create executables Reply with quote

I'm unable to emerge anything on my system anymore. Any help would be appreciated.

Here is an example of the error I get while trying to re-emerge sed:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Here is the config.log from that error:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by sed configure 4.2, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --bindir=/bin --enable-acl --enable-nls

## --------- ##
## Platform. ##
## --------- ##

hostname = xxxxx
uname -m = x86_64
uname -r = 2.6.28-hardened-r7
uname -s = Linux
uname -v = #6 SMP Sat Jun 27 10:38:07 MDT 2009

/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3000+
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2203: checking for a BSD-compatible install
configure:2259: result: /usr/bin/install -c
configure:2270: checking whether build environment is sane
configure:2313: result: yes
configure:2341: checking for a thread-safe mkdir -p
configure:2380: result: /bin/mkdir -p
configure:2393: checking for gawk
configure:2409: found /bin/gawk
configure:2420: result: gawk
configure:2431: checking whether make sets $(MAKE)
configure:2452: result: yes
configure:2657: checking for x86_64-pc-linux-gnu-gcc
configure:2673: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2684: result: x86_64-pc-linux-gnu-gcc
configure:2962: checking for C compiler version
configure:2969: x86_64-pc-linux-gnu-gcc --version >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2972: $? = 1
configure:2979: x86_64-pc-linux-gnu-gcc -v >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2982: $? = 1
configure:2989: x86_64-pc-linux-gnu-gcc -V >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2992: $? = 1
configure:3015: checking for C compiler default output file name
configure:3042: x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -Wl,-O1 conftest.c >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:3045: $? = 1
configure:3083: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "sed"
| #define PACKAGE_TARNAME "sed"
| #define PACKAGE_VERSION "4.2"
| #define PACKAGE_STRING "sed 4.2"
| #define PACKAGE_BUGREPORT "bug-gnu-utils@gnu.org"
| #define PACKAGE "sed"
| #define VERSION "4.2"
| #define SED_FEATURE_VERSION "4.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3090: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=k8 -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/missing --run aclocal-1.10'
ALLOCA=''
ALLOCA_H=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/missing --run tar'
APPLE_UNIVERSAL_BUILD=''
AUTOCONF='${SHELL} /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/missing --run automake-1.10'
AWK='gawk'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=k8 -O2 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EMULTIHOP_HIDDEN=''
EMULTIHOP_VALUE=''
ENOLINK_HIDDEN=''
ENOLINK_VALUE=''
EOVERFLOW_HIDDEN=''
EOVERFLOW_VALUE=''
ERRNO_H=''
EXEEXT=''
GETOPT_H=''
GETTEXT_MACRO_VERSION=''
GLIBC21=''
GL_COND_LIBTOOL_FALSE=''
GL_COND_LIBTOOL_TRUE=''
GMSGFMT=''
GMSGFMT_015=''
GNULIB_ATOLL=''
GNULIB_BTOWC=''
GNULIB_CALLOC_POSIX=''
GNULIB_CHOWN=''
GNULIB_CLOSE=''
GNULIB_DPRINTF=''
GNULIB_DUP2=''
GNULIB_ENVIRON=''
GNULIB_EUIDACCESS=''
GNULIB_FCHDIR=''
GNULIB_FCLOSE=''
GNULIB_FFLUSH=''
GNULIB_FOPEN=''
GNULIB_FPRINTF=''
GNULIB_FPRINTF_POSIX=''
GNULIB_FPUTC=''
GNULIB_FPUTS=''
GNULIB_FREOPEN=''
GNULIB_FSEEK=''
GNULIB_FSEEKO=''
GNULIB_FSYNC=''
GNULIB_FTELL=''
GNULIB_FTELLO=''
GNULIB_FTRUNCATE=''
GNULIB_FWRITE=''
GNULIB_GETCWD=''
GNULIB_GETDELIM=''
GNULIB_GETDOMAINNAME=''
GNULIB_GETDTABLESIZE=''
GNULIB_GETHOSTNAME=''
GNULIB_GETLINE=''
GNULIB_GETLOADAVG=''
GNULIB_GETLOGIN_R=''
GNULIB_GETPAGESIZE=''
GNULIB_GETSUBOPT=''
GNULIB_GETUSERSHELL=''
GNULIB_LCHMOD=''
GNULIB_LCHOWN=''
GNULIB_LINK=''
GNULIB_LSEEK=''
GNULIB_LSTAT=''
GNULIB_MALLOC_POSIX=''
GNULIB_MBRLEN=''
GNULIB_MBRTOWC=''
GNULIB_MBSCASECMP=''
GNULIB_MBSCASESTR=''
GNULIB_MBSCHR=''
GNULIB_MBSCSPN=''
GNULIB_MBSINIT=''
GNULIB_MBSLEN=''
GNULIB_MBSNCASECMP=''
GNULIB_MBSNLEN=''
GNULIB_MBSNRTOWCS=''
GNULIB_MBSPBRK=''
GNULIB_MBSPCASECMP=''
GNULIB_MBSRCHR=''
GNULIB_MBSRTOWCS=''
GNULIB_MBSSEP=''
GNULIB_MBSSPN=''
GNULIB_MBSSTR=''
GNULIB_MBSTOK_R=''
GNULIB_MEMMEM=''
GNULIB_MEMPCPY=''
GNULIB_MEMRCHR=''
GNULIB_MKDTEMP=''
GNULIB_MKSTEMP=''
GNULIB_OBSTACK_PRINTF=''
GNULIB_OBSTACK_PRINTF_POSIX=''
GNULIB_PERROR=''
GNULIB_PRINTF=''
GNULIB_PRINTF_POSIX=''
GNULIB_PUTC=''
GNULIB_PUTCHAR=''
GNULIB_PUTENV=''
GNULIB_PUTS=''
GNULIB_RANDOM_R=''
GNULIB_RAWMEMCHR=''
GNULIB_READLINK=''
GNULIB_REALLOC_POSIX=''
GNULIB_RPMATCH=''
GNULIB_SETENV=''
GNULIB_SLEEP=''
GNULIB_SNPRINTF=''
GNULIB_SPRINTF_POSIX=''
GNULIB_STDIO_H_SIGPIPE=''
GNULIB_STPCPY=''
GNULIB_STPNCPY=''
GNULIB_STRCASESTR=''
GNULIB_STRCHRNUL=''
GNULIB_STRDUP=''
GNULIB_STRERROR=''
GNULIB_STRNDUP=''
GNULIB_STRNLEN=''
GNULIB_STRPBRK=''
GNULIB_STRSEP=''
GNULIB_STRSIGNAL=''
GNULIB_STRSTR=''
GNULIB_STRTOD=''
GNULIB_STRTOK_R=''
GNULIB_STRTOLL=''
GNULIB_STRTOULL=''
GNULIB_STRVERSCMP=''
GNULIB_UNISTD_H_SIGPIPE=''
GNULIB_UNSETENV=''
GNULIB_VASPRINTF=''
GNULIB_VDPRINTF=''
GNULIB_VFPRINTF=''
GNULIB_VFPRINTF_POSIX=''
GNULIB_VPRINTF=''
GNULIB_VPRINTF_POSIX=''
GNULIB_VSNPRINTF=''
GNULIB_VSPRINTF_POSIX=''
GNULIB_WCRTOMB=''
GNULIB_WCSNRTOMBS=''
GNULIB_WCSRTOMBS=''
GNULIB_WCTOB=''
GNULIB_WCWIDTH=''
GNULIB_WRITE=''
GREP=''
HAVE_ATOLL=''
HAVE_BTOWC=''
HAVE_CALLOC_POSIX=''
HAVE_DECL_ENVIRON=''
HAVE_DECL_GETDELIM=''
HAVE_DECL_GETLINE=''
HAVE_DECL_GETLOADAVG=''
HAVE_DECL_GETLOGIN_R=''
HAVE_DECL_MEMMEM=''
HAVE_DECL_MEMRCHR=''
HAVE_DECL_OBSTACK_PRINTF=''
HAVE_DECL_SNPRINTF=''
HAVE_DECL_STRDUP=''
HAVE_DECL_STRERROR=''

HAVE_DECL_STRNDUP=''
HAVE_DECL_STRNLEN=''
HAVE_DECL_STRSIGNAL=''
HAVE_DECL_STRTOK_R=''
HAVE_DECL_VSNPRINTF=''
HAVE_DECL_WCTOB=''
HAVE_DECL_WCWIDTH=''
HAVE_DPRINTF=''
HAVE_DUP2=''
HAVE_EUIDACCESS=''
HAVE_FSEEKO=''
HAVE_FSYNC=''
HAVE_FTELLO=''
HAVE_FTRUNCATE=''
HAVE_GETDOMAINNAME=''
HAVE_GETDTABLESIZE=''
HAVE_GETHOSTNAME=''
HAVE_GETPAGESIZE=''
HAVE_GETSUBOPT=''
HAVE_GETUSERSHELL=''
HAVE_INTTYPES_H=''
HAVE_ISWCNTRL=''
HAVE_LCHMOD=''
HAVE_LINK=''
HAVE_LONG_LONG_INT=''
HAVE_LSTAT=''
HAVE_MALLOC_POSIX=''
HAVE_MBRLEN=''
HAVE_MBRTOWC=''
HAVE_MBSINIT=''
HAVE_MBSNRTOWCS=''
HAVE_MBSRTOWCS=''
HAVE_MEMPCPY=''
HAVE_MKDTEMP=''
HAVE_OS_H=''
HAVE_RANDOM_H=''
HAVE_RANDOM_R=''
HAVE_RAWMEMCHR=''
HAVE_READLINK=''
HAVE_REALLOC_POSIX=''
HAVE_RPMATCH=''
HAVE_SETENV=''
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_SLEEP=''
HAVE_STDINT_H=''
HAVE_STPCPY=''
HAVE_STPNCPY=''
HAVE_STRCASESTR=''
HAVE_STRCHRNUL=''
HAVE_STRNDUP=''
HAVE_STRPBRK=''
HAVE_STRSEP=''
HAVE_STRTOD=''
HAVE_STRTOLL=''
HAVE_STRTOULL=''
HAVE_STRUCT_RANDOM_DATA=''
HAVE_STRUCT_TIMEVAL=''
HAVE_STRVERSCMP=''
HAVE_SYS_BITYPES_H=''
HAVE_SYS_INTTYPES_H=''
HAVE_SYS_LOADAVG_H=''
HAVE_SYS_PARAM_H=''
HAVE_SYS_TIME_H=''
HAVE_SYS_TYPES_H=''
HAVE_UNISTD_H=''
HAVE_UNSETENV=''
HAVE_UNSIGNED_LONG_LONG_INT=''
HAVE_VASPRINTF=''
HAVE_VDPRINTF=''
HAVE_WCHAR_H=''
HAVE_WCRTOMB=''
HAVE_WCSNRTOMBS=''
HAVE_WCSRTOMBS=''
HAVE_WCTYPE_H=''
HAVE_WINT_T=''
HAVE__BOOL=''
INCLUDE_NEXT=''
INCLUDE_NEXT_AS_FIRST_DIRECTIVE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LDFLAGS='-Wl,-O1'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBSED_LIBDEPS=''
LIBSED_LTLIBDEPS=''
LIB_ACL=''
LOCALCHARSET_TESTS_ENVIRONMENT=''
LOCALE_FR=''
LOCALE_FR_UTF8=''
LOCALE_JA=''
LOCALE_ZH_CN=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/missing --run makeinfo'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NEXT_ERRNO_H=''
NEXT_STDINT_H=''
NEXT_STDIO_H=''
NEXT_STDLIB_H=''
NEXT_STRING_H=''
NEXT_SYS_STAT_H=''
NEXT_SYS_TIME_H=''
NEXT_UNISTD_H=''
NEXT_WCHAR_H=''
NEXT_WCTYPE_H=''
OBJEXT=''
PACKAGE='sed'
PACKAGE_BUGREPORT='bug-gnu-utils@gnu.org'
PACKAGE_NAME='sed'
PACKAGE_STRING='sed 4.2'
PACKAGE_TARNAME='sed'
PACKAGE_VERSION='4.2'
PATH_SEPARATOR=':'
POSUB=''
PRAGMA_SYSTEM_HEADER=''
PTRDIFF_T_SUFFIX=''
RANLIB=''
REPLACE_BTOWC=''
REPLACE_CHOWN=''
REPLACE_CLOSE=''
REPLACE_DPRINTF=''
REPLACE_FCHDIR=''
REPLACE_FCLOSE=''
REPLACE_FFLUSH=''
REPLACE_FOPEN=''
REPLACE_FPRINTF=''
REPLACE_FREOPEN=''
REPLACE_FSEEK=''
REPLACE_FSEEKO=''
REPLACE_FTELL=''
REPLACE_FTELLO=''
REPLACE_GETCWD=''
REPLACE_GETLINE=''
REPLACE_GETPAGESIZE=''
REPLACE_GETTIMEOFDAY=''
REPLACE_ISWCNTRL=''
REPLACE_LCHOWN=''
REPLACE_LSEEK=''
REPLACE_LSTAT=''
REPLACE_MBRLEN=''
REPLACE_MBRTOWC=''
REPLACE_MBSINIT=''
REPLACE_MBSNRTOWCS=''
REPLACE_MBSRTOWCS=''
REPLACE_MBSTATE_T=''
REPLACE_MEMMEM=''
REPLACE_MKDIR=''
REPLACE_MKSTEMP=''
REPLACE_OBSTACK_PRINTF=''
REPLACE_PERROR=''
REPLACE_PRINTF=''
REPLACE_PUTENV=''
REPLACE_SNPRINTF=''
REPLACE_SPRINTF=''
REPLACE_STDIO_WRITE_FUNCS=''
REPLACE_STRCASESTR=''
REPLACE_STRDUP=''
REPLACE_STRERROR=''
REPLACE_STRSIGNAL=''
REPLACE_STRSTR=''
REPLACE_STRTOD=''
REPLACE_VASPRINTF=''
REPLACE_VDPRINTF=''
REPLACE_VFPRINTF=''
REPLACE_VPRINTF=''
REPLACE_VSNPRINTF=''
REPLACE_VSPRINTF=''
REPLACE_WCRTOMB=''
REPLACE_WCSRTOMBS=''
REPLACE_WCTOB=''
REPLACE_WCWIDTH=''
REPLACE_WRITE=''
SED_FEATURE_VERSION='4.2'
SET_MAKE=''
SHELL='/bin/sh'
SIG_ATOMIC_T_SUFFIX=''
SIZE_T_SUFFIX=''
STDBOOL_H=''
STDINT_H=''
STRIP=''
SYS_STAT_H=''
SYS_TIME_H=''
TEST_REGEX_FALSE=''
TEST_REGEX_TRUE=''
UNISTD_H_HAVE_WINSOCK2_H=''
USE_ACL=''
USE_NLS=''
VERSION='4.2'
VOID_UNSETENV=''
WCHAR_H=''
WCHAR_T_SUFFIX=''
WCTYPE_H=''
WINT_T_SUFFIX=''
XFAIL_TESTS=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
ac_ct_CC=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gl_LIBOBJS=''
gl_LTLIBOBJS=''
gltests_LIBOBJS=''
gltests_LTLIBOBJS=''
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/sys-apps/sed-4.2/work/sed-4.2/build-aux/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "sed"
#define PACKAGE_TARNAME "sed"
#define PACKAGE_VERSION "4.2"
#define PACKAGE_STRING "sed 4.2"
#define PACKAGE_BUGREPORT "bug-gnu-utils@gnu.org"
#define PACKAGE "sed"
#define VERSION "4.2"
#define SED_FEATURE_VERSION "4.2"

configure: exit 77
Back to top
View user's profile Send private message
alunduil
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 96
Location: San Antonio, TX, USA

PostPosted: Thu Jul 23, 2009 3:02 am    Post subject: Reply with quote

What's the output of
Code:
gcc-config -l
?

Regards,

Alunduil
_________________
Rackspace Linux Administrator
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Jul 23, 2009 3:07 am    Post subject: Reply with quote

... and
Code:
emerge --info
Back to top
View user's profile Send private message
EdwardAtGentoo
n00b
n00b


Joined: 10 Nov 2003
Posts: 16

PostPosted: Thu Jul 23, 2009 3:21 am    Post subject: Reply with quote

Code:
 xxxxx ~ # gcc-config -l
* gcc-config: Active gcc profile is invalid!
 [1] x86_64-pc-linux-gnu-4.3.2


Code:
xxxxx ~ # 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.13 (default/linux/amd64/2008.0, [unavailable], glibc-2.9_p20081201-r2, 2.6.28-hardened-r7 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r7-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Wed, 22 Jul 2009 07:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv imap ipv6 isdnlog jpeg libwww logrotate maildir midi mmx mudflap multilib mysql ncurses nls nptl nptlonly offensive openmp pam pcre perl pppd python readline reflection sasl session spl sse sse2 ssl sysfs tcpd unicode vhosts xinetd xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Back to top
View user's profile Send private message
alunduil
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 96
Location: San Antonio, TX, USA

PostPosted: Thu Jul 23, 2009 3:23 am    Post subject: Reply with quote

Did you already change the GCC profile with the gcc-config command? And then did you source /etc/profile?

Regards,

Alunduil
_________________
Rackspace Linux Administrator
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2671
Location: here, there or in transit

PostPosted: Thu Jul 23, 2009 3:29 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

See GF20: C compiler cannot create executables in the FAQ forum.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum