Trying to compile LinuxSamplers via g++ - linux

im quiet new to the compiling stuff. However, i tried to compile the LinuxSampler starting with libgig. I downloaded the Repositories, adjusted the "rules" (./config) file and so on, just as described there https://linuxsampler.org/debian.html . Well, it worked good enough that all .deb files were created and installed (at least i could pass the commands without getting error messages). Then i tried the same steps as i did for libgig package with linuxsampler packages, but i cannot create does .deb files.
I installed bison-2.3, any lib that caused any dependency problems and g++, debhelper, pkg-config, automake, autoconf, libtool, fakeroot.
The problem is, when i run dpkg-buildpackage -rfakeroot -b I get this.:
debian/rules build
dh_testdir
if [ -e Makefile.svn ] ; then \
/usr/bin/make -f Makefile.svn; \
fi
make[1]: Entering directory '/home/name/SoundSachen/linuxsampler'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/home/name/SoundSachen/linuxsampler'
chmod a+x configure
CFLAGS="-O2 -march=native -mss3 -fvectorize -pipe -m32" ./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in '/home/name/SoundSachen/linuxsampler':
configure: error: C compiler cannot create executables
See config.log' for more details
make: *** [debian/rules:26: configure-stamp] Error 77
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2`
This the file with the ./config and CFLAGS line:
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
if [ -e Makefile.svn ] ; then \
$(MAKE) -f Makefile.svn; \
fi
chmod a+x configure
CFLAGS="-O2 -march=native -mss3 -fvectorize -pipe -m32" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE)
# docbook-to-man debian/linuxsampler.sgml > linuxsampler.1
# $(MAKE)
# generate Doxygen API documentation
$(MAKE) docs
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
if [ -e Makefile.svn ] ; then \
$(MAKE) -f Makefile.svn; \
fi;
# Add here commands to clean up after the build process.
chmod a+x configure
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-$(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp.
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
mkdir -p debian/tmp/etc/ld.so.conf.d
echo /usr/lib/linuxsampler > debian/tmp/etc/ld.so.conf.d/linuxsampler.conf
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_install -a --list-missing
dh_installchangelogs -a ChangeLog
dh_installdocs -a
dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman man/linuxsampler.1
dh_link
# dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
dh_makeshlibs -pliblinuxsampler
dh_installdeb -a
dh_shlibdeps # -L linuxsampler -l debian/linuxsampler/usr/lib/linuxsampler
dh_shlibdeps -pliblinuxsampler
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
`Added conf.log below
Please help! Thanks:)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by linuxsampler configure 2.2.0.svn7, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info
## --------- ##
## Platform. ##
## --------- ##
hostname = okdude-HP-250-G6-Notebook-PC
uname -m = x86_64
uname -r = 5.4.0-91-generic
uname -s = Linux
uname -v = #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin/m4
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3119: checking for a BSD-compatible install
configure:3187: result: /usr/bin/install -c
configure:3198: checking whether build environment is sane
configure:3253: result: yes
configure:3402: checking for a thread-safe mkdir -p
configure:3441: result: /bin/mkdir -p
configure:3448: checking for gawk
configure:3478: result: no
configure:3448: checking for mawk
configure:3464: found /usr/bin/mawk
configure:3475: result: mawk
configure:3486: checking whether make sets $(MAKE)
configure:3508: result: yes
configure:3537: checking whether make supports nested variables
configure:3554: result: yes
configure:3728: checking for gcc
configure:3744: found /usr/bin/gcc
configure:3755: result: gcc
configure:3984: checking for C compiler version
configure:3993: gcc --version >&5
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 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:4004: $? = 0
configure:3993: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
configure:4004: $? = 0
configure:3993: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4004: $? = 1
configure:3993: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4004: $? = 1
configure:4024: checking whether the C compiler works
configure:4046: gcc -O2 -march=native -mss3 -fvectorize -pipe -m32 conftest.c >&5
gcc: error: unrecognized command line option '-mss3'; did you mean '-msse'?
gcc: error: unrecognized command line option '-fvectorize'
configure:4050: $? = 1
configure:4088: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "linuxsampler"
| #define PACKAGE_TARNAME "linuxsampler"
| #define PACKAGE_VERSION "2.2.0.svn7"
| #define PACKAGE_STRING "linuxsampler 2.2.0.svn7"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LSCP_RELEASE_MAJOR 1
| #define LSCP_RELEASE_MINOR 7
| #define PACKAGE "linuxsampler"
| #define VERSION "2.2.0.svn7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4093: error: in `/home/okdude/SoundSachen/linuxsampler':
configure:4095: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=native -mss3 -fvectorize -pipe -m32'
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=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_GIG_CFLAGS_set=
ac_cv_env_GIG_CFLAGS_value=
ac_cv_env_GIG_LIBS_set=
ac_cv_env_GIG_LIBS_value=
ac_cv_env_JACK_CFLAGS_set=
ac_cv_env_JACK_CFLAGS_value=
ac_cv_env_JACK_LIBS_set=
ac_cv_env_JACK_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_LV2_CFLAGS_set=
ac_cv_env_LV2_CFLAGS_value=
ac_cv_env_LV2_LIBS_set=
ac_cv_env_LV2_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SNDFILE_CFLAGS_set=
ac_cv_env_SNDFILE_CFLAGS_value=
ac_cv_env_SNDFILE_LIBS_set=
ac_cv_env_SNDFILE_LIBS_value=
ac_cv_env_SQLITE3_CFLAGS_set=
ac_cv_env_SQLITE3_CFLAGS_value=
ac_cv_env_SQLITE3_LIBS_set=
ac_cv_env_SQLITE3_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/okdude/SoundSachen/linuxsampler/missing aclocal-1.16'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
ARTS_CFLAGS=''
ARTS_CONFIG=''
ARTS_LIBS=''
AS=''
ASIOSDK_BASEDIR=''
AUTOCONF='${SHELL} /home/okdude/SoundSachen/linuxsampler/missing autoconf'
AUTOHEADER='${SHELL} /home/okdude/SoundSachen/linuxsampler/missing autoheader'
AUTOMAKE='${SHELL} /home/okdude/SoundSachen/linuxsampler/missing automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=native -mss3 -fvectorize -pipe -m32'
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CXX_CPU_SWITCH=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DEVELOPER_EXTRAS_DIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GIG_CFLAGS=''
GIG_LIBS=''
GREP=''
HAVE_ALSA_FALSE=''
HAVE_ALSA_TRUE=''
HAVE_ARTS_FALSE=''
HAVE_ARTS_TRUE=''
HAVE_ASIO_FALSE=''
HAVE_ASIO_TRUE=''
HAVE_AUFLAGS_FALSE=''
HAVE_AUFLAGS_TRUE=''
HAVE_AU_FALSE=''
HAVE_AU_TRUE=''
HAVE_COREAUDIO_FALSE=''
HAVE_COREAUDIO_TRUE=''
HAVE_COREMIDI_FALSE=''
HAVE_COREMIDI_TRUE=''
HAVE_CXX14=''
HAVE_DSSI_FALSE=''
HAVE_DSSI_TRUE=''
HAVE_JACK_FALSE=''
HAVE_JACK_MIDI_FALSE=''
HAVE_JACK_MIDI_TRUE=''
HAVE_JACK_TRUE=''
HAVE_LV2_FALSE=''
HAVE_LV2_TRUE=''
HAVE_MIDISHARE_FALSE=''
HAVE_MIDISHARE_TRUE=''
HAVE_MME_MIDI_FALSE=''
HAVE_MME_MIDI_TRUE=''
HAVE_SF2_FALSE=''
HAVE_SF2_TRUE=''
HAVE_SQLITE3_FALSE=''
HAVE_SQLITE3_TRUE=''
HAVE_VST_FALSE=''
HAVE_VST_TRUE=''
HAVE_WINDOWS_FALSE=''
HAVE_WINDOWS_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JACK_CFLAGS=''
JACK_LIBS=''
LD=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_EXT=''
LINUX_FALSE=''
LINUX_TRUE=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
LV2_CFLAGS=''
LV2_LIBS=''
MAC_FALSE=''
MAC_PLUGIN_INSTALL_DIR=''
MAC_TRUE=''
MAKEINFO='${SHELL} /home/okdude/SoundSachen/linuxsampler/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='linuxsampler'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='linuxsampler'
PACKAGE_STRING='linuxsampler 2.2.0.svn7'
PACKAGE_TARNAME='linuxsampler'
PACKAGE_URL=''
PACKAGE_VERSION='2.2.0.svn7'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SED=''
SET_MAKE=''
SHARED_VERSION_INFO='6:0:0'
SHELL='/bin/bash'
SHLIB_VERSION_ARG=''
SNDFILE_CFLAGS=''
SNDFILE_LIBS=''
SQLITE3_CFLAGS=''
SQLITE3_LIBS=''
STRIP=''
VERSION='2.2.0.svn7'
VSTSDK_DIR=''
YACC=''
YFLAGS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
config_asiosdk_dir=''
config_default_instruments_db_file=''
config_plugin_dir=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /home/okdude/SoundSachen/linuxsampler/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${prefix}/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "linuxsampler"
#define PACKAGE_TARNAME "linuxsampler"
#define PACKAGE_VERSION "2.2.0.svn7"
#define PACKAGE_STRING "linuxsampler 2.2.0.svn7"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LSCP_RELEASE_MAJOR 1
#define LSCP_RELEASE_MINOR 7
#define PACKAGE "linuxsampler"
#define VERSION "2.2.0.svn7"
configure: exit 77

Related

Mesa-18.1.6 'c compiler cannot create executables'

so I have been trying to compile Mesa on BLFS 8.3 to no avail, and I am having issues trying to figure out what seems to be the issue. I am not quite understanding why it will not compile, when gcc is installed.
My current setup is LFS 8.3, using Parallels on macOS. Thank you very much for the help!!
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Mesa configure 18.1.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-lLLVM --prefix=/usr --sysconfdir=/etc --enable-texture-float --enable-osmesa --enable-xa --enable-glx-tls --with-platforms=drm,x11,wayland --with-gallium-drivers=
## --------- ##
## Platform. ##
## --------- ##
hostname = boltOS
uname -m = x86_64
uname -r = 4.18.5
uname -s = Linux
uname -v = #1 SMP Thu Oct 11 13:53:59 CDT 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3414: checking build system type
configure:3428: result: x86_64-pc-linux-gnu
configure:3448: checking host system type
configure:3461: result: x86_64-pc-linux-gnu
configure:3481: checking target system type
configure:3494: result: x86_64-pc-linux-gnu
configure:3537: checking for a BSD-compatible install
configure:3605: result: /usr/bin/install -c
configure:3616: checking whether build environment is sane
configure:3671: result: yes
configure:3822: checking for a thread-safe mkdir -p
configure:3861: result: /bin/mkdir -p
configure:3868: checking for gawk
configure:3884: found /usr/bin/gawk
configure:3895: result: gawk
configure:3906: checking whether make sets $(MAKE)
configure:3928: result: yes
configure:3957: checking whether make supports nested variables
configure:3974: result: yes
configure:4063: checking whether UID '0' is supported by ustar format
configure:4066: result: yes
configure:4073: checking whether GID '0' is supported by ustar format
configure:4076: result: yes
configure:4084: checking how to create a ustar tar archive
configure:4095: tar --version
tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:4098: $? = 0
configure:4138: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:4141: $? = 0
configure:4145: tar -xf - <conftest.tar
configure:4148: $? = 0
configure:4150: cat conftest.dir/file
GrepMe
configure:4153: $? = 0
configure:4166: result: gnutar
configure:4237: checking whether make supports nested variables
configure:4254: result: yes
configure:4278: checking for style of include used by make
configure:4306: result: GNU
configure:4377: checking for gcc
configure:4393: found /usr/bin/gcc
configure:4404: result: gcc
configure:4633: checking for C compiler version
configure:4642: gcc --version >&5
gcc (GCC) 8.2.0
Copyright (C) 2018 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:4653: $? = 0
configure:4642: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --disable-libmpx --with-system-zlib
Thread model: posix
gcc version 8.2.0 (GCC)
configure:4653: $? = 0
configure:4642: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4653: $? = 1
configure:4642: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4653: $? = 1
configure:4673: checking whether the C compiler works
configure:4695: gcc -O2 -lLLVM conftest.c >&5
/usr/bin/ld: cannot find -lLLVM
collect2: error: ld returned 1 exit status
configure:4699: $? = 1
configure:4737: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Mesa"
| #define PACKAGE_TARNAME "mesa"
| #define PACKAGE_VERSION "18.1.6"
| #define PACKAGE_STRING "Mesa 18.1.6"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"
| #define PACKAGE_URL ""
| #define PACKAGE "mesa"
| #define VERSION "18.1.6"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4742: error: in `/sources/xc/mesa-18.1.6':
configure:4744: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_AMDGPU_CFLAGS_set=
ac_cv_env_AMDGPU_CFLAGS_value=
ac_cv_env_AMDGPU_LIBS_set=
ac_cv_env_AMDGPU_LIBS_value=
ac_cv_env_ANDROID_CFLAGS_set=
ac_cv_env_ANDROID_CFLAGS_value=
ac_cv_env_ANDROID_LIBS_set=
ac_cv_env_ANDROID_LIBS_value=
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-O2
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXX11_CXXFLAGS_set=
ac_cv_env_CXX11_CXXFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=-O2
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DRI2PROTO_CFLAGS_set=
ac_cv_env_DRI2PROTO_CFLAGS_value=
ac_cv_env_DRI2PROTO_LIBS_set=
ac_cv_env_DRI2PROTO_LIBS_value=
ac_cv_env_DRIGL_CFLAGS_set=
ac_cv_env_DRIGL_CFLAGS_value=
ac_cv_env_DRIGL_LIBS_set=
ac_cv_env_DRIGL_LIBS_value=
ac_cv_env_ETNAVIV_CFLAGS_set=
ac_cv_env_ETNAVIV_CFLAGS_value=
ac_cv_env_ETNAVIV_LIBS_set=
ac_cv_env_ETNAVIV_LIBS_value=
ac_cv_env_EXPAT_CFLAGS_set=
ac_cv_env_EXPAT_CFLAGS_value=
ac_cv_env_EXPAT_LIBS_set=
ac_cv_env_EXPAT_LIBS_value=
ac_cv_env_FREEDRENO_CFLAGS_set=
ac_cv_env_FREEDRENO_CFLAGS_value=
ac_cv_env_FREEDRENO_LIBS_set=
ac_cv_env_FREEDRENO_LIBS_value=
ac_cv_env_GLPROTO_CFLAGS_set=
ac_cv_env_GLPROTO_CFLAGS_value=
ac_cv_env_GLPROTO_LIBS_set=
ac_cv_env_GLPROTO_LIBS_value=
ac_cv_env_GLVND_CFLAGS_set=
ac_cv_env_GLVND_CFLAGS_value=
ac_cv_env_GLVND_LIBS_set=
ac_cv_env_GLVND_LIBS_value=
ac_cv_env_I915_CFLAGS_set=
ac_cv_env_I915_CFLAGS_value=
ac_cv_env_I915_LIBS_set=
ac_cv_env_I915_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-lLLVM
ac_cv_env_LIBDRM_CFLAGS_set=
ac_cv_env_LIBDRM_CFLAGS_value=
ac_cv_env_LIBDRM_LIBS_set=
ac_cv_env_LIBDRM_LIBS_value=
ac_cv_env_LIBELF_CFLAGS_set=
ac_cv_env_LIBELF_CFLAGS_value=
ac_cv_env_LIBELF_LIBS_set=
ac_cv_env_LIBELF_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBUNWIND_CFLAGS_set=
ac_cv_env_LIBUNWIND_CFLAGS_value=
ac_cv_env_LIBUNWIND_LIBS_set=
ac_cv_env_LIBUNWIND_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_NOUVEAU_CFLAGS_set=
ac_cv_env_NOUVEAU_CFLAGS_value=
ac_cv_env_NOUVEAU_LIBS_set=
ac_cv_env_NOUVEAU_LIBS_value=
ac_cv_env_NVVIEUX_CFLAGS_set=
ac_cv_env_NVVIEUX_CFLAGS_value=
ac_cv_env_NVVIEUX_LIBS_set=
ac_cv_env_NVVIEUX_LIBS_value=
ac_cv_env_OMX_BELLAGIO_CFLAGS_set=
ac_cv_env_OMX_BELLAGIO_CFLAGS_value=
ac_cv_env_OMX_BELLAGIO_LIBS_set=
ac_cv_env_OMX_BELLAGIO_LIBS_value=
ac_cv_env_OMX_TIZONIA_CFLAGS_set=
ac_cv_env_OMX_TIZONIA_CFLAGS_value=
ac_cv_env_OMX_TIZONIA_LIBS_set=
ac_cv_env_OMX_TIZONIA_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PTHREADSTUBS_CFLAGS_set=
ac_cv_env_PTHREADSTUBS_CFLAGS_value=
ac_cv_env_PTHREADSTUBS_LIBS_set=
ac_cv_env_PTHREADSTUBS_LIBS_value=
ac_cv_env_RADEON_CFLAGS_set=
ac_cv_env_RADEON_CFLAGS_value=
ac_cv_env_RADEON_LIBS_set=
ac_cv_env_RADEON_LIBS_value=
ac_cv_env_SELINUX_CFLAGS_set=
ac_cv_env_SELINUX_CFLAGS_value=
ac_cv_env_SELINUX_LIBS_set=
ac_cv_env_SELINUX_LIBS_value=
ac_cv_env_SIMPENROSE_CFLAGS_set=
ac_cv_env_SIMPENROSE_CFLAGS_value=
ac_cv_env_SIMPENROSE_LIBS_set=
ac_cv_env_SIMPENROSE_LIBS_value=
ac_cv_env_VALGRIND_CFLAGS_set=
ac_cv_env_VALGRIND_CFLAGS_value=
ac_cv_env_VALGRIND_LIBS_set=
ac_cv_env_VALGRIND_LIBS_value=
ac_cv_env_VA_CFLAGS_set=
ac_cv_env_VA_CFLAGS_value=
ac_cv_env_VA_LIBS_set=
ac_cv_env_VA_LIBS_value=
ac_cv_env_VC5_SIMULATOR_CFLAGS_set=
ac_cv_env_VC5_SIMULATOR_CFLAGS_value=
ac_cv_env_VC5_SIMULATOR_LIBS_set=
ac_cv_env_VC5_SIMULATOR_LIBS_value=
ac_cv_env_VDPAU_CFLAGS_set=
ac_cv_env_VDPAU_CFLAGS_value=
ac_cv_env_VDPAU_LIBS_set=
ac_cv_env_VDPAU_LIBS_value=
ac_cv_env_VL_CFLAGS_set=
ac_cv_env_VL_CFLAGS_value=
ac_cv_env_VL_LIBS_set=
ac_cv_env_VL_LIBS_value=
ac_cv_env_WAYLAND_CLIENT_CFLAGS_set=
ac_cv_env_WAYLAND_CLIENT_CFLAGS_value=
ac_cv_env_WAYLAND_CLIENT_LIBS_set=
ac_cv_env_WAYLAND_CLIENT_LIBS_value=
ac_cv_env_WAYLAND_PROTOCOLS_CFLAGS_set=
ac_cv_env_WAYLAND_PROTOCOLS_CFLAGS_value=
ac_cv_env_WAYLAND_PROTOCOLS_LIBS_set=
ac_cv_env_WAYLAND_PROTOCOLS_LIBS_value=
ac_cv_env_WAYLAND_SCANNER_CFLAGS_set=
ac_cv_env_WAYLAND_SCANNER_CFLAGS_value=
ac_cv_env_WAYLAND_SCANNER_LIBS_set=
ac_cv_env_WAYLAND_SCANNER_LIBS_value=
ac_cv_env_WAYLAND_SERVER_CFLAGS_set=
ac_cv_env_WAYLAND_SERVER_CFLAGS_value=
ac_cv_env_WAYLAND_SERVER_LIBS_set=
ac_cv_env_WAYLAND_SERVER_LIBS_value=
ac_cv_env_XCB_DRI2_CFLAGS_set=
ac_cv_env_XCB_DRI2_CFLAGS_value=
ac_cv_env_XCB_DRI2_LIBS_set=
ac_cv_env_XCB_DRI2_LIBS_value=
ac_cv_env_XCB_DRI3_CFLAGS_set=
ac_cv_env_XCB_DRI3_CFLAGS_value=
ac_cv_env_XCB_DRI3_LIBS_set=
ac_cv_env_XCB_DRI3_LIBS_value=
ac_cv_env_XCB_DRI3_MODIFIERS_CFLAGS_set=
ac_cv_env_XCB_DRI3_MODIFIERS_CFLAGS_value=
ac_cv_env_XCB_DRI3_MODIFIERS_LIBS_set=
ac_cv_env_XCB_DRI3_MODIFIERS_LIBS_value=
ac_cv_env_XF86VIDMODE_CFLAGS_set=
ac_cv_env_XF86VIDMODE_CFLAGS_value=
ac_cv_env_XF86VIDMODE_LIBS_set=
ac_cv_env_XF86VIDMODE_LIBS_value=
ac_cv_env_XLIBGL_CFLAGS_set=
ac_cv_env_XLIBGL_CFLAGS_value=
ac_cv_env_XLIBGL_LIBS_set=
ac_cv_env_XLIBGL_LIBS_value=
ac_cv_env_XVMC_CFLAGS_set=
ac_cv_env_XVMC_CFLAGS_value=
ac_cv_env_XVMC_LIBS_set=
ac_cv_env_XVMC_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_ZLIB_CFLAGS_set=
ac_cv_env_ZLIB_CFLAGS_value=
ac_cv_env_ZLIB_LIBS_set=
ac_cv_env_ZLIB_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-linux-gnu
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /sources/xc/mesa-18.1.6/bin/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMDGPU_CFLAGS=''
AMDGPU_LIBS=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
ANDROID_CFLAGS=''
ANDROID_LIBS=''
AR=''
AUTOCONF='${SHELL} /sources/xc/mesa-18.1.6/bin/missing autoconf'
AUTOHEADER='${SHELL} /sources/xc/mesa-18.1.6/bin/missing autoheader'
AUTOMAKE='${SHELL} /sources/xc/mesa-18.1.6/bin/missing automake-1.15'
AWK='gawk'
BSYMBOLIC=''
BUILD_SHARED_FALSE=''
BUILD_SHARED_TRUE=''
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-O2'
CLANG_RESOURCE_DIR=''
CLOCK_LIB=''
CLOVER_STD_OVERRIDE=''
CPP=''
CPPFLAGS=''
CXX11_CXXFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2'
CYGPATH_W='echo'
D3D_DRIVER_INSTALL_DIR=''
DEFINES=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DLOPEN_LIBS=''
DRI2PROTO_CFLAGS=''
DRI2PROTO_LIBS=''
DRIGL_CFLAGS=''
DRIGL_LIBS=''
DRI_DRIVER_INSTALL_DIR=''
DRI_DRIVER_SEARCH_DIR=''
DRI_LIB_DEPS=''
DRI_PC_REQ_PRIV=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGL_CFLAGS=''
EGL_LIB_DEPS=''
EGL_NATIVE_PLATFORM=''
EGREP=''
ETNAVIV_CFLAGS=''
ETNAVIV_LIBS=''
EXEEXT=''
EXPAT_CFLAGS=''
EXPAT_LIBS=''
FGREP=''
FREEDRENO_CFLAGS=''
FREEDRENO_LIBS=''
GALLIUM_PIPE_LOADER_DEFINES=''
GBM_PC_LIB_PRIV=''
GBM_PC_REQ_PRIV=''
GC_SECTIONS=''
GEN_ASM_OFFSETS_FALSE=''
GEN_ASM_OFFSETS_TRUE=''
GLESv1_CM_LIB_DEPS=''
GLESv1_CM_PC_LIB_PRIV=''
GLESv2_LIB_DEPS=''
GLESv2_PC_LIB_PRIV=''
GLPROTO_CFLAGS=''
GLPROTO_LIBS=''
GLVND_CFLAGS=''
GLVND_LIBS=''
GLX_TLS=''
GL_LIB=''
GL_LIB_DEPS=''
GL_PC_CFLAGS=''
GL_PC_LIB_PRIV=''
GL_PC_REQ_PRIV=''
GL_PKGCONF_LIB=''
GREP=''
HAVE_AARCH64_ASM_FALSE=''
HAVE_AARCH64_ASM_TRUE=''
HAVE_AMD_DRIVERS_FALSE=''
HAVE_AMD_DRIVERS_TRUE=''
HAVE_ANDROID_FALSE=''
HAVE_ANDROID_TRUE=''
HAVE_APPLEDRI_FALSE=''
HAVE_APPLEDRI_TRUE=''
HAVE_ARM_ASM_FALSE=''
HAVE_ARM_ASM_TRUE=''
HAVE_BROADCOM_DRIVERS_FALSE=''
HAVE_BROADCOM_DRIVERS_TRUE=''
HAVE_CLOVER_FALSE=''
HAVE_CLOVER_ICD_FALSE=''
HAVE_CLOVER_ICD_TRUE=''
HAVE_CLOVER_TRUE=''
HAVE_COMMON_OSMESA_FALSE=''
HAVE_COMMON_OSMESA_TRUE=''
HAVE_COMPAT_SYMLINKS_FALSE=''
HAVE_COMPAT_SYMLINKS_TRUE=''
HAVE_DRI2_FALSE=''
HAVE_DRI2_TRUE=''
HAVE_DRI3_FALSE=''
HAVE_DRI3_TRUE=''
HAVE_DRICOMMON_FALSE=''
HAVE_DRICOMMON_TRUE=''
HAVE_DRISW_FALSE=''
HAVE_DRISW_KMS_FALSE=''
HAVE_DRISW_KMS_TRUE=''
HAVE_DRISW_TRUE=''
HAVE_DRI_GLX_FALSE=''
HAVE_DRI_GLX_TRUE=''
HAVE_EGL_FALSE=''
HAVE_EGL_TRUE=''
HAVE_GALLIUM_COMPUTE_FALSE=''
HAVE_GALLIUM_COMPUTE_TRUE=''
HAVE_GALLIUM_ETNAVIV_FALSE=''
HAVE_GALLIUM_ETNAVIV_TRUE=''
HAVE_GALLIUM_EXTRA_HUD_FALSE=''
HAVE_GALLIUM_EXTRA_HUD_TRUE=''
HAVE_GALLIUM_FALSE=''
HAVE_GALLIUM_FREEDRENO_FALSE=''
HAVE_GALLIUM_FREEDRENO_TRUE=''
HAVE_GALLIUM_I915_FALSE=''
HAVE_GALLIUM_I915_TRUE=''
HAVE_GALLIUM_IMX_FALSE=''
HAVE_GALLIUM_IMX_TRUE=''
HAVE_GALLIUM_LLVMPIPE_FALSE=''
HAVE_GALLIUM_LLVMPIPE_TRUE=''
HAVE_GALLIUM_LLVM_FALSE=''
HAVE_GALLIUM_LLVM_TRUE=''
HAVE_GALLIUM_NOUVEAU_FALSE=''
HAVE_GALLIUM_NOUVEAU_TRUE=''
HAVE_GALLIUM_OSMESA_FALSE=''
HAVE_GALLIUM_OSMESA_TRUE=''
HAVE_GALLIUM_PL111_FALSE=''
HAVE_GALLIUM_PL111_TRUE=''
HAVE_GALLIUM_R300_FALSE=''
HAVE_GALLIUM_R300_TRUE=''
HAVE_GALLIUM_R600_FALSE=''
HAVE_GALLIUM_R600_TRUE=''
HAVE_GALLIUM_RADEONSI_FALSE=''
HAVE_GALLIUM_RADEONSI_TRUE=''
HAVE_GALLIUM_SOFTPIPE_FALSE=''
HAVE_GALLIUM_SOFTPIPE_TRUE=''
HAVE_GALLIUM_STATIC_TARGETS_FALSE=''
HAVE_GALLIUM_STATIC_TARGETS_TRUE=''
HAVE_GALLIUM_SVGA_FALSE=''
HAVE_GALLIUM_SVGA_TRUE=''
HAVE_GALLIUM_SWRAST_FALSE=''
HAVE_GALLIUM_SWRAST_TRUE=''
HAVE_GALLIUM_SWR_FALSE=''
HAVE_GALLIUM_SWR_TRUE=''
HAVE_GALLIUM_TEGRA_FALSE=''
HAVE_GALLIUM_TEGRA_TRUE=''
HAVE_GALLIUM_TESTS_FALSE=''
HAVE_GALLIUM_TESTS_TRUE=''
HAVE_GALLIUM_TRUE=''
HAVE_GALLIUM_VC4_FALSE=''
HAVE_GALLIUM_VC4_TRUE=''
HAVE_GALLIUM_VC5_FALSE=''
HAVE_GALLIUM_VC5_TRUE=''
HAVE_GALLIUM_VIRGL_FALSE=''
HAVE_GALLIUM_VIRGL_TRUE=''
HAVE_GALLIUM_XLIB_GLX_FALSE=''
HAVE_GALLIUM_XLIB_GLX_TRUE=''
HAVE_GBM_FALSE=''
HAVE_GBM_TRUE=''
HAVE_GLX_FALSE=''
HAVE_GLX_TRUE=''
HAVE_I915_DRI_FALSE=''
HAVE_I915_DRI_TRUE=''
HAVE_I965_DRI_FALSE=''
HAVE_I965_DRI_TRUE=''
HAVE_INTEL_DRIVERS_FALSE=''
HAVE_INTEL_DRIVERS_TRUE=''
HAVE_INTEL_VULKAN_FALSE=''
HAVE_INTEL_VULKAN_TRUE=''
HAVE_LD_DYNAMIC_LIST_FALSE=''
HAVE_LD_DYNAMIC_LIST_TRUE=''
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE=''
HAVE_LIBDRM_FALSE=''
HAVE_LIBDRM_TRUE=''
HAVE_LIBSENSORS_FALSE=''
HAVE_LIBSENSORS_TRUE=''
HAVE_LMSENSORS_FALSE=''
HAVE_LMSENSORS_TRUE=''
HAVE_NOUVEAU_DRI_FALSE=''
HAVE_NOUVEAU_DRI_TRUE=''
HAVE_OPENGL_ES1_FALSE=''
HAVE_OPENGL_ES1_TRUE=''
HAVE_OPENGL_ES2_FALSE=''
HAVE_OPENGL_ES2_TRUE=''
HAVE_OPENGL_FALSE=''
HAVE_OPENGL_TRUE=''
HAVE_OSMESA_FALSE=''
HAVE_OSMESA_TRUE=''
HAVE_PLATFORM_ANDROID_FALSE=''
HAVE_PLATFORM_ANDROID_TRUE=''
HAVE_PLATFORM_DRM_FALSE=''
HAVE_PLATFORM_DRM_TRUE=''
HAVE_PLATFORM_SURFACELESS_FALSE=''
HAVE_PLATFORM_SURFACELESS_TRUE=''
HAVE_PLATFORM_WAYLAND_FALSE=''
HAVE_PLATFORM_WAYLAND_TRUE=''
HAVE_PLATFORM_X11_FALSE=''
HAVE_PLATFORM_X11_TRUE=''
HAVE_PPC64LE_ASM_FALSE=''
HAVE_PPC64LE_ASM_TRUE=''
HAVE_R200_DRI_FALSE=''
HAVE_R200_DRI_TRUE=''
HAVE_RADEON_DRI_FALSE=''
HAVE_RADEON_DRI_TRUE=''
HAVE_RADEON_VULKAN_FALSE=''
HAVE_RADEON_VULKAN_TRUE=''
HAVE_SHARED_GLAPI_FALSE=''
HAVE_SHARED_GLAPI_TRUE=''
HAVE_SPARC_ASM_FALSE=''
HAVE_SPARC_ASM_TRUE=''
HAVE_STD_CXX11_FALSE=''
HAVE_STD_CXX11_TRUE=''
HAVE_ST_NINE_FALSE=''
HAVE_ST_NINE_TRUE=''
HAVE_ST_OMX_BELLAGIO_FALSE=''
HAVE_ST_OMX_BELLAGIO_TRUE=''
HAVE_ST_OMX_TIZONIA_FALSE=''
HAVE_ST_OMX_TIZONIA_TRUE=''
HAVE_ST_VA_FALSE=''
HAVE_ST_VA_TRUE=''
HAVE_ST_VDPAU_FALSE=''
HAVE_ST_VDPAU_TRUE=''
HAVE_ST_XA_FALSE=''
HAVE_ST_XA_TRUE=''
HAVE_ST_XVMC_FALSE=''
HAVE_ST_XVMC_TRUE=''
HAVE_SWRAST_DRI_FALSE=''
HAVE_SWRAST_DRI_TRUE=''
HAVE_SWR_AVX2_FALSE=''
HAVE_SWR_AVX2_TRUE=''
HAVE_SWR_AVX_FALSE=''
HAVE_SWR_AVX_TRUE=''
HAVE_SWR_BUILTIN_FALSE=''
HAVE_SWR_BUILTIN_TRUE=''
HAVE_SWR_KNL_FALSE=''
HAVE_SWR_KNL_TRUE=''
HAVE_SWR_SKX_FALSE=''
HAVE_SWR_SKX_TRUE=''
HAVE_VULKAN_COMMON_FALSE=''
HAVE_VULKAN_COMMON_TRUE=''
HAVE_WINDOWSDRI_FALSE=''
HAVE_WINDOWSDRI_TRUE=''
HAVE_X86_64_ASM_FALSE=''
HAVE_X86_64_ASM_TRUE=''
HAVE_X86_ASM_FALSE=''
HAVE_X86_ASM_TRUE=''
HAVE_XF86VIDMODE=''
HAVE_XF86VIDMODE_FALSE=''
HAVE_XF86VIDMODE_TRUE=''
HAVE_XLIB_GLX_FALSE=''
HAVE_XLIB_GLX_TRUE=''
I915_CFLAGS=''
I915_LIBS=''
INDENT=''
INDENT_FLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-lLLVM'
LD_BUILD_ID=''
LD_NO_UNDEFINED=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBATOMIC_LIBS=''
LIBCLC_INCLUDEDIR=''
LIBCLC_LIBEXECDIR=''
LIBDRM_CFLAGS=''
LIBDRM_LIBS=''
LIBELF_CFLAGS=''
LIBELF_LIBS=''
LIBGLVND_DATADIR=''
LIBOBJS=''
LIBS=''
LIBSENSORS_LIBS=''
LIBTOOL=''
LIBUNWIND_CFLAGS=''
LIBUNWIND_LIBS=''
LIB_DIR=''
LIB_EXT=''
LIPO=''
LLVM_CFLAGS=''
LLVM_CONFIG=''
LLVM_CXXFLAGS=''
LLVM_INCLUDEDIR=''
LLVM_LDFLAGS=''
LLVM_LIBS=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /sources/xc/mesa-18.1.6/bin/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MSVC2013_COMPAT_CFLAGS=''
MSVC2013_COMPAT_CXXFLAGS=''
NEED_GALLIUM_VL_FALSE=''
NEED_GALLIUM_VL_TRUE=''
NEED_GALLIUM_VL_WINSYS_FALSE=''
NEED_GALLIUM_VL_WINSYS_TRUE=''
NEED_KHRPLATFORM_FALSE=''
NEED_KHRPLATFORM_TRUE=''
NEED_LIBMESA_FALSE=''
NEED_LIBMESA_TRUE=''
NEED_MEGADRIVER_FALSE=''
NEED_MEGADRIVER_TRUE=''
NEED_OPENGL_COMMON_FALSE=''
NEED_OPENGL_COMMON_TRUE=''
NEED_RADEON_DRM_WINSYS_FALSE=''
NEED_RADEON_DRM_WINSYS_TRUE=''
NEED_WINSYS_XLIB_FALSE=''
NEED_WINSYS_XLIB_TRUE=''
NINE_MAJOR=''
NINE_MINOR=''
NINE_PATCH=''
NINE_VERSION=''
NM=''
NMEDIT=''
NOUVEAU_CFLAGS=''
NOUVEAU_LIBS=''
NVVIEUX_CFLAGS=''
NVVIEUX_LIBS=''
OBJDUMP=''
OBJEXT=''
OMX_BELLAGIO_CFLAGS=''
OMX_BELLAGIO_LIBS=''
OMX_BELLAGIO_LIB_INSTALL_DIR=''
OMX_TIZONIA_CFLAGS=''
OMX_TIZONIA_LIBS=''
OMX_TIZONIA_LIB_INSTALL_DIR=''
OPENCL_LIBNAME=''
OPENCL_VERSION=''
OSMESA_LIB=''
OSMESA_LIB_DEPS=''
OSMESA_PC_LIB_PRIV=''
OSMESA_PC_REQ=''
OSMESA_VERSION=''
OTOOL64=''
OTOOL=''
PACKAGE='mesa'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa'
PACKAGE_NAME='Mesa'
PACKAGE_STRING='Mesa 18.1.6'
PACKAGE_TARNAME='mesa'
PACKAGE_URL=''
PACKAGE_VERSION='18.1.6'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POSIX_SHELL=''
PTHREADSTUBS_CFLAGS=''
PTHREADSTUBS_LIBS=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
PWR8_CFLAGS=''
PYTHON2=''
RADEON_CFLAGS=''
RADEON_LIBS=''
RANLIB=''
RM=''
SED=''
SELINUX_CFLAGS=''
SELINUX_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
SIMPENROSE_CFLAGS=''
SIMPENROSE_LIBS=''
SSE41_CFLAGS=''
SSE41_SUPPORTED_FALSE=''
SSE41_SUPPORTED_TRUE=''
STRIP=''
SWR_AVX2_CXXFLAGS=''
SWR_AVX_CXXFLAGS=''
SWR_INVALID_LLVM_VERSION_FALSE=''
SWR_INVALID_LLVM_VERSION_TRUE=''
SWR_KNL_CXXFLAGS=''
SWR_SKX_CXXFLAGS=''
USE_LIBGLVND_FALSE=''
USE_LIBGLVND_TRUE=''
USE_VC4_SIMULATOR_FALSE=''
USE_VC4_SIMULATOR_TRUE=''
USE_VC5_SIMULATOR_FALSE=''
USE_VC5_SIMULATOR_TRUE=''
VALGRIND_CFLAGS=''
VALGRIND_LIBS=''
VA_CFLAGS=''
VA_LIBS=''
VA_LIB_INSTALL_DIR=''
VA_MAJOR=''
VA_MINOR=''
VC5_SIMULATOR_CFLAGS=''
VC5_SIMULATOR_LIBS=''
VDPAU_CFLAGS=''
VDPAU_LIBS=''
VDPAU_LIB_INSTALL_DIR=''
VDPAU_MAJOR=''
VDPAU_MINOR=''
VERSION='18.1.6'
VISIBILITY_CFLAGS=''
VISIBILITY_CXXFLAGS=''
VL_CFLAGS=''
VL_LIBS=''
VULKAN_ICD_INSTALL_DIR=''
WAYLAND_CLIENT_CFLAGS=''
WAYLAND_CLIENT_LIBS=''
WAYLAND_PROTOCOLS_CFLAGS=''
WAYLAND_PROTOCOLS_DATADIR=''
WAYLAND_PROTOCOLS_LIBS=''
WAYLAND_SCANNER=''
WAYLAND_SCANNER_CFLAGS=''
WAYLAND_SCANNER_LIBS=''
WAYLAND_SERVER_CFLAGS=''
WAYLAND_SERVER_LIBS=''
WNO_OVERRIDE_INIT=''
X11_INCLUDES=''
XA_MAJOR=''
XA_MINOR=''
XA_PATCH=''
XA_VERSION=''
XCB_DRI2_CFLAGS=''
XCB_DRI2_LIBS=''
XCB_DRI3_CFLAGS=''
XCB_DRI3_LIBS=''
XCB_DRI3_MODIFIERS_CFLAGS=''
XCB_DRI3_MODIFIERS_LIBS=''
XF86VIDMODE_CFLAGS=''
XF86VIDMODE_LIBS=''
XLIBGL_CFLAGS=''
XLIBGL_LIBS=''
XVMC_CFLAGS=''
XVMC_LIBS=''
XVMC_LIB_INSTALL_DIR=''
XVMC_MAJOR=''
XVMC_MINOR=''
YACC=''
YFLAGS=''
ZLIB_CFLAGS=''
ZLIB_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
acv_mako_found=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
ifGNUmake=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /sources/xc/mesa-18.1.6/bin/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Mesa"
#define PACKAGE_TARNAME "mesa"
#define PACKAGE_VERSION "18.1.6"
#define PACKAGE_STRING "Mesa 18.1.6"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa"
#define PACKAGE_URL ""
#define PACKAGE "mesa"
#define VERSION "18.1.6"
configure: exit 77
Okay, so I had to recompile LLVM, there was an error when I initially compiled it, so I went through the process and it liked it.

I have configure binutils 2.26 as referred in Linux From Scratch but there is an error -'c compiler cannot create executable file '

This is my config.log file.
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
$ ../configure --prefix=/tools --with-sysroot=/mnt/lfs --with-lib-path=/tools/lib --target=x86_64-lfs-linux-gnu --disable-nls --disable-werror
## --------- ##
## Platform. ##
## --------- ##
hostname = gobi-1015E
uname -m = x86_64
uname -r = 4.4.0-21-generic
uname -s = Linux
uname -v = #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/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:2296: checking build system type
configure:2310: result: x86_64-pc-linux-gnu
configure:2357: checking host system type
configure:2370: result: x86_64-pc-linux-gnu
configure:2390: checking target system type
configure:2403: result: x86_64-lfs-linux-gnu
configure:2457: checking for a BSD-compatible install
configure:2525: result: /usr/bin/install -c
configure:2536: checking whether ln works
configure:2558: result: yes
configure:2562: checking whether ln -s works
configure:2566: result: yes
configure:2573: checking for a sed that does not truncate output
configure:2637: result: /bin/sed
configure:2646: checking for gawk
configure:2662: found /usr/bin/gawk
configure:2673: result: gawk
configure:4111: checking for gcc
configure:4127: found /usr/bin/gcc
configure:4138: result: gcc
configure:4367: checking for C compiler version
configure:4376: gcc --version >&5
gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
Copyright (C) 2015 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:4387: $? = 0
configure:4376: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1)
configure:4387: $? = 0
configure:4376: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4387: $? = 1
configure:4376: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4387: $? = 1
configure:4407: checking for C compiler default output file name
configure:4429: gcc conftest.c >&5
gcc: error trying to exec 'as': execvp: Too many levels of symbolic links
configure:4433: $? = 1
configure:4470: 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:4476: error: in `/mnt/lfs/sources/binutils-2.26/build':
configure:4480: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-lfs-linux-gnu
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=x86_64-lfs-linux-gnu
acx_cv_prog_LN=ln
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='gawk'
BISON=''
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS=''
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJCOPY_FOR_TARGET=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
READELF=''
READELF_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../configure --prefix=/tools --with-sysroot=/mnt/lfs --with-lib-path=/tools/lib --target=x86_64-lfs-linux-gnu --disable-nls --disable-werror'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_noncanonical='x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_tooldir=''
build_vendor='pc'
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
gmpinc=''
gmplibs=''
host='x86_64-pc-linux-gnu'
host_alias=''
host_configargs=''
host_cpu='x86_64'
host_noncanonical='x86_64-pc-linux-gnu'
host_os='linux-gnu'
host_shared=''
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
prefix='/tools'
program_transform_name='s&^&x86_64-lfs-linux-gnu-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-lfs-linux-gnu'
target_alias='x86_64-lfs-linux-gnu'
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-libcilkrts target-liboffloadmic target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libmpx target-libssp target-libquadmath target-libgfortran target-boehm-gc target-libffi target-zlib target-libjava target-libobjc target-libada target-libgo target-rda'
target_cpu='x86_64'
target_noncanonical='x86_64-lfs-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-lfs-linux-gnu'
target_vendor='lfs'
tooldir=''
## ------------------- ##
## File substitutions. ##
## ------------------- ##
alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
## ----------- ##
## 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
c compiler cannot create executable file
The prerequisites http://www.linuxfromscratch.org/lfs/view/stable/prologue/prerequisites.html ... → http://www.linuxfromscratch.org/lfs/view/7.0/prologue/hostreqs.html ... must be installed before you start with "Binutils-2.26 - Pass 1". Like # apt-get install g++ binutils-dev bison gawk autoconf automake libperl-dev
And you must run the script version-check.sh to check the OS usability.

fftw compilation error for ARM cross-compile

I am trying to cross-compiler FFTW for ARM. My configure command is,
./configure --with-slow-timer --host=arm-linux-gnueabi --enable-single --enable-neon "CC=arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp"
I have also tried simple ./configure command but got the same error as,
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-gnueabi-strip... arm-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnueabi
checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp
checking whether the C compiler works... no
configure: error: in `/home/junaids/Downloads/fftw-3.3.4':
configure: error: C compiler cannot create executables
the config.log is,
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by fftw configure 3.3.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --with-slow-timer --host=arm-linux-gnueabi --enable-single --enable-neon CC=arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp --enable-float CFLAGS=-arch=native
## --------- ##
## Platform. ##
## --------- ##
hostname = junaids-OptiPlex-755
uname -m = x86_64
uname -r = 3.13.0-86-generic
uname -s = Linux
uname -v = #130-Ubuntu SMP Mon Apr 18 18:27:15 UTC 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2750: checking for a BSD-compatible install
configure:2818: result: /usr/bin/install -c
configure:2829: checking whether build environment is sane
configure:2884: result: yes
configure:2943: checking for arm-linux-gnueabi-strip
configure:2959: found /usr/bin/arm-linux-gnueabi-strip
configure:2970: result: arm-linux-gnueabi-strip
configure:3035: checking for a thread-safe mkdir -p
configure:3074: result: /bin/mkdir -p
configure:3081: checking for gawk
configure:3111: result: no
configure:3081: checking for mawk
configure:3097: found /usr/bin/mawk
configure:3108: result: mawk
configure:3119: checking whether make sets $(MAKE)
configure:3141: result: yes
configure:3170: checking whether make supports nested variables
configure:3187: result: yes
configure:3316: checking whether to enable maintainer-specific portions of Makefiles
configure:3325: result: no
configure:3373: checking build system type
configure:3387: result: x86_64-unknown-linux-gnu
configure:3407: checking host system type
configure:3420: result: arm-unknown-linux-gnueabi
configure:3818: checking for arm-linux-gnueabi-gcc
configure:3845: result: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp
configure:4114: checking for C compiler version
configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp --version >&5
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.7.3-12ubuntu1) 4.7.3
Copyright (C) 2012 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:4134: $? = 0
configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.7.3 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --disable-libmudflap --disable-libitm --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv5t --with-float=soft --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabi --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1)
configure:4134: $? = 0
configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -V >&5
arm-linux-gnueabi-gcc: error: unrecognized command line option '-V'
arm-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:4134: $? = 4
configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -qversion >&5
arm-linux-gnueabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:4134: $? = 4
configure:4154: checking whether the C compiler works
configure:4176: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -arch=native - L/usr/local/include - L/usr/local/lib conftest.c >&5
arm-linux-gnueabi-gcc: error: unrecognized command line option '-arch=native'
arm-linux-gnueabi-gcc: error: L/usr/local/include: No such file or directory
arm-linux-gnueabi-gcc: error: L/usr/local/lib: No such file or directory
configure:4180: $? = 1
configure:4218: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fftw"
| #define PACKAGE_TARNAME "fftw"
| #define PACKAGE_VERSION "3.3.4"
| #define PACKAGE_STRING "fftw 3.3.4"
| #define PACKAGE_BUGREPORT "fftw#fftw.org"
| #define PACKAGE_URL ""
| #define PACKAGE "fftw"
| #define VERSION "3.3.4"
| #define FFTW_ENABLE_ALLOCA 1
| #define FFTW_SINGLE 1
| #define BENCHFFT_SINGLE 1
| #define HAVE_NEON 1
| #define WITH_SLOW_TIMER 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4223: error: in `/home/junaids/Downloads/fftw-3.3.4':
configure:4225: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-arch=native
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='- L/usr/local/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='- L/usr/local/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MPICC_set=
ac_cv_env_MPICC_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=arm-linux-gnueabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=arm-unknown-linux-gnueabi
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CC='arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp'
ac_cv_prog_STRIP=arm-linux-gnueabi-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/junaids/Downloads/fftw-3.3.4/missing aclocal-1.14'
ALLOCA=''
ALTIVEC_CFLAGS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
AUTOCONF='${SHELL} /home/junaids/Downloads/fftw-3.3.4/missing autoconf'
AUTOHEADER='${SHELL} /home/junaids/Downloads/fftw-3.3.4/missing autoheader'
AUTOMAKE='${SHELL} /home/junaids/Downloads/fftw-3.3.4/missing automake-1.14'
AVX_CFLAGS=''
AWK='mawk'
CC='arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp'
CCDEPMODE=''
CFLAGS='-arch=native'
CHECK_PL_OPTS=''
COMBINED_THREADS_FALSE=''
COMBINED_THREADS_TRUE=''
CPP=''
CPPFLAGS='- L/usr/local/include'
CYGPATH_W='echo'
C_FFTW_R2R_KIND=''
C_MPI_FINT=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FGREP=''
FLIBS=''
GREP=''
HAVE_ALTIVEC_FALSE=''
HAVE_ALTIVEC_TRUE='#'
HAVE_AVX_FALSE=''
HAVE_AVX_TRUE='#'
HAVE_NEON_FALSE='#'
HAVE_NEON_TRUE=''
HAVE_SSE2_FALSE=''
HAVE_SSE2_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='- L/usr/local/lib'
LDOUBLE_FALSE=''
LDOUBLE_TRUE='#'
LIBOBJS=''
LIBQUADMATH=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/junaids/Downloads/fftw-3.3.4/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MPICC=''
MPILIBS=''
MPIRUN=''
MPI_FALSE=''
MPI_TRUE=''
NEON_CFLAGS=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OCAMLBUILD=''
OPENMP_CFLAGS=''
OPENMP_FALSE=''
OPENMP_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='fftw'
PACKAGE_BUGREPORT='fftw#fftw.org'
PACKAGE_NAME='fftw'
PACKAGE_STRING='fftw 3.3.4'
PACKAGE_TARNAME='fftw'
PACKAGE_URL=''
PACKAGE_VERSION='3.3.4'
PATH_SEPARATOR=':'
POW_LIB=''
PRECISION='s'
PREC_SUFFIX='f'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
QUAD_FALSE=''
QUAD_TRUE='#'
RANLIB=''
SED=''
SET_MAKE=''
SHARED_VERSION_INFO='7:4:4'
SHELL='/bin/bash'
SINGLE_FALSE='#'
SINGLE_TRUE=''
SMP_FALSE=''
SMP_TRUE=''
SSE2_CFLAGS=''
STACK_ALIGN_CFLAGS=''
STRIP='arm-linux-gnueabi-strip'
THREADLIBS=''
THREADS_FALSE=''
THREADS_TRUE=''
VERSION='3.3.4'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
ac_ct_F77=''
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-gnueabi'
host_alias='arm-linux-gnueabi'
host_cpu='arm'
host_os='linux-gnueabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/junaids/Downloads/fftw-3.3.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "fftw"
#define PACKAGE_TARNAME "fftw"
#define PACKAGE_VERSION "3.3.4"
#define PACKAGE_STRING "fftw 3.3.4"
#define PACKAGE_BUGREPORT "fftw#fftw.org"
#define PACKAGE_URL ""
#define PACKAGE "fftw"
#define VERSION "3.3.4"
#define FFTW_ENABLE_ALLOCA 1
#define FFTW_SINGLE 1
#define BENCHFFT_SINGLE 1
#define HAVE_NEON 1
#define WITH_SLOW_TIMER 1
configure: exit 77
Kindly help if you can see what is wrong in config.log.

AWS: C compiler on EC2 not working when using Elastic Beanstalk container_commands

I've been trying to install some binaries in my EC2 instances using Elastic Beanstalk container_commands and a custom shell script. When the container command fires, I basically wget a library, uncompress it, configure it and make && make install it like so:
wget LIBRARY_URL
mkdir -p libfolder
tar xf LIBRARY.tar.gz -C libfolder --strip-components 1
cd libfolder
./configure
make clean
make install
On the ./configure step I get the following:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
So I get from here that the C compiler doesn't work yet gcc is already installed. The whole container_command fails to do what the shell script says.
Nevertheless, when is SSH into the EC2 instance, if I manually execute the shell script then everything goes smoothly and the "C compiler works..." check returns "yes".
Here is the according .ebextensions config YAML file that I use:
packages:
yum:
gcc: []
make: []
openssl-devel: []
libxml2: []
libxml2-devel: []
container_commands:
01setupaudio:
command: "sh audio.sh"
I am wondering why this is and if the reason this happens is because container_commands run first and then packages get installed, because the fact that SSHing into the instance and running the shell script manually confirms that there is no problem with it.
Any help would be much appreciated. Here is the 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 lame configure 3.99.5, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure CC=/usr/bin/gcc
## --------- ##
## Platform. ##
## --------- ##
hostname = ip-10-0-1-182
uname -m = x86_64
uname -r = 3.10.35-43.137.amzn1.x86_64
uname -s = Linux
uname -v = #1 SMP Wed Apr 2 09:36:59 UTC 2014
/usr/bin/uname -p = unknown
/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: /usr/local/bin
PATH: /bin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2555: checking build system type
configure:2569: result: x86_64-unknown-linux-gnu
configure:2589: checking host system type
configure:2602: result: x86_64-unknown-linux-gnu
configure:2639: checking for a BSD-compatible install
configure:2707: result: /usr/bin/install -c
configure:2718: checking whether build environment is sane
configure:2768: result: yes
configure:2909: checking for a thread-safe mkdir -p
configure:2948: result: /bin/mkdir -p
configure:2961: checking for gawk
configure:2977: found /bin/gawk
configure:2988: result: gawk
configure:2999: checking whether make sets $(MAKE)
configure:3021: result: yes
configure:3104: checking whether to enable maintainer-specific portions of Makefiles
configure:3113: result: no
configure:3133: checking for style of include used by make
configure:3161: result: GNU
configure:3237: checking for gcc
configure:3264: result: /usr/bin/gcc
configure:3493: checking for C compiler version
configure:3502: /usr/bin/gcc --version >&5
gcc (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)
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:3513: $? = 0
configure:3502: /usr/bin/gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-amazon-linux/4.8.2/lto-wrapper
Target: x86_64-amazon-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,fortran,ada,lto --enable-plugin --enable-initfini-array --disable-libgcj --without-isl --without-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-amazon-linux
Thread model: posix
gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)
configure:3513: $? = 0
configure:3502: /usr/bin/gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3513: $? = 4
configure:3502: /usr/bin/gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3513: $? = 4
configure:3533: checking whether the C compiler works
configure:3555: /usr/bin/gcc conftest.c >&5
collect2: fatal error: cannot find 'ld'
compilation terminated.
configure:3559: $? = 1
configure:3597: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "lame"
| #define PACKAGE_TARNAME "lame"
| #define PACKAGE_VERSION "3.99.5"
| #define PACKAGE_STRING "lame 3.99.5"
| #define PACKAGE_BUGREPORT "lame-dev#lists.sf.net"
| #define PACKAGE_URL ""
| #define PACKAGE "lame"
| #define VERSION "3.99.5"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3602: error: in `/tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar':
configure:3604: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SNDFILE_CFLAGS_set=
ac_cv_env_SNDFILE_CFLAGS_value=
ac_cv_env_SNDFILE_LIBS_set=
ac_cv_env_SNDFILE_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=/usr/bin/gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/missing --run tar'
ANSI2KNR=''
AR=''
AUTOCONF='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/missing --run automake-1.11'
AWK='gawk'
CC='/usr/bin/gcc'
CCDEPMODE=''
CFLAGS=''
CONFIG_DEFS=''
CONFIG_MATH_LIB=''
CPP=''
CPPFLAGS=''
CPUCCODE=''
CPUTYPE=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
FRONTEND_CFLAGS=''
FRONTEND_LDADD=''
FRONTEND_LDFLAGS=''
GREP=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_NASM_FALSE=''
HAVE_NASM_TRUE=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDADD=''
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIB_MAJOR_VERSION=''
LIB_MINOR_VERSION=''
LIB_WITH_DECODER_FALSE=''
LIB_WITH_DECODER_TRUE=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEDEP=''
MAKEINFO='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NASM=''
NASM_FORMAT=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='lame'
PACKAGE_BUGREPORT='lame-dev#lists.sf.net'
PACKAGE_NAME='lame'
PACKAGE_STRING='lame 3.99.5'
PACKAGE_TARNAME='lame'
PACKAGE_URL=''
PACKAGE_VERSION='3.99.5'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
RM_F=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SNDFILE_CFLAGS=''
SNDFILE_LIBS=''
STRIP=''
U=''
VERSION='3.99.5'
WITH_FRONTEND=''
WITH_MP3RTP=''
WITH_MP3X=''
WITH_VECTOR_FALSE=''
WITH_VECTOR_TRUE=''
WITH_XMM_FALSE=''
WITH_XMM_TRUE=''
ac_ct_CC='/usr/bin/gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/deployment/application/soundpuzzle_installation/lame-folder/lame-tar/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "lame"
#define PACKAGE_TARNAME "lame"
#define PACKAGE_VERSION "3.99.5"
#define PACKAGE_STRING "lame 3.99.5"
#define PACKAGE_BUGREPORT "lame-dev#lists.sf.net"
#define PACKAGE_URL ""
#define PACKAGE "lame"
#define VERSION "3.99.5"
configure: exit 77
I was able to fix the issue by calling the shell script via commands: instead of container_commands:
Looks like Elastic Beanstalk container_commands executed without PATH and SHELL environment variables. This is what I got in /var/log/cfn-init-cmd.log
[INFO] Command env
[INFO] -----------------------Command Output-----------------------
[INFO] RDS_HOSTNAME=******
[INFO] RDS_DB_NAME=*****
[INFO] PHP_ALLOW_URL_FOPEN=On
[INFO] PHP_DOCUMENT_ROOT=
[INFO] RDS_PASSWORD=*****
[INFO] RDS_USERNAME=root
[INFO] PHP_MEMORY_LIMIT=256M
[INFO] PWD=/var/app/ondeck
[INFO] PHP_MAX_EXECUTION_TIME=60
[INFO] PHP_DISPLAY_ERRORS=Off
[INFO] SHLVL=1
[INFO] EB_IS_COMMAND_LEADER=true
[INFO] PHP_COMPOSER_OPTIONS=
[INFO] PHP_DATE_TIMEZONE=UTC
[INFO] PHP_ZLIB_OUTPUT_COMPRESSION=Off
[INFO] RDS_PORT=5432
[INFO] _=/bin/env
Easy solution is to use shell wrapper that will reset needed variables to their default values.
scripts/env_exec
#!/bin/bash
export SHELL="${SHELL:-default}"
export PATH="${PATH:-default}"
exec $#
And launch needed scripts through it:
container_commands:
env:
command: "env"
env_exec:
command: "scripts/env_exec env"
compile_stuff:
command: "scripts/env_exec scripts/compile_stuff.sh"
Result:
[INFO] Command env_exec
[INFO] -----------------------Command Output-----------------------
[INFO] RDS_HOSTNAME=******
[INFO] RDS_DB_NAME=*****
[INFO] SHELL=/bin/bash
[INFO] PHP_ALLOW_URL_FOPEN=On
[INFO] RDS_PASSWORD=*****
[INFO] PHP_DOCUMENT_ROOT=
[INFO] RDS_USERNAME=root
[INFO] PHP_MEMORY_LIMIT=256M
[INFO] PATH=/usr/local/bin:/bin:/usr/bin
[INFO] PWD=/var/app/ondeck
[INFO] PHP_MAX_EXECUTION_TIME=60
[INFO] PHP_DISPLAY_ERRORS=Off
[INFO] SHLVL=1
[INFO] PHP_COMPOSER_OPTIONS=
[INFO] EB_IS_COMMAND_LEADER=true
[INFO] PHP_DATE_TIMEZONE=UTC
[INFO] PHP_ZLIB_OUTPUT_COMPRESSION=Off
[INFO] RDS_PORT=5432

lfs gcc-7.3.0 -Pass 2 error C cannot create executables

I am currently trying to make my first linux from scratch(lfs) build, I need to make the GCC-7.3.0 - pass 2 but the output of the ../configure step of the book(Chapter 5.10) give me an error. All the previous steps are working,binutils pass 2 seem to worked, gcc and g++ are working. From my readings ive learn that I needed to delete the 1st pass binutils and gcc sources, so I did it in the logical order. Ive try to read the config.log file but i cannot find the solution, some lines seem suspicious like that gcc cannot resolve the '-V' and 'qversion' cli arguments and the &5 argument. This is the content of the config.log file generated :
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
$ ../configure --prefix=/tools --with-local-prefix=/tools --with-native-system-header-dir=/tools/in
clude --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-bootstrap --disab
le-libgomp
## --------- ##
## Platform. ##
## --------- ##
hostname = debian
uname -m = x86_64
uname -r = 4.9.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23)
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/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:2304: checking build system type
configure:2318: result: x86_64-pc-linux-gnu
configure:2365: checking host system type
configure:2378: result: x86_64-pc-linux-gnu
configure:2398: checking target system type
configure:2411: result: x86_64-pc-linux-gnu
configure:2465: checking for a BSD-compatible install
configure:2533: result: /usr/bin/install -c
configure:2544: checking whether ln works
configure:2566: result: yes
configure:2570: checking whether ln -s works
configure:2574: result: yes
configure:2581: checking for a sed that does not truncate output
configure:2645: result: /bin/sed
configure:2654: checking for gawk
configure:2670: found /usr/bin/gawk
configure:2681: result: gawk
configure:3175: checking for libatomic support
configure:3185: result: yes
configure:3194: checking for libcilkrts support
configure:3204: result: yes
configure:3232: checking for libitm support
configure:3242: result: yes
configure:3251: checking for libsanitizer support
configure:3261: result: yes
configure:3270: checking for libvtv support
configure:3280: result: yes
configure:3290: checking for libmpx support
configure:3300: result: yes
configure:3309: checking for libhsail-rt support
configure:3321: result: yes
configure:4038: checking for gcc
configure:4065: result: x86_64-lfs-linux-gnu-gcc
configure:4294: checking for C compiler version
configure:4303: x86_64-lfs-linux-gnu-gcc --version >&5
x86_64-lfs-linux-gnu-gcc (GCC) 7.3.0
Copyright (C) 2017 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:4314: $? = 0
configure:4303: x86_64-lfs-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-lfs-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/mnt/lfs/tools/bin/../libexec/gcc/x86_64-lfs-linux-gnu/7.3.0/lto-wrapper
Target: x86_64-lfs-linux-gnu
Configured with: ../configure --target=x86_64-lfs-linux-gnu --prefix=/tools --with-glibc-version=2.11 --with-sysroot=/mnt/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-libmpx --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx --enable-languages=c,c++
Thread model: single
gcc version 7.3.0 (GCC)
configure:4314: $? = 0
configure:4303: x86_64-lfs-linux-gnu-gcc -V >&5
x86_64-lfs-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-lfs-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4314: $? = 1
configure:4303: x86_64-lfs-linux-gnu-gcc -qversion >&5
x86_64-lfs-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
x86_64-lfs-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4314: $? = 1
configure:4334: checking for C compiler default output file name
configure:4356: x86_64-lfs-linux-gnu-gcc conftest.c >&5
/mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/7.3.0/libgcc.a: file not recognized: File truncated
collect2: error: ld returned 1 exit status
configure:4360: $? = 1
configure:4397: 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:4403: error: in `/mnt/lfs/sources/gcc-7.3.0/build':
configure:4407: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=set
ac_cv_env_AR_value=x86_64-lfs-linux-gnu-ar
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=x86_64-lfs-linux-gnu-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=x86_64-lfs-linux-gnu-g++
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=set
ac_cv_env_RANLIB_value=x86_64-lfs-linux-gnu-ranlib
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=x86_64-lfs-linux-gnu-gcc
ac_cv_target=x86_64-pc-linux-gnu
acx_cv_prog_LN=ln
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='x86_64-lfs-linux-gnu-ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='gawk'
BISON=''
BUILD_CONFIG=''
CC='x86_64-lfs-linux-gnu-gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS=''
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='x86_64-lfs-linux-gnu-g++'
CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJCOPY_FOR_TARGET=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='x86_64-lfs-linux-gnu-ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
READELF=''
READELF_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../configure --prefix=/tools --with-local-prefix=/tools --with-native-system-header-dir=/tools/include --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-bootstrap --disable-libgomp'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='x86_64-lfs-linux-gnu-gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_noncanonical='x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_tooldir=''
build_vendor='pc'
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
get_gcc_base_ver=''
gmpinc=''
gmplibs=''
host='x86_64-pc-linux-gnu'
host_alias=''
host_configargs=''
host_cpu='x86_64'
host_noncanonical='x86_64-pc-linux-gnu'
host_os='linux-gnu'
host_shared=''
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
prefix='/tools'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-libcilkrts target-liboffloadmic target-libhsail-rt target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libmpx target-libssp target-libquadmath target-libgfortran target-libffi target-libobjc target-libada target-libgo target-rda'
target_cpu='x86_64'
target_noncanonical='x86_64-pc-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-pc-linux-gnu'
target_vendor='pc'
tooldir=''
## ------------------- ##
## File substitutions. ##
## ------------------- ##
alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
## ----------- ##
## 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
What could be the issue and what can i do to fix this ? Ive already make a lot of searching for the answer and ive found nothing so perhaps someone here can help me. Thanks.

Resources