Problems bootstrapping gcc

Chris Lingard chris at stockwith.co.uk
Sun Oct 13 10:21:54 PDT 2002


lfs wrote:

> I am having problems building the gcc
> 
> Section is chapter 5.
> All other stages (up to this phase) go OK.
> Base system is SuSE 8.0
> Have had the same problem with 4-rc1 and 4.0.
> 
> I have nohupped the build and then kept the nohup.out file.
> Everything goes OK until the end -stage. have also tried "make bootstrap" 
> and
> " make quickstrap"  and these always give exactly the same error.
> 
> Any information gratefully received.
> 
> Last few lines of the output file are below....
> 
> Thanks Tim Binsted
> 
> 
> case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
> compare
> | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
> for dir in tmp-foo intl ; do \
>   if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
>     for file in $dir/*.o; do \
>       tail +16c ./$file > tmp-foo1; \
>       tail +16c stage$stage/$file > tmp-foo2 \
>         && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs
>         >>
> .bad_compare) || true; \
>     done; \
>   else true; fi; \
> done
> rm -f tmp-foo*
> case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
> compare
> | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
> if [ -f .bad_compare ]; then \
>   echo "Bootstrap comparison failure!"; \
>   cat .bad_compare; \
>   exit 1; \
> else \
>   case "compare" in \
>     *-lean ) rm -rf stage$stage ;; \
>     *) ;; \
>   esac; true; \
> fi
> Bootstrap comparison failure!
> tree-dump.o differs
> make[1]: *** [compare] Error 1
> make[1]: Leaving directory `/mnt/lfs/static/usr/src/gcc-build/gcc'
> make: *** [bootstrap] Error 2

The  make bootstrap command makes the compiler three times, then
compares the last two.  This test has failed and you need to build an
extra time

Use the command   make bootstrap4

If you have not deleted gcc-build, then you can just use this command;
and if it works, carry on and install the compiler
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list