[lfs-support] gcc 4.1.2 when make bootstrap

Bruce Dubbs bruce.dubbs at gmail.com
Mon Oct 10 18:10:05 PDT 2016


chenyiwei02 wrote:
>
>
>       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.
>       Thanks.
>
> 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

LFS 6.3 was released 8 years ago (2008).  It may be the only Chinese 
translation, but there have been a huge number of changes since then.

CentOS 6.5 was released in 2013.  It is likely that it will not build 
every package from 2008 without serious updates.

If someone wants to translate the current version of LFS to Chinese, it is 
much more likely to succeed.

   -- Bruce




More information about the lfs-support mailing list