This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: another build breakage
- From: Cary Coutant <ccoutant at google dot com>
- To: Tom Tromey <tromey at redhat dot com>, Nick Clifton <nickc at redhat dot com>
- Cc: Binutils Development <binutils at sourceware dot org>
- Date: Thu, 17 May 2012 11:31:38 -0700
- Subject: Re: another build breakage
- References: <87k40alojr.fsf@fleche.redhat.com>
> The build now fails for me in opcodes, I think due to another recent
> change:
>
> make[4]: Entering directory `/home/tromey/gnu/baseline-gdb/build/opcodes'
> /bin/sh ./libtool --tag=CC ? --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes ?-I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd ? ?-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT arc-dis.lo -MD -MP -MF .deps/arc-dis.Tpo -c -o arc-dis.lo ../../src/opcodes/arc-dis.c
> libtool: compile: ?gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT arc-dis.lo -MD -MP -MF .deps/arc-dis.Tpo -c ../../src/opcodes/arc-dis.c -o arc-dis.o
> In file included from ../../src/opcodes/../include/dis-asm.h:36:0,
> ? ? ? ? ? ? ? ? from ../../src/opcodes/arc-dis.c:25:
> ../bfd/bfd.h:36:2: error: #error config.h must be included before this header
It's clearly this change, which added that #error to bfd-in.h:
http://sourceware.org/ml/binutils-cvs/2012-05/msg00121.html
I found this related bug report:
http://sourceware.org/bugzilla/show_bug.cgi?id=14072
Nick, is there supposed to be an #include "sysdep.h" in
opcodes/arc-dis.c? From the comment stream on that PR, it sounds like
there are still other problems to be fixed.
-cary