Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* please fix sim/cris
@ 2009-10-24  2:40 Hans-Peter Nilsson
  2009-10-24  4:06 ` Doug Evans
  2009-10-24  4:36 ` Doug Evans
  0 siblings, 2 replies; 6+ messages in thread
From: Hans-Peter Nilsson @ 2009-10-24  2:40 UTC (permalink / raw)
  To: dje, dje; +Cc: gdb-patches

(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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: please fix sim/cris
  2009-10-24  2:40 please fix sim/cris Hans-Peter Nilsson
@ 2009-10-24  4:06 ` Doug Evans
  2009-10-24  4:36 ` Doug Evans
  1 sibling, 0 replies; 6+ messages in thread
From: Doug Evans @ 2009-10-24  4:06 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: dje, gdb-patches

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
>   

Ya, I have it in my sandbox.  Will check in tonight.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: please fix sim/cris
  2009-10-24  2:40 please fix sim/cris Hans-Peter Nilsson
  2009-10-24  4:06 ` Doug Evans
@ 2009-10-24  4:36 ` Doug Evans
  2009-10-25 21:03   ` Hans-Peter Nilsson
  1 sibling, 1 reply; 6+ messages in thread
From: Doug Evans @ 2009-10-24  4:36 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: gdb-patches

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
>   

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

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?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: please fix sim/cris
  2009-10-24  4:36 ` Doug Evans
@ 2009-10-25 21:03   ` Hans-Peter Nilsson
  2009-10-25 21:32     ` Doug Evans
  0 siblings, 1 reply; 6+ messages in thread
From: Hans-Peter Nilsson @ 2009-10-25 21:03 UTC (permalink / raw)
  To: dje; +Cc: hans-peter.nilsson, gdb-patches

> Date: Fri, 23 Oct 2009 21:36:09 -0700
> From: Doug Evans <dje@sebabeach.org>
> Hans-Peter Nilsson wrote:
> > /tmp/hpautotest-sim/src/sim/cris/cris-desc.h:28:32: error: opcode/cgen-bitset.h: No such file or directory
> Done.

Thanks for fixing.

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

Had there been more activity, I'd have agreed, but I think all
in all it's better to keep it as is, in sim/ChangeLog.

BTW, how's the <http://sourceware.org/ml/cgen/2008-q4/msg00020.html>
bugfix merge coming?  As much as I like the consolidation of
include files, I don't want it to re-introduce bugs.

brgds, H-P


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: please fix sim/cris
  2009-10-25 21:03   ` Hans-Peter Nilsson
@ 2009-10-25 21:32     ` Doug Evans
  2009-11-02  1:09       ` Hans-Peter Nilsson
  0 siblings, 1 reply; 6+ messages in thread
From: Doug Evans @ 2009-10-25 21:32 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: gdb-patches

Hans-Peter Nilsson wrote:
> BTW, how's the <http://sourceware.org/ml/cgen/2008-q4/msg00020.html>
> bugfix merge coming?  As much as I like the consolidation of
> include files, I don't want it to re-introduce bugs.
>
>   

Hi. I don't expect to get to this for awhile.
RSN. :-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: please fix sim/cris
  2009-10-25 21:32     ` Doug Evans
@ 2009-11-02  1:09       ` Hans-Peter Nilsson
  0 siblings, 0 replies; 6+ messages in thread
From: Hans-Peter Nilsson @ 2009-11-02  1:09 UTC (permalink / raw)
  To: dje; +Cc: hans-peter.nilsson, gdb-patches

> Date: Sun, 25 Oct 2009 14:32:08 -0700
> From: Doug Evans <dje@sebabeach.org>

> Hans-Peter Nilsson wrote:
> > BTW, how's the <http://sourceware.org/ml/cgen/2008-q4/msg00020.html>
> > bugfix merge coming?  As much as I like the consolidation of
> > include files, I don't want it to re-introduce bugs.
> Hi. I don't expect to get to this for awhile.
> RSN. :-)

I thought you'd changed all sim/common/cgen-ops.h to
include/cgen/basic-ops.h and was curious why I didn't also see
the bug reappearing, but now I see that part hasn't happened yet
so no worries; no regressions. ;)

brgds, H-P
PS. BTW, cgen-cpu-decode misses a required #include, see sim/cris/Makefile.in.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-02  1:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-24  2:40 please fix sim/cris Hans-Peter Nilsson
2009-10-24  4:06 ` Doug Evans
2009-10-24  4:36 ` Doug Evans
2009-10-25 21:03   ` Hans-Peter Nilsson
2009-10-25 21:32     ` Doug Evans
2009-11-02  1:09       ` Hans-Peter Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox