gcc 2nd pass error

Chris Staub chris at beaker67.com
Wed May 10 14:17:45 PDT 2006

Georgina Joyce wrote:
> On Wed, May 10, 2006 at 08:29:46PM +0100, Ken Moffat wrote:
>> On Wed, May 10, 2006 at 01:17:03PM +0100, Georgina Joyce wrote:
>>> Hi
>>  Did you extract a fresh source tarball, and create a fresh build
>> directory ?  The only references to that message that I can see on
>> google are from a failed cross-compile (no reason established, the
>> builder was pointed to a more authoritative method of doing it) and on
>> linuxquestions, for both binutils and gcc, where the problems seemed
>> to be related to reusing the pass 1 directories.
> No I kept the original source as instructed.  Although, I didn't feel confident about renewing the build directory but it was quite clear that was necessary.  I deleted all of the files inside my original build directory and attempted my second build.  Shouldn't have I deleted the build contents of the first pass?

The book doesn't say to keep the source dirs, except for a couple 
specific packages (binutils and tcl). Unless the book says otherwise, 
you must remove source and build directories after each package 
installation (this is mentioned in section 5.1 of the book).

More information about the lfs-support mailing list