[lfs-support] gcc 4.1.2 when make bootstrap

chenyiwei02 chenyiwei02 at 163.com
Mon Oct 10 17:55:03 PDT 2016

     I'm a chinese , forgive me if where I write not right, I will try to
express want I want to say.

     It's the first time I follow the book (LFS6.3),and first time ask a question
for foreigner.But I'm a user of linux (Centos) more than 2 years, and if some
errors you met while compile tarballs is really hard to solve as you know.
     The error I met is as following, when I run
"make bootstrap" ,on centos 6.5(32bit),following the book.
     I have already looked for hints form FAQ, and Mailing Lists,and also
searched it by search engine except google which is limited by the government.

make[1]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" \
           STAGE_PREFIX=stage1/ \
           ADAFLAGS="" CFLAGS="-O2 -g -fomit-frame-pointer" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute " libdir=/tools/lib LANGUAGES="c gcov gcov-dump " MAKEINFO="/mnt/lfs/sources/gcc-4.1.2/missing makeinfo --split-size=5000000" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
           CFLAGS="-O2 -g -fomit-frame-pointer" WERROR=""
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
build/genmodes -h > tmp-modes.h
/bin/sh: line 1: 20257 Segmentation fault      (core dumped) build/genmodes -h > tmp-modes.h
make[2]: *** [s-modes] Error 139
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20161011/ef339f35/attachment.html>

More information about the lfs-support mailing list