Bryan Kadzban wrote:

If you use a host with "new" binutils (2.15.x), but are building "old"
binutils (2.14 was what was current when this issue came up), then after
you install the "old" binutils, linking won't work anymore.  gcc's specs
file uses --as-needed, because 2.15.x supported it, but the ld from 2.14
will fail because it doesn't support it.

This was happening about a year ago, and we eventually fixed it by
upping the book's binutils to 2.15.whatever.  But similar issues can
come up again fairly easily (and will, every time binutils adds a new
command line option), and upgrading core system packages (binutils, gcc,
glibc) is not necessarily an "easy fix" if they do.  It isn't trivial,
in any case.

Thanks for the case-in-point, Byran. The idea that similar issues can come up, (and as you showed, we have previous examples of them) and that the host system can affect the current build method was what I was trying to express earlier.

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

Reply via email to