From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EH2i6-0007bN-Ch for garchives@archives.gentoo.org; Sun, 18 Sep 2005 17:12:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8IH5toi028462; Sun, 18 Sep 2005 17:05:55 GMT Received: from eastrmmtao01.cox.net (eastrmmtao01.cox.net [68.230.240.38]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8IH2JA5031336 for <gentoo-user@lists.gentoo.org>; Sun, 18 Sep 2005 17:02:20 GMT Received: from [192.168.1.101] (really [70.171.8.190]) by eastrmmtao01.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050918170746.VOEW8829.eastrmmtao01.cox.net@[192.168.1.101]> for <gentoo-user@lists.gentoo.org>; Sun, 18 Sep 2005 13:07:46 -0400 From: Robert Crawford <flacycads@cox.net> Organization: Florida Cycads To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emerge -u world fails -- broke compiler? Date: Sun, 18 Sep 2005 13:06:43 -0400 User-Agent: KMail/1.8.2 References: <20050814173526.725.qmail@web31706.mail.mud.yahoo.com> <200509182041.43995.Ben@benjaminallen.co.uk> In-Reply-To: <200509182041.43995.Ben@benjaminallen.co.uk> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509181306.43245.flacycads@cox.net> X-Archives-Salt: 8d9f155d-85e1-4165-a7f1-4b3b927d5955 X-Archives-Hash: e80140927d352d3f44f0812bd3246f10 What is the output of: gcc-config -l (-l is a small L) and the output of: emerge --info Robert Crawford On Sunday 18 September 2005 03:41 pm, Ben@benjaminallen.co.uk wrote: > test > > On Sunday 14 August 2005 18:35, maxim wexler wrote: > > Hello everybody, > > > > This is another "C compiler cannot create executables > > error" :( There's a lot of stuff in the archive about > > it but nothing I've seen so far seems to suit my case. > > > > I ran emerge --sync successfully and then tried -uv > > world; it failed trying to compile sed-4.1.4 > > > > Sure enough, compiling Hello_World.c, did not produce > > the .o file > > > > Anyways, here's the /var/tmp/portage/../config.log: > > > > 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.1.4, which was > > generated by GNU Autoconf 2.59. Invocation command > > line was > > > > $ ./configure --prefix=/usr --host=i686-pc-linux-gnu > > --mandir=/usr/share/man --infodir=/usr/share/info > > --datadir=/usr/share --sysconfdir=/etc > > --localstatedir=/var/lib --enable-nls > > > > ## --------- ## > > ## Platform. ## > > ## --------- ## > > > > hostname = dayglo > > uname -m = i686 > > uname -r = 2.6.11-gentoo-r3 > > uname -s = Linux > > uname -v = #3 Wed Aug 3 11:42:53 Local time zone must > > be set--see zic manua > > > > /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+ > > /bin/uname -X = unknown > > > > /bin/arch = i686 > > /usr/bin/arch -k = unknown > > /usr/convex/getsysinfo = unknown > > hostinfo = unknown > > /bin/machine = unknown > > /usr/bin/oslevel = unknown > > /bin/universe = unknown > > > > PATH: /sbin > > PATH: /usr/sbin > > PATH: /usr/lib/portage/bin > > PATH: /bin > > PATH: /usr/bin > > PATH: /usr/local/bin > > PATH: /opt/bin > > PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5 > > PATH: /opt/ati/bin > > PATH: /usr/qt/3/bin > > PATH: /usr/kde/3.4/sbin > > PATH: /usr/kde/3.4/bin > > > > > > ## ----------- ## > > ## Core tests. ## > > ## ----------- ## > > > > configure:1376: checking for a BSD-compatible install > > configure:1431: result: /bin/install -c > > configure:1442: checking whether build environment is > > sane > > configure:1485: result: yes > > configure:1550: checking for gawk > > configure:1566: found /bin/gawk > > configure:1576: result: gawk > > configure:1586: checking whether make sets $(MAKE) > > configure:1606: result: yes > > configure:1682: checking for i686-pc-linux-gnu-strip > > configure:1711: result: no > > configure:1720: checking for strip > > configure:1736: found /usr/bin/strip > > configure:1747: result: strip > > configure:1791: checking for i686-pc-linux-gnu-gcc > > configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc > > configure:1817: result: i686-pc-linux-gnu-gcc > > configure:2099: checking for C compiler version > > configure:2102: i686-pc-linux-gnu-gcc --version > > </dev/null >&5 > > i686-pc-linux-gnu-gcc (GCC) 3.3.5 (Gentoo Linux > > 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) > > Copyright (C) 2003 Free Software Foundation, Inc. > > This is free software; see the source for copying > > conditions. There is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR > > A PARTICULAR PURPOSE. > > > > configure:2105: $? = 0 > > configure:2107: i686-pc-linux-gnu-gcc -v </dev/null > > > > >&5 > > > > Reading specs from > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs > > Configured with: > > /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure > > --enable-version-specific-runtime-libs --prefix=/usr > > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 > > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include > > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 > > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man > > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info > > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g > >++ -v3 --host=i686-pc-linux-gnu --disable-altivec > > --enable-nls --without-included-gettext > > --enable-__cxa_atexit --enable-clocale=gnu > > --with-system-zlib --disable-checking --disable-werror > > --disable-libunwind-exceptions --enable-shared > > --enable-threads=posix --disable-multilib > > --disable-libgcj --enable-languages=c,c++ > > Thread model: posix > > gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, > > ssp-3.3.2-3, pie-8.7.7.1) > > configure:2110: $? = 0 > > configure:2112: i686-pc-linux-gnu-gcc -V </dev/null > > > > >&5 > > > > i686-pc-linux-gnu-gcc: `-V' option must have argument > > configure:2115: $? = 1 > > configure:2138: checking for C compiler default output > > file name > > configure:2141: i686-pc-linux-gnu-gcc -O2 -march=i686 > > -fomit-frame-pointer conftest.c >&5 > > cc1: /usr/local/include: Not a directory > > configure:2144: $? = 1 > > > > configure: failed program was: > > | /* confdefs.h. */ > > | > > | #define PACKAGE_NAME "sed" > > | #define PACKAGE_TARNAME "sed" > > | #define PACKAGE_VERSION "4.1.4" > > | #define PACKAGE_STRING "sed 4.1.4" > > | #define PACKAGE_BUGREPORT "bonzini@gnu.org" > > | #define PACKAGE "sed" > > | #define VERSION "4.1.4" > > | #define SED_FEATURE_VERSION "4.1" > > | /* end confdefs.h. */ > > | > > | int > > | main () > > | { > > | > > | ; > > | return 0; > > | } > > > > configure:2183: 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='-O2 -march=i686 > > -fomit-frame-pointer' > > 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= > > ac_cv_env_LDFLAGS_value= > > ac_cv_env_build_alias_set= > > ac_cv_env_build_alias_value= > > ac_cv_env_host_alias_set=set > > ac_cv_env_host_alias_value=i686-pc-linux-gnu > > ac_cv_env_target_alias_set= > > ac_cv_env_target_alias_value= > > ac_cv_path_install='/bin/install -c' > > ac_cv_prog_AWK=gawk > > ac_cv_prog_CC=i686-pc-linux-gnu-gcc > > ac_cv_prog_ac_ct_STRIP=strip > > ac_cv_prog_make_make_set=yes > > > > ## ----------------- ## > > ## Output variables. ## > > ## ----------------- ## > > > > ACLOCAL='${SHELL} > > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing > > --run aclocal-1.9' > > ALLOCA='' > > AMDEPBACKSLASH='' > > AMDEP_FALSE='' > > AMDEP_TRUE='' > > AMTAR='${SHELL} > > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing > > --run tar' > > AUTOCONF='${SHELL} > > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing > > --run autoconf' > > AUTOHEADER='${SHELL} > > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing > > --run autoheader' > > AUTOMAKE='${SHELL} > > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing > > --run automake-1.9' > > AWK='gawk' > > BUILD_HTML_FALSE='' > > BUILD_HTML_TRUE='' > > BUILD_INCLUDED_LIBINTL='' > > CATOBJEXT='' > > CC='i686-pc-linux-gnu-gcc' > > CCDEPMODE='' > > CFLAGS='-O2 -march=i686 -fomit-frame-pointer' > > CPP='' > > CPPFLAGS='' > > CYGPATH_W='echo' > > DATADIRNAME='' > > DEFS='' > > DEPDIR='' > > ECHO_C='' > > ECHO_N='-n' > > ECHO_T='' > > EGREP='' > > EXEEXT='' > > GENCAT='' > > GLIBC21='' > > GMSGFMT='' > > HAVE__BOOL='' > > INSTALL_DATA='${INSTALL} -m 644' > > INSTALL_PROGRAM='${INSTALL}' > > INSTALL_SCRIPT='${INSTALL}' > > INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' > > INSTOBJEXT='' > > INTLBISON='' > > INTLLIBS='' > > INTLOBJS='' > > INTL_LIBTOOL_SUFFIX_PREFIX='' > > LDFLAGS='' > > LIBICONV='' > > LIBINTL='' > > LIBOBJS='' > > LIBS='' > > LTLIBICONV='' > > LTLIBINTL='' > > LTLIBOBJS='' > > MAKEINFO='${SHELL} > > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing > > --run makeinfo' > > MAKEINFO_HTML_FALSE='' > > MAKEINFO_HTML_TRUE='' > > MKINSTALLDIRS='' > > MSGFMT='' > > MSGMERGE='' > > OBJEXT='' > > PACKAGE='sed' > > PACKAGE_BUGREPORT='bonzini@gnu.org' > > PACKAGE_NAME='sed' > > PACKAGE_STRING='sed 4.1.4' > > PACKAGE_TARNAME='sed' > > PACKAGE_VERSION='4.1.4' > > PATH_SEPARATOR=':' > > POSUB='' > > RANLIB='' > > SED_FEATURE_VERSION='4.1' > > SET_MAKE='' > > SHELL='/bin/sh' > > STRIP='strip' > > TEST_REGEX_FALSE='' > > TEST_REGEX_TRUE='' > > TEXI2HTML='' > > TEXI2HTML_HTML_FALSE='' > > TEXI2HTML_HTML_TRUE='' > > USE_INCLUDED_LIBINTL='' > > USE_NLS='' > > VERSION='4.1.4' > > XGETTEXT='' > > ac_ct_CC='' > > ac_ct_RANLIB='' > > ac_ct_STRIP='strip' > > am__fastdepCC_FALSE='' > > am__fastdepCC_TRUE='' > > am__include='' > > am__leading_dot='.' > > am__quote='' > > am__tar='${AMTAR} chof - "$$tardir"' > > am__untar='${AMTAR} xf -' > > bindir='${exec_prefix}/bin' > > build='' > > build_alias='' > > build_cpu='' > > build_os='' > > build_vendor='' > > datadir='/usr/share' > > exec_prefix='NONE' > > host='i686-pc-linux-gnu' > > host_alias='i686-pc-linux-gnu' > > host_cpu='' > > host_os='' > > host_vendor='' > > includedir='${prefix}/include' > > infodir='/usr/share/info' > > install_sh='/var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/install-sh' > > libdir='${exec_prefix}/lib' > > libexecdir='${exec_prefix}/libexec' > > localstatedir='/var/lib' > > mandir='/usr/share/man' > > mkdir_p='mkdir -p --' > > oldincludedir='/usr/include' > > prefix='/usr' > > program_transform_name='s,x,x,' > > sbindir='${exec_prefix}/sbin' > > sharedstatedir='${prefix}/com' > > sysconfdir='/etc' > > target_alias='' > > > > ## ----------- ## > > ## confdefs.h. ## > > ## ----------- ## > > > > #define PACKAGE "sed" > > #define PACKAGE_BUGREPORT "bonzini@gnu.org" > > #define PACKAGE_NAME "sed" > > #define PACKAGE_STRING "sed 4.1.4" > > #define PACKAGE_TARNAME "sed" > > #define PACKAGE_VERSION "4.1.4" > > #define SED_FEATURE_VERSION "4.1" > > #define VERSION "4.1.4" > > > > configure: exit 77 > > > > -mw > > > > > > > > > > ____________________________________________________ > > Start your day with Yahoo! - make it your home page > > http://www.yahoo.com/r/hs -- gentoo-user@gentoo.org mailing list