From: Jean-Claude Gervais <jc.gervais@videotron.ca>
To: Gentoo-Embedded <gentoo-embedded@lists.gentoo.org>
Subject: [gentoo-embedded] C compiler cannot create executables
Date: Mon, 05 Nov 2007 13:55:37 -0500 [thread overview]
Message-ID: <1194288937.8164.10.camel@mercury.sprymusic> (raw)
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 </dev/null >&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 </dev/null >&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 </dev/null >&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 <URL:http://bugs.gentoo.org/> 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
next reply other threads:[~2007-11-05 19:08 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-05 18:55 Jean-Claude Gervais [this message]
2007-11-05 22:41 ` [gentoo-embedded] C compiler cannot create executables Peter Stuge
2007-11-05 23:50 ` Ned Ludd
2007-11-06 17:26 ` Jean-Claude Gervais
2007-11-06 17:46 ` Jason
2007-11-06 17:55 ` Jean-Claude Gervais
2007-11-06 17:59 ` Jean-Claude Gervais
2007-11-06 18:11 ` Jason
2007-11-06 19:55 ` Jean-Claude Gervais
2007-11-06 20:19 ` Jason
2007-11-06 20:31 ` Jean-Claude Gervais
2007-11-06 20:38 ` Jason
2007-11-06 20:48 ` Jean-Claude Gervais
2007-11-06 20:55 ` Jason
2007-11-06 0:50 ` Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2009-09-17 18:30 Stephen Feyrer
2009-09-17 23:28 ` Peter Stuge
2009-09-18 8:49 ` Stephen Feyrer
2009-09-18 13:03 ` David Ford
2009-09-19 8:35 ` Stephen Feyrer
2009-09-19 15:26 ` David Ford
2009-09-20 8:55 ` Stephen Feyrer
2009-09-19 14:15 ` Mike Frysinger
2009-09-19 15:28 ` David Ford
2009-09-20 9:10 ` Stephen Feyrer
2009-09-20 8:51 ` Stephen Feyrer
2009-09-22 21:40 ` Stephen Feyrer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1194288937.8164.10.camel@mercury.sprymusic \
--to=jc.gervais@videotron.ca \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox