This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: another build breakage
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Cary Coutant <ccoutant at google dot com>, Tom Tromey <tromey at redhat dot com>, Nick Clifton <nickc at redhat dot com>, Binutils Development <binutils at sourceware dot org>, <gdb at sourceware dot org>
- Date: Fri, 18 May 2012 14:12:14 +0100
- Subject: Re: another build breakage
- References: <87k40alojr.fsf@fleche.redhat.com> <CAHACq4qUY_V1O+H7Z8f0TUXkkV-+0Hwb3fYU+4BdS31x53LwqA@mail.gmail.com> <20120518020107.GN27540@bubble.grove.modra.org> <20120518020534.GO27540@bubble.grove.modra.org> <20120518053358.GA29726@bubble.grove.modra.org>
On Fri, 18 May 2012, Alan Modra wrote:
> Hopefully this is the last of them. Committed.
>
> gas/
> * config/obj-evax.c: Include as.h first.
> opcodes/
> * ia64-opc.c: Remove #include "ansidecl.h".
> * z8kgen.c: Include sysdep.h first.
Not quite so (with mips-sde-elf):
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63 -DWITH_DEFAULT_TARGET_BYTE_ORDER=BIG_ENDIAN -DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=64 -DWITH_HW=0 -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_RESERVED_BITS=1 -DWITH_SMP=0 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -DTARGET_ENABLE_FR=1 -DMIPS_MACH_DEFAULT=bfd_mach_mipsisa64r2 -I. -I.../sim/mips -I../common -I.../sim/mips/../common -I../../include -I.../sim/mips/../..//include -I../../bfd -I.../sim/mips/../..//bfd -I../../opcodes -I.../sim/mips/../..//opcodes -g -O2 -c -o callback.o -MT callback.o -MMD -MP -MF .deps/callback.Tpo .../sim/mips/../common/callback.c
In file included from .../sim/mips/../..//include/gdb/callback.h:55,
from .../sim/mips/../common/callback.c:49:
../../bfd/bfd.h:36:2: error: #error config.h must be included before this headermake[3]: *** [callback.o] Error 1
make[3]: Leaving directory `.../sim/mips'
-- are we supposed to fix it up in GDB/simulator? What about any config.h
discrepancies between subdirs (noted by someone already)?
Maciej