On 2/15/06, Greg Schafer <[EMAIL PROTECTED]> wrote:
> Dan Nicholson wrote:
>
> > It seems that rather than using the compiled in LIB_PATH that we make
> > use of in Ch. 5 to repoint the linker to where we want, the default
> > will be that the paths in /etc/ld.so.conf will be preferred before
> > these.  This could have a very significant effect on the build.
>
> Hrm, I think you're oversimplifying things here. See the DIY sanity checks
> in the Chroot phase toolchain readjustment. (3) & (4) are checking 2
> distinctly separate parts of the linking process. The change you refer to
> only affects (4).

Agreed.  Only affects DT_NEEDED.  However, it may mean we don't have
to have a separate ld binary with LIB_PATH adjusted.  Drops building
ld 4 times in /tools to 2 times, but we still have to get gcc to look
in the right places.  Maybe I overstated the "significance", though.
:)

> > This is just speculation for now, but very intriguing nonetheless.
>
> Indeed. This aspect of the build will need to be revisited and rechecked.
> Latest HJL release (2.16.91.0.6) has the change.

Where do you get the HJL releases from?  I pulled this snapshot from
sourceware that has the changes:

ftp://sourceware.org/pub/binutils/snapshots/binutils-060215.tar.bz2

I'm building it now to see if the adjustment hacks I referenced in the
last message hold water.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to