From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ip7Jd-00021V-GJ for garchives@archives.gentoo.org; Mon, 05 Nov 2007 19:08:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lA5J7pht013179; Mon, 5 Nov 2007 19:07:51 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lA5J7oKa013174 for ; Mon, 5 Nov 2007 19:07:50 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id BBB8C6580B for ; Mon, 5 Nov 2007 19:07:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.689 X-Spam-Level: X-Spam-Status: No, score=-1.689 required=5.5 tests=[AWL=0.910, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iTznln5dUKUs for ; Mon, 5 Nov 2007 19:07:42 +0000 (UTC) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by smtp.gentoo.org (Postfix) with ESMTP id 9F2B765898 for ; Mon, 5 Nov 2007 19:07:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [192.168.1.10] ([66.130.144.81]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0JR100BZGR8P6VP0@VL-MH-MR001.ip.videotron.ca> for gentoo-embedded@gentoo.org; Mon, 05 Nov 2007 13:55:38 -0500 (EST) Subject: [gentoo-embedded] C compiler cannot create executables From: Jean-Claude Gervais To: Gentoo-Embedded Organization: Emergent Date: Mon, 05 Nov 2007 13:55:37 -0500 Message-id: <1194288937.8164.10.camel@mercury.sprymusic> X-Mailer: Evolution 2.10.3 X-Archives-Salt: 52689a64-caf1-4ef7-b906-bc22e0f9b9f2 X-Archives-Hash: c81d7609ab1b0969abf36f0b6f5c24b0 I installed Gentoo on an AMD Geode by chrooting its flashcard hard-disk on a pentium4 machine. After installing everything and booting the system, I have exported the /usr/portage folder on my workstation so the Geode can continue to emerge programs without being taken offline and chrooted. But whatever program I try to emerge, the system gives the following error. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- checking for i586-gentoo-linux-uclibc-gcc... i586-gentoo-linux-uclibc-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- config log: -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- /var/tmp/portage/sys-devel/distcc-2.18.3-r10/work/distcc-2.18.3/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 distcc configure 2.18.3, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr --host=i586-gentoo-linux-uclibc --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-included-popt --build=i586-gentoo-linux-uclibc ## --------- ## ## Platform. ## ## --------- ## hostname = puma uname -m = i586 uname -r = 2.6.22-gentoo-r8 uname -s = Linux uname -v = #2 Mon Nov 5 16:26:05 UTC 2007 /usr/bin/uname -p = Geode(TM) Integrated Processor by National Semi /bin/uname -X = unknown /bin/arch = i586 /usr/bin/arch -k = i586 /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: /opt/bin PATH: /usr/i586-gentoo-linux-uclibc/gcc-bin/4.1.2 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1358: checking build system type configure:1376: result: i586-gentoo-linux-uclibc configure:1384: checking host system type configure:1398: result: i586-gentoo-linux-uclibc configure:1443: checking for i586-gentoo-linux-uclibc-gcc configure:1459: found /usr/bin/i586-gentoo-linux-uclibc-gcc configure:1469: result: i586-gentoo-linux-uclibc-gcc configure:1751: checking for C compiler version configure:1754: i586-gentoo-linux-uclibc-gcc --version &5 i586-gentoo-linux-uclibc-gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) Copyright (C) 2006 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:1757: $? = 0 configure:1759: i586-gentoo-linux-uclibc-gcc -v &5 Using built-in specs. Target: i586-gentoo-linux-uclibc Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/i586-gentoo-linux-uclibc/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/i586-gentoo-linux-uclibc/4.1.2/include --datadir=/usr/share/gcc-data/i586-gentoo-linux-uclibc/4.1.2 --mandir=/usr/share/gcc-data/i586-gentoo-linux-uclibc/4.1.2/man --infodir=/usr/share/gcc-data/i586-gentoo-linux-uclibc/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/i586-gentoo-linux-uclibc/4.1.2/include/g++-v4 --host=i586-gentoo-linux-uclibc --build=i586-gentoo-linux-uclibc --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i586 --enable-languages=c,c++ --enable-shared --enable-threads=posix --disable-__cxa_atexit --enable-target-optspace --enable-clocale=uclibc Thread model: posix gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2) configure:1762: $? = 0 configure:1764: i586-gentoo-linux-uclibc-gcc -V &5 i586-gentoo-linux-uclibc-gcc: '-V' option must have argument configure:1767: $? = 1 configure:1790: checking for C compiler default output file name configure:1793: i586-gentoo-linux-uclibc-gcc -Os conftest.c >&5 i586-gentoo-linux-uclibc-gcc: Internal error: Segmentation fault (program as) Please submit a full bug report. See for instructions. configure:1796: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "distcc" | #define PACKAGE_TARNAME "distcc" | #define PACKAGE_VERSION "2.18.3" | #define PACKAGE_STRING "distcc 2.18.3" | #define PACKAGE_BUGREPORT "distcc@lists.samba.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1835: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i586-gentoo-linux-uclibc ac_cv_build_alias=i586-gentoo-linux-uclibc ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-Os 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_PYTHON_set= ac_cv_env_PYTHON_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i586-gentoo-linux-uclibc ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i586-gentoo-linux-uclibc ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i586-gentoo-linux-uclibc ac_cv_host_alias=i586-gentoo-linux-uclibc ac_cv_prog_CC=i586-gentoo-linux-uclibc-gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## BUILD_POPT='' CC='i586-gentoo-linux-uclibc-gcc' CFLAGS='-Os' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GNOME_BIN='' GNOME_CFLAGS='' GNOME_LIBS='' GNOME_PACKAGES='' INSTALL_DATA='' INSTALL_GNOME='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='distcc@lists.samba.org' PACKAGE_NAME='distcc' PACKAGE_STRING='distcc 2.18.3' PACKAGE_TARNAME='distcc' PACKAGE_VERSION='2.18.3' PATH_SEPARATOR=':' PYTHON='' SET_MAKE='' SHELL='/bin/sh' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i586-gentoo-linux-uclibc' build_alias='i586-gentoo-linux-uclibc' build_cpu='i586' build_os='linux-uclibc' build_vendor='gentoo' datadir='/usr/share' docdir='${datadir}/doc/distcc' exec_prefix='NONE' host='i586-gentoo-linux-uclibc' host_alias='i586-gentoo-linux-uclibc' host_cpu='i586' host_os='linux-uclibc' host_vendor='gentoo' includedir='${prefix}/include' infodir='/usr/share/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='/var/lib' mandir='/usr/share/man' 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_BUGREPORT "distcc@lists.samba.org" #define PACKAGE_NAME "distcc" #define PACKAGE_STRING "distcc 2.18.3" #define PACKAGE_TARNAME "distcc" #define PACKAGE_VERSION "2.18.3" configure: exit 77 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- emerge --info: -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Portage 2.1.3.9 (uclibc/x86/2005.1, gcc-4.1.2, uclibc-0.9.28.3-r0, 2.6.22-gentoo-r8 i586) ================================================================= System uname: 2.6.22-gentoo-r8 i586 Geode(TM) Integrated Processor by National Semi Timestamp of tree: Thu, 25 Oct 2007 17:30:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r1 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i586-gentoo-linux-uclibc" CFLAGS="-Os" CHOST="i586-gentoo-linux-uclibc" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alsa bitmap-fonts cli cracklib dri midi minimal mmx mudflap ncurses openmp pcre readline reflection session spl truetype-fonts type1-fonts uclibc x86 xorg zlib" ALSA_CARDS="cs5535audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="chips" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- gcc-config -l: [1] i586-gentoo-linux-uclibc-4.1.2 * -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- What did I do wrong / what is not set properly? Thanks. J -- gentoo-embedded@gentoo.org mailing list