This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/15711] Endless loop building misc/bits/syscall.d in glibc 2.17
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 15 Jul 2013 18:02:32 +0000
- Subject: [Bug build/15711] Endless loop building misc/bits/syscall.d in glibc 2.17
- Auto-submitted: auto-generated
- References: <bug-15711-131 at http dot sourceware dot org/bugzilla/>
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.