LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-21-2008, 07:06 AM   #1
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Rep: Reputation: 31
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?

Last edited by R03L; 12-22-2008 at 04:47 AM. Reason: j=2 not s=2
 
Old 12-22-2008, 06:46 AM   #2
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
already solved it by make distclean and configure again.
 
Old 07-21-2009, 08:39 PM   #3
DrewBarfield
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
Thumbs up 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
 
Old 07-22-2009, 04:25 AM   #4
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
you post sude ./configure
i only use sudo by make install.

so i sh ./configure
make
and afther that i sudo make install
 
Old 07-22-2009, 12:55 PM   #5
DrewBarfield
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
Talking

Yeah, I was using sudo a lot last night. Issuing a...
Code:
chown -R lfs /mnt/lfs
...ended all of that.
 
  


Reply

Tags
bootstrap, compare, compiling, error, failure, gcc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC build error lukeiamyourfather Linux From Scratch 5 01-05-2008 11:01 AM
Build Error During Gentoo Bootstrap jrtayloriv Linux - Newbie 2 12-31-2004 11:40 AM
LFS5.1.1 gcc-core-3.3.3 bootstrap (first pass) error. Cynric Linux From Scratch 3 08-18-2004 09:34 PM
GCC first build for LFS, bootstrap error Blibblob Linux From Scratch 8 01-07-2004 05:50 PM
gcc 2.3 bootstrap error NGraphiX Linux From Scratch 1 05-15-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration