LFS - Pass1 gcc make failed with [configure-target-libvtv] Error 1
by girishpotdar from LinuxQuestions.org on (#4W4R3)
Hello,
This is regarding LFS - GCC pass1 compilation.
where make is failing with below error :
checking for C compiler default output file name...
configure: error: in `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libvtv':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libvtv] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
Some details :
Host system - CentOS 7 (installed in vmware)
LFS version - 7.8
GCC version (host) - 4.8.5 20150623 (Red Hat 4.8.5-39)
GCC version (lfs) - 5.2.0
glibc version (host) - 2.17


This is regarding LFS - GCC pass1 compilation.
where make is failing with below error :
checking for C compiler default output file name...
configure: error: in `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libvtv':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libvtv] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
Some details :
Host system - CentOS 7 (installed in vmware)
LFS version - 7.8
GCC version (host) - 4.8.5 20150623 (Red Hat 4.8.5-39)
GCC version (lfs) - 5.2.0
glibc version (host) - 2.17