From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 816 invoked by alias); 15 Jul 2013 18:04:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 29694 invoked by uid 48); 15 Jul 2013 18:02:33 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/15711] Endless loop building misc/bits/syscall.d in glibc 2.17 Date: Mon, 15 Jul 2013 18:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg00083.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15711 --- Comment #6 from Carlos O'Donell --- (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.