LFS 6.9 Glibc-2.3.6
hscast at charter.net
Fri Aug 18 18:53:32 PDT 2006
On Fri, 2006-08-18 at 18:37 -0700, Dan Nicholson wrote:
> On 8/18/06, Scott Castaline <hscast at charter.net> wrote:
> > It seems that gcc is the only one pointing to lib instead of tools/lib
> > all the others point to tools/lib on the readelf -l command and it looks
> > like the spec file is set to tools/lib and not lib. Before doing pass 2
> > of gcc and binutils, I blew away the source and build subdirs of both
> > and re tar'd the tarballs. Do you think that that's my problem? If so it
> > looks like here we go again. I'll be waiting since my email is on this
> > system, and it's gettin' a bit painful switching back & forth. Usually
> > the only time I reboot is on M$ not linux.
> Blowing away the directories is not a problem. Only keep them if the
> book says to (or if you like to keep them). It's always wise to start
> with a freshly unpacked source tree unless there's a specific reason
> not to.
> It's very possible that everything built after gcc-pass2 has the
> correct dynamic linker. Then the only things that need to be rebuilt
> would be in between Adjusting and gcc-pass2. I.e. tcl, expect, dejagnu
> and gcc-pass2. I would definitely rebuild gcc-pass2 now that the specs
> file is correct. It will be very painful to find out in the middle of
> the glibc build that something can't run in the chroot.
all packages built and installed between 1st adjust and gcc 2nd pass are
ok they reflect the correct /tools/lib/ld-linux.so.2, only gcc is wrong.
By removing the source files for gcc did I remove something needed in
the 2nd pass of the gcc build process. The book does say in the
beginning that at the start of ch6 you should start with new source for
packages used in ch5. What I had done was wipe out the sources for gcc
and binutils for the 2nd pass in ch5. If that does wipe out something
that stays for pass 2 then I guess it's back to 5.1. Should I have just
destroyed the 1st pass build subdirs and rebuilt on 2nd pass?
Scott Castaline aka Bad2theBone
Hey! I was born crazy, what's your excuse?
More information about the lfs-support