This is the mail archive of the 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: please fix sim/cris

Hans-Peter Nilsson wrote:
(Sorry for using both the ChangeLog address and the gdb-patches address.)

I suspect this is yours.  Try building sim with
--target=cris-elf.  (No, the binutils port isn't cgen-based.
Maybe that's the bit that was overlooked.)  Maybe it's as simple
as it looks, we'll know by tomorrow.

gcc -c /tmp/hpautotest-sim/src/sim/cris/../common/sim-bits.c -DHAVE_CONFIG_H   -DWITH_DEFAULT_MODEL='"crisv32"'  -DPROFILE=1 -DWITH_PROFILE=-1   -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT   -DWITH_ENVIRONMENT=ALL_ENVIRONMENT  -DWITH_HW=0 -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN     -DWITH_SCACHE=16384   -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized       -I. -I/tmp/hpautotest-sim/src/sim/cris -I../common -I/tmp/hpautotest-sim/src/sim/cris/../common -I../../include -I/tmp/hpautotest-sim/src/sim/cris/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/cris/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/cris/../../opcodes  -g -O2
gcc -c /tmp/hpautotest-sim/src/sim/cris/../common/sim-config.c -DHAVE_CONFIG_H   -DWITH_DEFAULT_MODEL='"crisv32"'  -DPROFILE=1 -DWITH_PROFILE=-1   -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT   -DWITH_ENVIRONMENT=ALL_ENVIRONMENT  -DWITH_HW=0 -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN     -DWITH_SCACHE=16384   -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized       -I. -I/tmp/hpautotest-sim/src/sim/cris -I../common -I/tmp/hpautotest-sim/src/sim/cris/../common -I../../include -I/tmp/hpautotest-sim/src/sim/cris/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/cris/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/cris/../../opcodes  -g -O2
In file included from /tmp/hpautotest-sim/src/sim/cris/sim-main.h:36,
                 from /tmp/hpautotest-sim/src/sim/cris/../common/sim-config.c:23:
/tmp/hpautotest-sim/src/sim/cris/cris-desc.h:28:32: error: opcode/cgen-bitset.h: No such file or directory
make[3]: Leaving directory `/tmp/hpautotest-sim/cris-elf/sim/cris'
make[2]: Leaving directory `/tmp/hpautotest-sim/cris-elf/sim'
make[1]: Leaving directory `/tmp/hpautotest-sim/cris-elf'
make[3]: *** [sim-config.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all-sim] Error 2
make: *** [all] Error 2

brgds, H-P

The regenerated files were in my sandbox ready to go in, but I got distracted.

P.S. I see the cris sim doesn't have its own ChangeLog and instead uses sim/ChangeLog.
Mind if I create sim/cris/ChangeLog?

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