problems with gcc 3.4.1 Pass2 LFS 6.0

Andrei A. Voropaev av at simcon-mt.com
Wed Jan 12 00:37:52 PST 2005


On Tue, Jan 11, 2005 at 08:52:53PM +0100, Max Hegele wrote:
> Hello,
> 
> this is the error-log, perhaps this helps:
> 
> -----------------------
> /bin/sh ../gcc-3.4.1/mkinstalldirs x86_64-unknown-linux-gnu/libstdc++-v3 ; \
> rm -f x86_64-unknown-linux-gnu/libstdc++-v3/Makefile || : ; \
> cp multilib.out x86_64-unknown-linux-gnu/libstdc++-v3/multilib.out
> mkdir -p -- x86_64-unknown-linux-gnu/libstdc++-v3
> Configuring in x86_64-unknown-linux-gnu/libstdc++-v3
> configure: creating cache ./config.cache
> 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
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for x86_64-unknown-linux-gnu-gcc... 
> /mnt/lfs/sources/gcc-build/gcc/xgcc -B/mnt/lfs/sources/gcc-build/gcc/ 
> -B/tools/x86_64-unknown-linux-gnu/bin/ 
> -B/tools/x86_64-unknown-linux-gnu/lib/ -isystem 
> /tools/x86_64-unknown-linux-gnu/include -isystem 
> /tools/x86_64-unknown-linux-gnu/sys-include
> checking for C compiler default output... a.out
> checking whether the C compiler works... configure: error: cannot run C 
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make: *** [configure-target-libstdc++-v3] Error 1
> ----------------------------

Did you check config.log for more details? Most likely when you have
adjusted specs file for gcc you didn't specify correct so loader. In
/tools/lib/ you should have ld-linux-x86-64.so.2. The same shall be
placed into specs file.

Andrei



More information about the lfs-support mailing list