View previous topic :: View next topic |
Author |
Message |
a13x Apprentice
Joined: 05 Jan 2005 Posts: 215
|
Posted: Sat Jan 29, 2005 6:26 pm Post subject: Compiler cannot create executables - bootstrap [SOLVED] |
|
|
I'm trying to reinstall Gentoo here with nptl and reiser4 but I always get the "compiler cannot create executables" error when I bootstrap. I'm using lxnay's RR4 2.21 LiveCD.
Here is the actual error:
Code: |
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config.log
!!! ERROR: sys-devel/gettext-0.14.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
|
Here is the make.conf file:
Code: |
USE="3dnow aac acl acpi alsa apache2 x86 oss apm avi bash-completion
berkdb bitmap-fonts bonobo cdr crypt cups divx4linux dvdr encode fbcon
fortran f77 foomaticdb ftp gd gdbm ggi gif gpm gtk gtk2 hal imlib
gtkhtml java jpeg -kde gnome libg++ libwww lirc mad mikmod motif moznoxft mpeg
mmx mp3 nas netboot ncurses nls nptl nptlonly oggvorbis opengl pam pdflib png
python -qt quicktime readline samba sdl spell ssl sse svg svga tcpd truetype
unicode usb X xml2 xmms xv xvid yahoo zlib wmf want-experimental"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-frame-pointer"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
ACCEPT_KEYWORDS="~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
FETCHCOMMAND="/usr/bin/wget -t 7 --passive-ftp \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c -t 7 --passive-ftp \${URI} -P \${DISTDIR}"
GENTOO_MIRRORS="ftp://ftp.proxad.net/pub/Distributions_Linux/Gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
RSYNC_RETRIES="5"
RSYNC_TIMEOUT=180
MAKEOPTS="-j2"
AUTOCLEAN="yes"
CCACHE_SIZE="1G"
RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
CONFIG_PROTECT="-*"
#PORTDIR_OVERLAY="/usr/local/portage"
#FETCHCOMMAND="/usr/local/bin/getdelta.sh \${URI}"
#LDFLAGS="-Wl,-O1"
|
And here is the config.log
Code: |
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, 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 --without-java --without-included-gettext --enable-nls
## --------- ##
## Platform. ##
## --------- ##
hostname = lxnaycd
uname -m = i686
uname -r = 2.6.10-lxnay3
uname -s = Linux
uname -v = #2 Tue Jan 18 20:35:28 UTC 2005
/usr/bin/uname -p = AMD Athlon(tm) XP 1800+
/bin/uname -X = unknown
/bin/arch = unknown
/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/i386-pc-linux-gnu/gcc-bin/3.3
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1380: checking for a BSD-compatible install
configure:1435: result: /bin/install -c
configure:1446: checking whether build environment is sane
configure:1489: result: yes
configure:1546: checking for gawk
configure:1562: found /bin/gawk
configure:1572: result: gawk
configure:1582: checking whether make sets $(MAKE)
configure:1602: result: yes
configure:1681: checking for i686-pc-linux-gnu-strip
configure:1710: result: no
configure:1719: checking for strip
configure:1735: found /usr/bin/strip
configure:1746: result: strip
configure:1783: checking build system type
configure:1801: result: i686-pc-linux-gnu
configure:1809: checking host system type
configure:1823: result: i686-pc-linux-gnu
configure:2292: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on lxnaycd
config.status:672: creating Makefile
configure:3160: configuring in autoconf-lib-link
configure:3277: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--without-java' '--without-included-gettext' '--enable-nls' 'CC=gcc' 'CFLAGS=-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-frame-pointer' 'CXXFLAGS=-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-frame-pointer -fvisibility-inlines-hidden' 'CXX=gcc' 'host_alias=i686-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure:3282: error: /bin/sh './configure' failed for autoconf-lib-link
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-frame-pointer -fvisibility-inlines-hidden'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=gcc
ac_cv_env_EMACSLOADPATH_set=
ac_cv_env_EMACSLOADPATH_value=
ac_cv_env_EMACS_set=
ac_cv_env_EMACS_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_GCJFLAGS_set=
ac_cv_env_GCJFLAGS_value=
ac_cv_env_GCJ_set=
ac_cv_env_GCJ_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_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config/missing --run aclocal-1.8'
AMTAR='${SHELL} /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config/missing --run tar'
AUTOCONF='${SHELL} /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CFLAGS='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-frame-pointer'
CPP=''
CPPFLAGS=''
CXX='gcc'
CXXCPP=''
CXXFLAGS='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -ffunction-inline -fomit-leaf-frame-pointer -fvisibility-inlines-hidden'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gettext\" -DVERSION=\"0.14.1\" '
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EMACS=''
EMACSLOADPATH=''
F77=''
FFLAGS=''
GCJ=''
GCJFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/config/missing --run makeinfo'
PACKAGE='gettext'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='0.14.1'
ac_ct_STRIP='strip'
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/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'
subdirs=' autoconf-lib-link gettext-runtime gettext-tools'
sysconfdir='/etc'
target_alias=''
configure: exit 1
|
Help !
Last edited by a13x on Sun Jan 30, 2005 2:52 pm; edited 1 time in total |
|
Back to top |
|
|
Xenon2050 n00b
Joined: 20 Oct 2004 Posts: 63
|
Posted: Sat Jan 29, 2005 6:43 pm Post subject: |
|
|
I'm getting the exact same problem and was told it might be related to the CFlags so you might want to check to make sure they are all spelled right etc... Also do a search for your subject line, there are a few other people having the same problem the the replies might help you. |
|
Back to top |
|
|
a13x Apprentice
Joined: 05 Jan 2005 Posts: 215
|
Posted: Sat Jan 29, 2005 8:08 pm Post subject: |
|
|
I double-checked my CFLAGS and they are Ok. I hope we find some guru guy that can help ... |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jan 29, 2005 8:11 pm Post subject: |
|
|
Well, you're using pretty cutting edge stuff and a livecd I hadn't heard of yet. I doubt you'll get a guru to listen to you...
You're in unchartered territory mate. But good luck anyway. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
a13x Apprentice
Joined: 05 Jan 2005 Posts: 215
|
Posted: Sat Jan 29, 2005 9:27 pm Post subject: |
|
|
This RR4 LiveCD is made by a guy named lxnay from these forums. Type "rr4 livecd" in the quicksearch and you will see what I'm talking about. Although it's cutting edge it should work. Other people have done it. So please use your guru powers and help me.
BTW, I checked the USE flags and they are not the problem. I even left out only one USE flag (ntpl) and that didn't help either. |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sun Jan 30, 2005 12:24 am Post subject: |
|
|
When the compiler says it can't create executables, it's pretty much always related to CFLAGS. Try toning them down, try different combinations, and try bootstrapping again. If you really want a bulletproof fast (in performance not in time to complete) install, why not try stage 1 on stage 3 nptl, and then patch your kernel for Reiser 4, or use the mm kernel sources. Here is a link. I did this install, and I'm using nptl, as well as a lot of CFLAG optimization, and I haven't had any problems.
https://forums.gentoo.org/viewtopic.php?t=274968&highlight= _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
morbid.inc n00b
Joined: 05 Jan 2005 Posts: 3
|
Posted: Sun Jan 30, 2005 8:45 am Post subject: |
|
|
i t exactly the same problem while bootstrapping (paket gettext-... )
i use the live_cd 2004.3, an amd64 on 64bit.
i reinstalled my gentoo because i wanted to have a clear system for the new ati-drivers. but i cannot bootstrap because of this.
so i hope now we are worth getting helped ;) |
|
Back to top |
|
|
a13x Apprentice
Joined: 05 Jan 2005 Posts: 215
|
Posted: Sun Jan 30, 2005 11:58 am Post subject: |
|
|
I removed the last 2 CFLAGS in my make.conf. It seems that they are available in GCC 3.4.3 but not in 3.3.4. Now bootstraping works but I think I'm going to try that stage 1 on stage 3 install method.
The conclusion is: Never use anything else than "-march=your_cpu_architecture -pipe -OX -fomit-frame-pointer" when you are bootstraping for the first time. |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sun Jan 30, 2005 8:05 pm Post subject: |
|
|
morbid.inc, alot of cflags really only work well on the x86 chipset. I wouldn't be suprised if alot of the heavily optimized cflags you see around won't work on amd64. As far as your conclusionn a13x, I wouldn't go that far, you just have to be prepared to do some troubleshooting, which is a small price to pay for a lightning fast system. You also have to know what gcc version your using, and what flags it supports, which was your problem. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
ARC2300 Apprentice
Joined: 30 Mar 2003 Posts: 265
|
Posted: Mon Feb 07, 2005 1:24 am Post subject: |
|
|
Awesome!!! Thanks!!!
I didn't realize that the CFLAGS could cause that issue. _________________ It's fun to take a trip
Put acid in your veins |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|