[lfs-support] Chapter 6.7.1 header file search verification failure

Douglas R. Reno renodr2002 at gmail.com
Wed Nov 6 03:30:58 PST 2013


I am building GCC 4.7.1 (book says to use 4.7.2). My book version is 7.3,
so I am not using the latest version of the book. I have built several
systems with 4.7.1 instead of 4.7.1.

My output of "grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'" is:

SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");

I noticed that my output here is completely off from what the book says it
should be. Should I recompile GCC?
On Nov 6, 2013 1:33 AM, "Pierre Labastie" <pierre.labastie at neuf.fr> wrote:

> Le 06/11/2013 03:04, Douglas R. Reno a écrit :
> > Douglas R. Reno <renodr2002 <at>
> > gmail.com> writes:
> >
> >>
> >>
> >> Hello,
> >> I am having a completely different
> > output than the book says when running
> > "grep -B4 '^ /
> > usr/include' dummy.log", I get the
> > following output:
> >> ignoring nonexistent directory "/tools/
> > lib/gcc/i686-pc-linux-gnu/4.7.1/../../../../
> > i686-pc-linux-
> > gnu/include"
> >> ignoring duplicate directory "/usr/
> > include"
> >> #include "..." search starts here:
> >> #include <...> search starts here:
> >>   /usr/include
> >> And that is all the output I get. I am
> > using OpenSUSE 12.1 as a host.
> >> Can you please tell me what I did
> > wrong and how to fix it?
> >>
> >>
> >>
> >
> > I would also like to bring up that my
> > output from "grep -o '/usr/lib.*/
> > crt[1in].*succeeded'
> > dummy.log" reads:
> >
> > /usr/lib/crt1.o succeeded
> > /usr/lib/crti.o succeeded
> > /usr/lib/crtn.o succeeded
> >
> > Also, i am using GCC 4.7.1 instead of
> > 4.7.2, if that helps any. I have built
> > several other
> > systems with that same version.
>
> Do you mean you build GCC 4.7.1 or that GCC 4.7.1 is on the host?
>
> If you are building GCC 4.7,x you do not have the latest version of the
> book,
> do you?
>
> What about the "SEARCH_DIR" outputs?
> Pierre
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20131106/cc71c3da/attachment.html>


More information about the lfs-support mailing list