LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   GCC Build error Bootstrap comparison failure! (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-build-error-bootstrap-comparison-failure-692025/)

R03L 12-21-2008 07:06 AM

GCC Build error Bootstrap comparison failure!
 
now i got this next error compiling gcc
i did

bash$:
Code:

CC="gcc -B/usr/bin/" ../gcc-4.3.2/configure --prefix=/tools    --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp    --enable-languages=c --with-gmp=../tools/gmp --with-mpfr=../tools/mpfr
make j=2

i got

Code:

make[2]: Entering directory `/mnt/lfs/gcc-build'
make[3]: Entering directory `/mnt/lfs/gcc-build'
rm -f stage_current
make[3]: Leaving directory `/mnt/lfs/gcc-build'
Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./gcc.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/mnt/lfs/gcc-build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/mnt/lfs/gcc-build'
make: *** [all] Error 2

can anybody help please?

R03L 12-22-2008 06:46 AM

already solved it by make distclean and configure again.

DrewBarfield 07-21-2009 08:39 PM

Worked for me too...
 
I'm working on Linux From Scratch version 6.4 and got the same error on multiple object files for GCC 4.3.2:

The following made it work perfectly:

Code:

sudo make distclean
sudo ./configure

-Drew

R03L 07-22-2009 04:25 AM

you post sude ./configure
i only use sudo by make install.

so i sh ./configure
make
and afther that i sudo make install ;)

DrewBarfield 07-22-2009 12:55 PM

Yeah, I was using sudo a lot last night. Issuing a...
Code:

chown -R lfs /mnt/lfs
...ended all of that.


All times are GMT -5. The time now is 06:56 PM.