This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] BZ#15711: Build syscall.h with -ffreestanding.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, David Miller <davem at davemloft dot net>
- Date: Wed, 10 Jul 2013 10:30:02 -0400
- Subject: Re: [PATCH] BZ#15711: Build syscall.h with -ffreestanding.
- References: <51D6B452 dot 30401 at redhat dot com> <mvm38rmuaxl dot fsf at hawking dot suse dot de>
On 07/10/2013 03:32 AM, Andreas Schwab wrote:
> "Carlos O'Donell" <carlos@redhat.com> writes:
>
>> The loop is caused by a auto-generated prerequisite between
>> /usr/include/stdc-predef.h and $BUILD/misc/bits/syscall.d.
>
> Why isn't the compiler seeing include/stdc-predef.h first?
That's a good question. I don't know. I'm not happy with this
fix because it's really a bandaid for not understanding exactly
why this fails.
You need to build as root, and I don't normally do that, but
in some instances when I checkout a box from our build farm
it's just convenient to do it all as root.
Either way it shouldn't fail in the way that it fails.
Cheers,
Carlos.