This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: another build breakage

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)?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]