[lfs-support] 6.17. GCC-4.8.1 - Linker search paths
bruce.dubbs at gmail.com
Mon Sep 30 21:52:07 PDT 2013
Ken Moffat wrote:
> On Tue, Oct 01, 2013 at 04:41:28PM +1300, Craig Magee wrote:
>> On 1 October 2013 16:09, Ken Moffat <zarniwhoop at ntlworld.com> wrote:
>>> On Tue, Oct 01, 2013 at 03:27:22PM +1300, Craig Magee wrote:
>>>> However, grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' returns only:
>>>> while the book tells me to expect:
>>>> Any advice on where I went wrong would be greatly appreciated.
>>> Does the book tell you to expect that ? My local copy of 7.4 says
>>> that your results are correct. I think you might have been looking
>>> at a different version of the book, or a different page, along the
>>> way. In particular, that grep for '.*/usr/lib' cannot possibly match
It can match if there is more than one SEARCH entry on the line. See below.
>> Ah, I didn't think to take the time decoding the regular expression as they
>> confuse the heck out of me. I copypasta'd it.
>> It definitely states the block of text I quoted.
>> Would the expected output listed for i686 systems also be incorrect?
> Ah, I was looking at 6.10 (Adjusting the toolchain), not 6.17.
> Interesting. In my logs I keep the actual output from dummy.log
> and that does have all of those. But I don't see how that (same)
> regexp can possibly return the first two results that we show.
> OTOH, I'm hours past my bedtime, maybe I'm missing something
> obvious. I'll defer to Matt or Bruce if they comment in the next
> few hours. At the moment it looks like such an obvious fubar that I
> would expect _someone_ to have noticed it, so I guess I'm probably
> out on my own again and leading you astray ;-)
My log (Sep 23 svn) has exactly what the book says for x86_64. Take a
look at the full dummy.log to see if there is something that doesn't
Note that the sed only separates the SEARCH entries to separate lines.
That is, changes the semicolon-space pair to a new line.
I haven't done a 686 in quite some time. Perhaps Fernando has.
More information about the lfs-support