I hit a stopping place while trying to build up from Section 5
Constructing a Temporary System.
The binutils-2.24 pass 1 built just fine
But the GCC-4.8.2 - Pass 1 stopped immediately when it hit stage 2 build
and exited with an exit code: 77
Are some files missing? If so, where do they need to be? What about
the unrecognized command line option "-V" ?
Thanks for your help.
Randall
The config file from the $LFS/gcc-build/intl folder is given below:
----------------
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.64. Invocation command line was
$ /lfs/gcc-4.8.2/intl/configure --cache-file=./config.cache
--prefix=/tools --with-sysroot=/lfs --with-newlib --without-headers
--with-local-prefix=/tools
--with-native-system-header-dir=/tools/include --disable-nls
--disable-shared --disable-multilib --disable-decimal-float
--disable-threads --disable-libatomic --disable-libgomp --disable-libitm
--disable-libmudflap --disable-libquadmath --disable-libsanitizer
--disable-libssp --disable-libstdc++-v3
--with-mpfr-include=/lfs/gcc-build/../gcc-4.8.2/mpfr/src
--with-mpfr-lib=/lfs/gcc-build/mpfr/src/.libs
--enable-languages=c,c++,lto --program-transform-name=s,y,y,
--disable-option-checking --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu
--srcdir=../../gcc-4.8.2/intl --with-build-libsubdir=.
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = x86_64
uname -r = 3.11.10-17-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon Jun 16 15:28:13 UTC 2014 (fba7c1f)
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /tools/bin
PATH: /bin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2098: creating cache ./config.cache
configure:2179: checking whether make sets $(MAKE)
configure:2201: result: yes
configure:2247: checking for a BSD-compatible install
configure:2315: result: /usr/bin/install -c
configure:2340: checking whether NLS is requested
configure:2349: result: no
configure:2387: checking for msgfmt
configure:2418: result: /usr/bin/msgfmt
configure:2427: checking for gmsgfmt
configure:2458: result: /usr/bin/msgfmt
configure:2498: checking for xgettext
configure:2529: result: /usr/bin/xgettext
configure:2569: checking for msgmerge
configure:2599: result: /usr/bin/msgmerge
configure:2642: checking for x86_64-unknown-linux-gnu-gcc
configure:2669: result: /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include
configure:2938: checking for C compiler version
configure:2947: /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include --version >&5
xgcc (GCC) 4.8.2
Copyright (C) 2013 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:2958: $? = 0
configure:2947: /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include -v >&5
Reading specs from /lfs/gcc-build/./prev-gcc/specs
COLLECT_GCC=/lfs/gcc-build/./prev-gcc/xgcc
COLLECT_LTO_WRAPPER=/lfs/gcc-build/./prev-gcc/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8.2/configure --target= --prefix=/tools
--with-sysroot=/lfs --with-newlib --without-headers
--with-local-prefix=/tools
--with-native-system-header-dir=/tools/include --disable-nls
--disable-shared --disable-multilib --disable-decimal-float
--disable-threads --disable-libatomic --disable-libgomp --disable-libitm
--disable-libmudflap --disable-libquadmath --disable-libsanitizer
--disable-libssp --disable-libstdc++-v3 --enable-languages=c,c++
--with-mpfr-include=/lfs/gcc-build/../gcc-4.8.2/mpfr/src
--with-mpfr-lib=/lfs/gcc-build/mpfr/src/.libs
Thread model: single
gcc version 4.8.2 (GCC)
configure:2958: $? = 0
configure:2947: /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:2958: $? = 1
configure:2947: /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:2958: $? = 1
configure:2978: checking for C compiler default output file name
configure:3000: /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include -g -O2 -gtoggle
-static-libstdc++ -static-libgcc conftest.c >&5
/tools/x86_64-unknown-linux-gnu/bin/ld: cannot find crt1.o: No such file
or directory
/tools/x86_64-unknown-linux-gnu/bin/ld: cannot find crti.o: No such file
or directory
/tools/x86_64-unknown-linux-gnu/bin/ld: cannot find -lc
/tools/x86_64-unknown-linux-gnu/bin/ld: cannot find crtn.o: No such file
or directory
collect2: error: ld returned 1 exit status
configure:3004: $? = 1
configure:3041: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3047: error: in `/lfs/gcc-build/intl':
configure:3051: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=' /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include '
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -gtoggle'
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='-static-libstdc++ -static-libgcc '
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-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-unknown-linux-gnu
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_prog_CC=' /lfs/gcc-build/./prev-gcc/xgcc
-B/lfs/gcc-build/./prev-gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include '
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=''
ALLOCA=''
AUTOCONF=''
AUTOHEADER=''
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC=' /lfs/gcc-build/./prev-gcc/xgcc -B/lfs/gcc-build/./prev-gcc/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include '
CFLAGS='-g -O2 -gtoggle'
CPP=''
CPPFLAGS=''
DATADIRNAME=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GENCAT=''
GLIBC21=''
GMSGFMT='/usr/bin/msgfmt'
GREP=''
INCINTL=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LDFLAGS='-static-libstdc++ -static-libgcc '
LIBICONV=''
LIBINTL=''
LIBINTL_DEP=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT=''
MKINSTALLDIRS='$(top_builddir)/../../gcc-4.8.2/intl/../mkinstalldirs'
MSGFMT='/usr/bin/msgfmt'
MSGMERGE='/usr/bin/msgmerge'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSUB=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
USE_INCLUDED_LIBINTL=''
USE_NLS='no'
XGETTEXT='/usr/bin/xgettext'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/tools'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='x86_64-unknown-linux-gnu'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page