This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: including the installed bfd.h header fails because of missing config.h
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: binutils Development <binutils at sourceware dot org>, Tristan Gingold <gingold at adacore dot com>, Nick Clifton <nickc at redhat dot com>
- Date: Tue, 25 Sep 2012 18:34:02 +0200
- Subject: Re: including the installed bfd.h header fails because of missing config.h
- References: <5061DA84.4050501@ubuntu.com>
On 2012.09.25 at 18:23 +0200, Matthias Klose wrote:
> Seen in a distribution test rebuild. With 2.23 and trunk every package which
> includes bfd.h fails to build, because the sanity check triggers. I can think of
> different solutions:
>
> - Remove the sanity check on installation
> awk '/PR 14072/,/^#endif/ {next} {print}' bfd.h
>
> - Install the config.h under a different name bfd-config.h
> and use this name in the installed bfd.h.
>
> This should be fixed on the branch too.
Yes I agree. See also: sourceware.org/bugzilla/show_bug.cgi?id=14243
--
Markus