gcc won't compile/bootstrap error

Thomas T. Veldhouse veldy at veldy.net
Mon Jul 3 08:38:47 PDT 2000


Perhaps you should skip the -e argument to make.  I have never used that for
gcc and I am not sure why it is included here.  It has given me problems
during the LFS build on some of the packages - I just tried without -e.

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: ktb <kbrede at revelation.lib.unomaha.edu>
To: <lfs-discuss at linuxfromscratch.org>
Sent: Monday, July 03, 2000 10:01 AM
Subject: gcc won't compile/bootstrap error


> I've looked through the archives and see someone has had a similar problem
> but not exactly.  I'm trying to do a "make -e bootstrap" on "gcc-2.95.2"
> using the directions in "LFS-BOOK-2.3.5b."  I've compiled and installed it
> static and am now trying it dynamic.  Yes I did delete both the build and
> unpacked directories before trying.  I also tried using both the optimized
> environments and the regular environments.  Here is the error I'm
> receiving.  Any help would be appreciated.
> Thanks,
> kent
>
>
############################################################################
#
> make[1]: Leaving directory `/usr/src/gcc-build/gcc'
> Comparing stage2 and stage3 of the compiler
> make[1]: Entering directory `/usr/src/gcc-build/gcc'
> rm -f .bad_compare
> case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
> compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
> for file in *.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
> 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 cp; 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!
> gcc.o differs
> make[1]: *** [compare] Error 1
> make[1]: Leaving directory `/usr/src/gcc-build/gcc'
> make: *** [bootstrap] Error 2
>
>
> --
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)
>

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list