This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/15711] Endless loop building misc/bits/syscall.d in glibc 2.17


http://sourceware.org/bugzilla/show_bug.cgi?id=15711

--- Comment #6 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to joseph@codesourcery.com from comment #5)
> I don't see any -I options at all in the make output quoted in this bug - 
> in particular, none that would cause source tree headers to be used.  (The 
> makefile rules use $(sysincludes), presumably so that the kernel headers 
> can be found if --with-headers is used to locate them.)

Thanks, that's a good point I hadn't noticed yet.

In fact the search paths are only:
 /usr/lib/gcc/x86_64-redhat-linux/4.7.2/include
 /home/carlos/install-linux/include

Which is the system headers and the linux headers used for the build.

Given that this header doesn't need include/stdc-predef.h the best solution is
to use -ffreestanding instead of including more include directories from the
source tree.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]