[lfs-support] LFS V7.2 gcc compile error

Michael Niehren michael at niehren.de
Tue Sep 4 07:16:59 PDT 2012


Hi together,

i try to compile LFS V7.2 on an actual Centos V6.3 (i686) System. 

If i try to compile gcc V4.7.1 for the temporary system, everythin set as described in the Book, i get the
following error:

Checking multilib configuration for libstdc++-v3...                                                                                                                                                            
Configuring stage 1 in i686-pc-linux-gnu/libstdc++-v3
...
checking whether the /home/lfs/sources/gcc-build/./gcc/xgcc -B/home/lfs/sources/gcc-build/./gcc/ -B/tools/i686-pc-linux-
gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem /tools/i686-pc-linux-gnu/include -isystem /tools/i686-pc-linux-
gnu/sys-include    linker (/home/lfs/sources/gcc-build/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[2]: *** [configure-stage1-target-libstdc++-v3] Error 1
make[2]: Leaving directory `/home/lfs/sources/gcc-build'
make[1]: *** [stage1-bubble] Error 2

Host-System has
- gcc V4.4.6
- glibc 2.12

[root at localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-279.5.2.el6.i686 #1 SMP Thu Aug 23 22:16:48 UTC 2012 i686 i686 i386 GNU/Linux

Could anyone help ?

best regards,
  Michael

-- 
Michael Niehren              __   _       powered by
                            / /  (_)__  __ ____  __
                           / /__/ / _ \/ // /\ \/ /
                          /____/_/_//_/\_,_/ /_/\_\



More information about the lfs-support mailing list