glibc Cross Compile Configure Error - linux

I would like to cross compile glibc. But, I 'm getting an error.
glibc version is 2.24.
I tried compiling host and target i686-elf.
My $MACHTYPE environment label is x86_64-pc-linux-gnu.
Target directory includes binutils-2.27 and gcc-6.2.0.
My PATH environment is:
/home/ercan/cross/tools/tools_binaries/i686/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Console output have been listing to below:
ercan#SAMSUNG ~/cross/tools/tools_sources/build-glibc $ ../glibc-2.24/configure --prefix="/home/ercan/cross/tools/tools_binaries/i686/i686-elf" --build=$MACHTYPE --host=i686-elf --target=i686-elf --with-headers="/home/ercan/cross/tools/tools_binaries/i686/i686-elf/include" libc_cv_forced_unwind=yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-elf
checking for i686-elf-gcc... i686-elf-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-elf-gcc accepts -g... yes
checking for gcc... gcc
checking for i686-elf-readelf... i686-elf-readelf
checking for i686-elf-g++... i686-elf-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-elf-g++ accepts -g... yes
checking whether i686-elf-g++ can link programs... no
checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nacl nios2 powerpc s390 sh sparc tile x86_64
configure: running configure fragment for add-on libidn
configure: error:
*** The GNU C library is currently unavailable for this platform.
*** If you are interested in seeing glibc on this platform visit
*** the "How to submit a new port" in the wiki:
*** https://sourceware.org/glibc/wiki/#Development
*** and join the community!
It is not configured and config.log that is in build-glibc which content has been listing below:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ../glibc-2.24/configure --prefix=/home/ercan/cross/tools/tools_binaries/i686/i686-elf --build=x86_64-pc-linux-gnu --host=i686-elf --target=i686-elf --with-headers=/home/ercan/cross/tools/tools_binaries/i686/i686-elf/include libc_cv_forced_unwind=yes
## --------- ##
## Platform. ##
## --------- ##
hostname = SAMSUNG
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: /home/ercan/cross/tools/tools_binaries/i686/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
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2189: checking build system type
configure:2203: result: x86_64-pc-linux-gnu
configure:2223: checking host system type
configure:2236: result: i686-pc-elf
configure:2265: checking for i686-elf-gcc
configure:2281: found /home/ercan/cross/tools/tools_binaries/i686/bin/i686-elf-gcc
configure:2292: result: i686-elf-gcc
configure:2561: checking for C compiler version
configure:2570: i686-elf-gcc --version >&5
i686-elf-gcc (GCC) 6.2.0
Copyright (C) 2016 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:2581: $? = 0
configure:2570: i686-elf-gcc -v >&5
Using built-in specs.
COLLECT_GCC=i686-elf-gcc
COLLECT_LTO_WRAPPER=/home/ercan/cross/tools/tools_binaries/i686/libexec/gcc/i686-elf/6.2.0/lto-wrapper
Target: i686-elf
Configured with: ../gcc-6.2.0/configure --target=i686-elf --prefix=/home/ercan/cross/tools/tools_binaries/i686 --enable-languages=c,c++ --without-headers
Thread model: single
gcc version 6.2.0 (GCC)
configure:2581: $? = 0
configure:2570: i686-elf-gcc -V >&5
i686-elf-gcc: error: unrecognized command line option '-V'
i686-elf-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2570: i686-elf-gcc -qversion >&5
i686-elf-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
i686-elf-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2586: checking for suffix of object files
configure:2608: i686-elf-gcc -c conftest.c >&5
configure:2612: $? = 0
configure:2633: result: o
configure:2637: checking whether we are using the GNU C compiler
configure:2656: i686-elf-gcc -c conftest.c >&5
configure:2656: $? = 0
configure:2665: result: yes
configure:2674: checking whether i686-elf-gcc accepts -g
configure:2694: i686-elf-gcc -c -g conftest.c >&5
configure:2694: $? = 0
configure:2735: result: yes
configure:2764: checking for gcc
configure:2780: found /usr/bin/gcc
configure:2791: result: gcc
configure:2815: checking for i686-elf-readelf
configure:2831: found /home/ercan/cross/tools/tools_binaries/i686/bin/i686-elf-readelf
configure:2842: result: i686-elf-readelf
configure:2920: checking for i686-elf-g++
configure:2936: found /home/ercan/cross/tools/tools_binaries/i686/bin/i686-elf-g++
configure:2947: result: i686-elf-g++
configure:3018: checking for C++ compiler version
configure:3027: i686-elf-g++ --version >&5
i686-elf-g++ (GCC) 6.2.0
Copyright (C) 2016 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:3038: $? = 0
configure:3027: i686-elf-g++ -v >&5
Using built-in specs.
COLLECT_GCC=i686-elf-g++
COLLECT_LTO_WRAPPER=/home/ercan/cross/tools/tools_binaries/i686/libexec/gcc/i686-elf/6.2.0/lto-wrapper
Target: i686-elf
Configured with: ../gcc-6.2.0/configure --target=i686-elf --prefix=/home/ercan/cross/tools/tools_binaries/i686 --enable-languages=c,c++ --without-headers
Thread model: single
gcc version 6.2.0 (GCC)
configure:3038: $? = 0
configure:3027: i686-elf-g++ -V >&5
i686-elf-g++: error: unrecognized command line option '-V'
i686-elf-g++: fatal error: no input files
compilation terminated.
configure:3038: $? = 1
configure:3027: i686-elf-g++ -qversion >&5
i686-elf-g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
i686-elf-g++: fatal error: no input files
compilation terminated.
configure:3038: $? = 1
configure:3042: checking whether we are using the GNU C++ compiler
configure:3061: i686-elf-g++ -c conftest.cpp >&5
configure:3061: $? = 0
configure:3070: result: yes
configure:3079: checking whether i686-elf-g++ accepts -g
configure:3099: i686-elf-g++ -c -g conftest.cpp >&5
configure:3099: $? = 0
configure:3140: result: yes
configure:3165: checking whether i686-elf-g++ can link programs
configure:3188: i686-elf-g++ -o conftest -g -O2 conftest.cpp >&5
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find crt0.o: No such file or directory
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find crtbegin.o: No such file or directory
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find -lstdc++
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find -lm
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find -lgcc
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find -lg
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find -lc
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find -lgcc
/home/ercan/cross/tools/tools_binaries/i686/lib/gcc/i686-elf/6.2.0/../../../../i686-elf/bin/ld: cannot find crtend.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3188: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "glibc"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
| #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3211: i686-elf-g++ -o conftest -g -O2 -static conftest.cpp >&5
conftest.cpp:12:20: fatal error: iostream: No such file or directory
#include <iostream>
^
compilation terminated.
configure:3211: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "glibc"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
| #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| /* end confdefs.h. */
|
| #include <iostream>
|
| int
| main()
| {
| std::cout << "Hello, world!";
| return 0;
| }
|
configure:3226: result: no
configure:3709: checking for sysdeps preconfigure fragments
configure:3716: result:
configure:3787: running configure fragment for add-on libidn
configure:3868: error:
*** The GNU C library is currently unavailable for this platform.
*** If you are interested in seeing glibc on this platform visit
*** the "How to submit a new port" in the wiki:
*** https://sourceware.org/glibc/wiki/#Development
*** and join the community!
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
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=
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
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-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-elf
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i686-elf
ac_cv_host=i686-pc-elf
ac_cv_objext=o
ac_cv_prog_BUILD_CC=gcc
ac_cv_prog_CC=i686-elf-gcc
ac_cv_prog_CXX=i686-elf-g++
ac_cv_prog_READELF=i686-elf-readelf
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
libc_cv_cxx_link_ok=no
libc_cv_forced_unwind=yes
libc_cv_nss_crypt=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AS=''
ASFLAGS_config=''
AUTOCONF=''
AWK=''
BASH_SHELL=''
BISON=''
BUILD_CC='gcc'
CC='i686-elf-gcc'
CFLAGS='-g -O2'
CPP='i686-elf-gcc -E'
CPPFLAGS=''
CPPUNDEFS=''
CXX=''
CXXFLAGS='-g -O2'
CXX_SYSINCLUDES=''
DEFINES=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
INSTALL_DATA=''
INSTALL_INFO=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LD=''
LDFLAGS=''
LIBGD=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MAKE=''
MAKEINFO=''
MSGFMT=''
NM=''
OBJCOPY=''
OBJDUMP=''
OBJEXT='o'
PACKAGE_BUGREPORT='http://sourceware.org/bugzilla/'
PACKAGE_NAME='GNU C Library'
PACKAGE_STRING='GNU C Library (see version.h)'
PACKAGE_TARNAME='glibc'
PACKAGE_URL='http://www.gnu.org/software/glibc/'
PACKAGE_VERSION='(see version.h)'
PATH_SEPARATOR=':'
PERL=''
PKGVERSION='(GNU libc) '
PKGVERSION_TEXI='(GNU libc) '
READELF='i686-elf-readelf'
RELEASE=''
REPORT_BUGS_TEXI='#uref{http://www.gnu.org/software/libc/bugs.html}'
REPORT_BUGS_TO='<http://www.gnu.org/software/libc/bugs.html>'
SED=''
SHELL='/bin/bash'
SYSINCLUDES=''
VERSION=''
ac_ct_CC=''
ac_ct_CXX=''
add_on_subdirs=' libidn'
add_ons='libidn'
all_warnings=''
base_machine='i386'
bindir='${exec_prefix}/bin'
bindnow='no'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_nscd='default'
build_os='linux-gnu'
build_pt_chown='no'
build_vendor='pc'
cross_compiling='yes'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_lock_elision='no'
enable_timezone_tools='yes'
enable_werror='yes'
exec_prefix='NONE'
fno_unit_at_a_time=''
force_install='yes'
hardcoded_path_in_tests='no'
have_libaudit=''
have_libcap=''
have_selinux=''
host='i686-pc-elf'
host_alias='i686-elf'
host_cpu='i686'
host_os='elf'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script=''
libc_cv_cc_loop_to_function=''
libc_cv_cc_nofma=''
libc_cv_cc_submachine=''
libc_cv_cc_with_libunwind=''
libc_cv_complocaledir=''
libc_cv_cxx_thread_local=''
libc_cv_fpie=''
libc_cv_gcc_unwind_find_fde=''
libc_cv_has_glob_dat=''
libc_cv_hashstyle=''
libc_cv_localstatedir=''
libc_cv_mtls_dialect_gnu2=''
libc_cv_nss_crypt='no'
libc_cv_output_format=''
libc_cv_pic_default=''
libc_cv_pie_default=''
libc_cv_protected_data=''
libc_cv_rootsbindir=''
libc_cv_rtlddir=''
libc_cv_slibdir=''
libc_cv_sysconfdir=''
libc_cv_z_combreloc=''
libc_cv_z_execstack=''
libc_extra_cflags=''
libc_extra_cppflags=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
link_obsolete_rpc='no'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${datarootdir}/man'
multi_arch='default'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/ercan/cross/tools/tools_binaries/i686/i686-elf'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
stack_protector=''
static=''
static_nss='no'
subdirs=' '
submachine=''
sysconfdir='${prefix}/etc'
sysdeps_add_ons=''
sysheaders='/home/ercan/cross/tools/tools_binaries/i686/i686-elf/include'
sysnames=''
target_alias='i686-elf'
use_default_link='default'
use_ldconfig=''
use_nscd='yes'
with_fp='yes'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_TARNAME "glibc"
#define PACKAGE_VERSION "(see version.h)"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
#define PACKAGE_URL "http://www.gnu.org/software/glibc/"
#define PKGVERSION "(GNU libc) "
#define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
#define HAVE_LIBIDN 1
configure: exit 1
How I cross compile glibc for i686-elf? Thanks for replies.

You are trying to build glibc for a bare metal target. This won't work as far as I know.
Use newlib if the target is in fact bare metal.
For linux targets, use --host=i686-pc-linux-gnu instead, and pass CC=i686-elf-gcc to configure if necessary.

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.

error: C preprocessor "/usr/local/bin/cpp" fails sanity check

I'm trying to install freetype 2.8, unfortunately I started getting this error everytime I run the configure file I run into this issue: error: C preprocessor "/usr/local/bin/cpp" fails sanity check
I tried some solutions I found on the site but they didn't solve my problem, maybe you can.
I'll paste here the configure.log file:
`
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.10.0-38-generic
uname -s = Linux
uname -v = #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017
/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: /home/tabi/bin
PATH: /home/tabi/.local/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
configure:2934: $? = 0
configure:2923: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
configure:2934: $? = 0
configure:2923: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2934: $? = 1
configure:2923: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2934: $? = 1
configure:2954: checking whether the C compiler works
configure:2976: gcc conftest.c >&5
configure:2980: $? = 0
configure:3028: result: yes
configure:3031: checking for C compiler default output file name
configure:3033: result: a.out
configure:3039: checking for suffix of executables
configure:3046: gcc -o conftest conftest.c >&5
configure:3050: $? = 0
configure:3072: result:
configure:3094: checking whether we are cross compiling
configure:3102: gcc -o conftest conftest.c >&5
configure:3106: $? = 0
configure:3113: ./conftest
configure:3117: $? = 0
configure:3132: result: no
configure:3137: checking for suffix of object files
configure:3159: gcc -c conftest.c >&5
configure:3163: $? = 0
configure:3184: result: o
configure:3188: checking whether we are using the GNU C compiler
configure:3207: gcc -c conftest.c >&5
configure:3207: $? = 0
configure:3216: result: yes
configure:3225: checking whether gcc accepts -g
configure:3245: gcc -c -g conftest.c >&5
configure:3245: $? = 0
configure:3286: result: yes
configure:3303: checking for gcc option to accept ISO C89
configure:3366: gcc -c -g -O2 conftest.c >&5
configure:3366: $? = 0
configure:3379: result: none needed
configure:3404: checking how to run the C preprocessor
configure:3474: result: /usr/local/bin/cpp
configure:3494: /usr/local/bin/cpp conftest.c
./configure: line 1609: /usr/local/bin/cpp: No such file or directory
configure:3494: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "FreeType"
| #define PACKAGE_TARNAME "freetype"
| #define PACKAGE_VERSION "2.8"
| #define PACKAGE_STRING "FreeType 2.8"
| #define PACKAGE_BUGREPORT "freetype#nongnu.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3494: /usr/local/bin/cpp conftest.c
./configure: line 1609: /usr/local/bin/cpp: No such file or directory
configure:3494: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "FreeType"
| #define PACKAGE_TARNAME "freetype"
| #define PACKAGE_VERSION "2.8"
| #define PACKAGE_STRING "FreeType 2.8"
| #define PACKAGE_BUGREPORT "freetype#nongnu.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3524: error: in `/home/tabi/Downloads/freetype-2.8/builds/unix':
configure:3526: error: C preprocessor "/usr/local/bin/cpp" fails sanity check
See `config.log' for more details
`

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.

gcc Error while configuring apache 2.2.21

I'm trying to install Apache 2.2.21 on my Suse linux but when i run the ./configure with the different options i get following Error:
# ./configure --prefix=/opt/Apache22 --enable-ssl --enable-logio --with-ssl=/opt/ssl
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.5
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/opt/httpd-2.2.21/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
Here is the correct 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
$ /opt/httpd-2.2.21/srclib/apr/configure --disable-option-checking --prefix=/opt/Apache22 --cache-file=/dev/null --srcdir=/opt/httpd-2.2.21/srclib/apr --prefix=/opt/Apache22 --exec-prefix=/opt/Apache22 --libdir=${prefix}/lib --includedir=/opt/Apache22/include --bindir=${prefix}/bin --datadir=/opt/Apache22 --with-installbuilddir=${prefix}/build
## --------- ##
## Platform. ##
## --------- ##
hostname = sap9
uname -m = x86_64
uname -r = 2.6.16.60-0.54.5-default
uname -s = Linux
uname -v = #1 Fri Sep 4 01:28:03 UTC 2009
/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: /opt/TradeXpress5/users/editest/bin
PATH: /opt/TradeXpress5/bin
PATH: /opt/TradeXpress5/bin/runner/bin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin/X11
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3787: checking build system type
configure:3801: result: x86_64-unknown-linux-gnu
configure:3821: checking host system type
configure:3834: result: x86_64-unknown-linux-gnu
configure:3854: checking target system type
configure:3867: result: x86_64-unknown-linux-gnu
configure:3930: checking for working mkdir -p
configure:3946: result: yes
configure:4038: checking for chosen layout
configure:4040: result: apr
configure:4305: checking for gcc
configure:4321: found /usr/bin/gcc
configure:4332: result: gcc
configure:4561: checking for C compiler version
configure:4570: gcc --version >&5
gcc (GCC) 4.1.2 20070115 (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4581: $? = 0
configure:4570: gcc -v >&5
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (SUSE Linux)
configure:4581: $? = 0
configure:4570: gcc -V >&5
gcc: '-V' option must have argument
configure:4581: $? = 1
configure:4570: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4581: $? = 1
configure:4603: checking for C compiler default output file name
configure:4625: gcc conftest.c >&5
/lib64/libc.so.6: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure:4629: $? = 1
configure:4666: 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. */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
configure:4672: error: in `/opt/httpd-2.2.21/srclib/apr':
configure:4676: 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_CCC_set=
ac_cv_env_CCC_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_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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_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_mkdir_p=yes
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=x86_64-unknown-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
APR_CONFIG_LOCATION='source'
APR_DOTTED_VERSION='1.4.5'
APR_LIBNAME=''
APR_MAJOR_VERSION='1'
AR=''
AS=''
ASCPP=''
AWK=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFAULT_OSDIR=''
DEFS=''
DLLTOOL=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_CPPFLAGS=''
EXTRA_INCLUDES=''
EXTRA_LDFLAGS=''
EXTRA_LIBS=''
F77=''
FFLAGS=''
GREP=''
INCLUDES=''
INCLUDE_OUTPUTS=''
INCLUDE_RULES=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_SUBDIRS=''
LDFLAGS=''
LDLIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_LIBS=''
LN_S=''
LTFLAGS=''
LTLIBOBJS=''
LT_LDFLAGS=''
LT_NO_INSTALL=''
LT_VERSION=''
MKDEP=''
NMEDIT=''
NOTEST_CFLAGS=''
NOTEST_CPPFLAGS=''
NOTEST_INCLUDES=''
NOTEST_LDFLAGS=''
NOTEST_LIBS=''
OBJDUMP=''
OBJECTS_PLATFORM=''
OBJEXT=''
OSDIR=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RM=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
acceptfilter=''
apr_builddir='/opt/httpd-2.2.21/srclib/apr'
apr_builders='/opt/httpd-2.2.21/srclib/apr/build'
apr_charset_ebcdic=''
apr_has_user=''
apr_has_xthread_files=''
apr_inaddr_none=''
apr_procattr_user_set_requires_password=''
apr_srcdir='/opt/httpd-2.2.21/srclib/apr'
apr_tcp_nopush_flag=''
apr_thread_func=''
aprdso=''
aprlfs=''
arpa_ineth=''
bigendian=''
bindir='${prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
conioh=''
crypth=''
ctypeh=''
datadir='/opt/Apache22'
datarootdir='${prefix}/share'
direnth=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
eolstr=''
errnoh=''
exec_prefix='/opt/Apache22'
export_lib_target=''
fcntlh=''
fcntlser=''
file_as_socket=''
flockser=''
fork=''
hasfcntlser=''
hasflockser=''
hasposixser=''
hasprocpthreadser=''
hassysvser=''
have_corkable_tcp=''
have_getrlimit=''
have_in_addr=''
have_inet_addr=''
have_inet_network=''
have_iovec=''
have_ipv6=''
have_memchr=''
have_memmove=''
have_proc_invoked=''
have_sa_storage=''
have_sctp=''
have_setrlimit=''
have_sigaction=''
have_sigsuspend=''
have_sigwait=''
have_strcasecmp=''
have_strdup=''
have_stricmp=''
have_strncasecmp=''
have_strnicmp=''
have_strstr=''
have_unicode_fs=''
have_union_semun=''
havebeosarea=''
havemmapanon=''
havemmapshm=''
havemmaptmp=''
havemmapzero=''
haveos2shm=''
haveshmget=''
haveshmgetanon=''
havewin32shm=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='/opt/Apache22/include'
infodir='${datarootdir}/info'
ino_t_value=''
installbuilddir='${datadir}/build-${APR_MAJOR_VERSION}'
int64_literal=''
int64_t_fmt=''
int64_value=''
int_value=''
ioh=''
lib_target=''
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/modules'
limitsh=''
link=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}'
long_value=''
lt_compile=''
mandir='${prefix}/man'
mmap=''
netdbh=''
netinet_inh=''
netinet_sctp_uioh=''
netinet_sctph=''
netinet_tcph=''
o_nonblock_inherited=''
oc=''
off_t_fmt=''
off_t_value=''
oldincludedir='/usr/include'
osuuid=''
pdfdir='${docdir}'
pid_t_fmt=''
posixser=''
prefix='/opt/Apache22'
proc_mutex_is_global=''
processh=''
proclockglobal=''
procpthreadser=''
program_transform_name='s,x,x,'
psdir='${docdir}'
pthreadh=''
pthreadser=''
rand=''
sbindir='${exec_prefix}/bin'
semaphoreh=''
sendfile=''
sharedmem=''
sharedstatedir='${prefix}/com'
shlibpath_var=''
short_value=''
signalh=''
size_t_fmt=''
size_t_value=''
so_ext=''
socklen_t_value=''
ssize_t_fmt=''
ssize_t_value=''
stdargh=''
stdint=''
stdioh=''
stdlibh=''
stringh=''
stringsh=''
struct_rlimit=''
sys_ioctlh=''
sys_sendfileh=''
sys_signalh=''
sys_socketh=''
sys_sockioh=''
sys_syslimitsh=''
sys_timeh=''
sys_typesh=''
sys_uioh=''
sys_unh=''
sys_waith=''
sysconfdir='${prefix}/conf'
sysvser=''
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'
tcp_nodelay_inherited=''
threads=''
timeh=''
top_builddir='/opt/httpd-2.2.21/srclib/apr'
uint64_literal=''
uint64_t_fmt=''
uint64_t_hex_fmt=''
unistdh=''
usebeosarea=''
usemmapanon=''
usemmapshm=''
usemmaptmp=''
usemmapzero=''
useos2shm=''
useshmget=''
useshmgetanon=''
usewin32shm=''
voidp_size=''
windowsh=''
winsock2h=''
## ----------- ##
## 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
It probably has to do with:
/lib64/libc.so.6: file not recognized: File format not recognized
gcc is located under /usr/bin/gcc but i don't think the problem is the ./config not finding it. Could it maybe be that the reason lies with a newer version glibc beeing installed on the system? If so this would be my root problem if you will.
I upgraded binutils, which solved the problem.
I would imagine that it might be due to `target_vendor='unknown' with a value unknown. That would be my first port of call.
Install the gcc again with dependencies and the dependent modules as shown below and try ./configure again to fix the above issue
# rpm -ivh gcc-4.1.2-14.el5.i386.rpm glibc-devel-2.5-18.i386.rpm glibc-headers-2.5-18.i38
6.rpm kernel-headers-2.6.18-53.el5.i386.rpm
Preparing... ########################################### [100%]
1:kernel-headers ########################################### [ 25%]
2:glibc-headers ########################################### [ 50%]
3:glibc-devel ########################################### [ 75%]
4:gcc ########################################### [100%]
Make sure you have compile and build pcre,apr and apr-util before configuring apache.

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