This is the mail archive of the gdb@sources.redhat.com 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: all-targets build report


I just tried to do an all-targets build, using gdb_mbuild.sh, and ran
into a few problems.

* It tried to build the targets marked as OBSOLETE.  Either those
  targets should get removed from MAINTAINERS or gdb_mbuild.sh should
  recognize the word OBSOLETE.
I've rewritten gdb_mbuild.sh to handle this and a few other cases (only the top level configure rendered much of my rewrite redundant).

Time to get it merged in ....

* sparc has a genuine problem; indeed, config/sparc/tm-sparc.h says:

  /* Call dummy method (eg. on stack, at entry point, etc.) */

  #define CALL_DUMMY_LOCATION ON_STACK
  #define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)

  /* Method for detecting dummy frames.  */

  #define DEPRECATED_PC_IN_CALL_DUMMY(PC, SP, FRAME_ADDRESS) \
       deprecated_pc_in_call_dummy_on_stack (PC, SP, FRAME_ADDRESS)

I'll submit a patch for this shortly.

* In the 'sim' directory, z8k-coff doesn't build; I'll append the
  relevant portion of the build log after my signature.  I have no
  idea what's going on there.
I've no idea either. My best guess is that something in the opcodes directory changed?

Andrew


./writecode  -3 >tc-gen3.h
gcc -c -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0           -I/extra/gdb/nightly/src/sim/z8k/../../newlib/libc/sys/z8k   -I. -I/extra/gdb/nightly/src/sim/z8k -I../common -I/extra/gdb/nightly/src/sim/z8k/../common -I../../include -I/extra/gdb/nightly/src/sim/z8k/../../include -I../../bfd -I/extra/gdb/nightly/src/sim/z8k/../../bfd -I../../opcodes -I/extra/gdb/nightly/src/sim/z8k/../../opcodes -I../../intl -I/extra/gdb/nightly/src/sim/z8k/../../intl -g -O2 /extra/gdb/nightly/src/sim/z8k/comped3.c
In file included from /extra/gdb/nightly/src/sim/z8k/comped3.c:26:
tc-gen3.h:68: redefinition of `sfop_2'
tc-gen3.h:49: `sfop_2' previously defined here
tc-gen3.h:91: redefinition of `sfop_2'
tc-gen3.h:71: `sfop_2' previously defined here


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