[lfs-support] gcc compile error in lfs 7.3

سید احمد حسینی ahmadtux at outlook.com
Sun Mar 24 12:45:53 PDT 2013


Hi FriendsI came across this error while compiling linux:
checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... mawkchecking whether make sets $(MAKE)... yeschecking 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 suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether /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    accepts -g... yeschecking for /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    option to accept ISO C89... unsupportedchecking whether we are using the GNU C++ compiler... yeschecking whether  /mnt/lfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/lfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -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    accepts -g... yeschecking how to run the C preprocessor... /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    -Echecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking whether ln -s works... yeschecking for x86_64-unknown-linux-gnu-as... /mnt/lfs/sources/gcc-build/./gcc/aschecking for x86_64-unknown-linux-gnu-ar... /tools/x86_64-unknown-linux-gnu/bin/archecking for x86_64-unknown-linux-gnu-ranlib... /tools/x86_64-unknown-linux-gnu/bin/ranlibchecking whether to enable maintainer-specific portions of Makefiles... noconfigure: CPU config directory is cpu/i486configure: OS config directory is os/gnu-linuxchecking how to print strings... printfchecking for a sed that does not truncate output... /bin/sedchecking for fgrep... /bin/grep -Fchecking for ld used by /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   ... /mnt/lfs/sources/gcc-build/./gcc/collect-ldchecking if the linker (/mnt/lfs/sources/gcc-build/./gcc/collect-ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /mnt/lfs/sources/gcc-build/./gcc/nmchecking the name lister (/mnt/lfs/sources/gcc-build/./gcc/nm) interface... BSD nmchecking the maximum length of command line arguments... 3458764513820540925checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking for /mnt/lfs/sources/gcc-build/./gcc/collect-ld option to reload object files... -rchecking for x86_64-unknown-linux-gnu-objdump... /tools/x86_64-unknown-linux-gnu/bin/objdumpchecking how to recognize dependent libraries... pass_allchecking for x86_64-unknown-linux-gnu-ar... (cached) /tools/x86_64-unknown-linux-gnu/bin/archecking for x86_64-unknown-linux-gnu-strip... /tools/x86_64-unknown-linux-gnu/bin/stripchecking for x86_64-unknown-linux-gnu-ranlib... (cached) /tools/x86_64-unknown-linux-gnu/bin/ranlibchecking command to parse /mnt/lfs/sources/gcc-build/./gcc/nm output from /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    object... failedchecking for ANSI C header files... nochecking for sys/types.h... nochecking for sys/stat.h... nochecking for stdlib.h... nochecking for string.h... nochecking for memory.h... nochecking for strings.h... nochecking for inttypes.h... nochecking for stdint.h... nochecking for unistd.h... nochecking for dlfcn.h... nochecking for objdir... .libschecking if /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    supports -fno-rtti -fno-exceptions... nochecking for /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    option to produce PIC... -fPIC -DPICchecking if /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    PIC flag -fPIC -DPIC works... yeschecking if /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    static flag -static works... nochecking if /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    supports -c -o file.o... yeschecking if /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    supports -c -o file.o... (cached) yeschecking whether the /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    linker (/mnt/lfs/sources/gcc-build/./gcc/collect-ld -m elf_x86_64) supports shared libraries... yeschecking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.make[2]: *** [configure-stage1-target-libstdc++-v3] Error 1make[2]: Leaving directory `/mnt/lfs/sources/gcc-build'make[1]: *** [stage1-bubble] Error 2make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'make: *** [all] Error 2


Please guide me 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20130325/3a84993c/attachment.html>


More information about the lfs-support mailing list