This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: mipxtx39 sim build failure


A bit of follow up. Also fails to build on 7.11
but 7.10 built.

The configure command per config.log with line
breaks added was:

../gdb-7.11/configure --build=x86_64-linux-gnu \
  --host=x86_64-linux-gnu \
  --target=mipstx39-rtems4.12 --verbose --disable-nls \
  --without-included-gettext --disable-win32-registry \
  --disable-werror --enable-sim --enable-sim-hardware \
  --without-zlib --with-expat --with-python \
  --prefix=/home/joel/rtems-4.11-work/tools/4.12 \
  --bindir=/home/joel/rtems-4.11-work/tools/4.12/bin \
  --exec-prefix=/home/joel/rtems-4.11-work/tools/4.12 \
  --includedir=/home/joel/rtems-4.11-work/tools/4.12/include \
  --libdir=/home/joel/rtems-4.11-work/tools/4.12/lib \
  --mandir=/home/joel/rtems-4.11-work/tools/4.12/share/man \
  --infodir=/home/joel/rtems-4.11-work/tools/4.12/share/info

On 11/10/2016 3:53 PM, Joel Sherrill wrote:
Hi

I was updating the baseline RTEMS gdb configuration to
7.12 from 7.11 and noticed that our mipstx39 build
(just used for the tx39 simulator) was still at 7.9. I bumped
it to 7.12 and got the following build errors:

/usr/bin/gcc -O2 -pipe -I/data/home/joel/rtems-4.11-work/rtems-source-builder/rtems/build/tmp/sb-joel/4.12/rtems-mips/home/joel/rtems-4.11-work/tools/4.12/include -DHAVE_CONFIG_H  -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 -DWITH_DEFAULT_TARGET_BYTE_ORDER=BFD_ENDIAN_BIG -DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=32 -DWITH_HW=1 -DDEFAULT_INLINE=0 -DWITH_RESERVED_BITS=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral   -DSUBTARGET_R3900=1 -DMIPS_MACH_DEFAULT=bfd_mach_mips8000   -I. -I../../../gdb-7.12/sim/mips -I../common -I../../../gdb-7.12/sim/mips/../common -I../../include -I../../../gdb-7.12/sim/mips/../..//include -I../../bfd -I../../../gdb-7.12/sim/mips/../..//bfd -I../../opcodes -I../../../gdb-7.12/sim/mips/../..//opcodes  -g -O2 -c -o dv-tx3904cpu.o -MT dv-tx3904cpu.o -MMD -MP -MF .deps/dv-tx3904cpu.Tpo ../../../gdb-7.12/sim/mips/dv-tx3904cpu.c
In file included from ../../../gdb-7.12/sim/mips/dv-tx3904cpu.c:22:0:
../../../gdb-7.12/sim/mips/dv-tx3904cpu.c: In function ‘deliver_tx3904cpu_interrupt’:
../../../gdb-7.12/sim/mips/sim-main.h:679:64: error: ‘SD’ undeclared (first use in this function)
  #define SignalExceptionNMIReset()            signal_exception (SD, CPU, cia, NMIReset)
                                                                 ^
../../../gdb-7.12/sim/mips/dv-tx3904cpu.c:150:7: note: in expansion of macro ‘SignalExceptionNMIReset’
        SignalExceptionNMIReset();
        ^
../../../gdb-7.12/sim/mips/sim-main.h:679:64: note: each undeclared identifier is reported only once for each function it appears in
  #define SignalExceptionNMIReset()            signal_exception (SD, CPU, cia, NMIReset)
                                                                 ^
../../../gdb-7.12/sim/mips/dv-tx3904cpu.c:150:7: note: in expansion of macro ‘SignalExceptionNMIReset’
        SignalExceptionNMIReset();
        ^
../../../gdb-7.12/sim/mips/sim-main.h:679:68: error: ‘CPU’ undeclared (first use in this function)
  #define SignalExceptionNMIReset()            signal_exception (SD, CPU, cia, NMIReset)
                                                                     ^
../../../gdb-7.12/sim/mips/dv-tx3904cpu.c:150:7: note: in expansion of macro ‘SignalExceptionNMIReset’
        SignalExceptionNMIReset();
        ^

Does anyone have suggestions?


--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35806
Support Available                (256) 722-9985

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