0

I am working on LFS 7.8.

In Pass1 GCC 5.2.0 compilation there is an error in 'make' :

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

Host system is CentOS 7 with GCC version 4.8.5

Attached Config.log config.log

3
  • Do you have g++ installed? Commented Dec 5, 2019 at 16:17
  • 1
    Did you run version-check.sh on your host (CentOS) as described in Preface > Host System Requirements? Can you update you question and add results printed by this script?
    – rsm
    Commented Dec 5, 2019 at 16:23
  • yes g++ is installed and version-check.sh on host was also ok.
    – Girish
    Commented Dec 6, 2019 at 10:12

1 Answer 1

0

Finally problem is solved with --disable-libvtv in configure command of gcc and then run make and make install.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .