This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
build error for mn10300-elf sim with your recent commit
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 15 Jun 2012 20:46:21 +0200
- Subject: build error for mn10300-elf sim with your recent commit
My autotester complains that the sim build for mn10300-elf is
broken, and your entry was the only one at the top of
sim/mn10300/ChangeLog. There was a working build 5-6 hours
earlier:
gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 -DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN -DWITH_HW=1 -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_RESERVED_BITS=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -DPOLL_QUIT_INTERVAL=0x20 -I. -I/tmp/hpautotest-sim/src/sim/mn10300 -I../common -I/tmp/hpautotest-sim/src/sim/mn10300/../common -I../../include -I/tmp/hpautotest-sim/src/sim/mn10300/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/mn10300/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/mn10300/../../opcodes -g -O2 -c -o interp.o -MT interp.o -MMD -MP -MF .deps/interp.Tpo /tmp/hpautotest-sim/src/sim/mn10300/interp.c
In file included from /tmp/hpautotest-sim/src/sim/mn10300/interp.c:7:
/tmp/hpautotest-sim/src/sim/mn10300/../../bfd/sysdep.h:27:2: error: #error sysdep.h must be included in lieu of config.h
/tmp/hpautotest-sim/src/sim/mn10300/interp.c:618: warning: no previous prototype for 'round_64'
/tmp/hpautotest-sim/src/sim/mn10300/interp.c:646: warning: no previous prototype for 'fpu_status_ok'
make[3]: Leaving directory `/tmp/hpautotest-sim/mn10300-elf/sim/mn10300'
make[2]: Leaving directory `/tmp/hpautotest-sim/mn10300-elf/sim'
make[1]: Leaving directory `/tmp/hpautotest-sim/mn10300-elf'
make[3]: *** [interp.o] Error 1
brgds, H-P