Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Your sim configure commits broke mn10300-sim and m68hc11-sim
@ 2011-10-18  3:51 Hans-Peter Nilsson
  2011-10-18  4:11 ` Mike Frysinger
  2011-10-20  1:04 ` Mike Frysinger
  0 siblings, 2 replies; 7+ messages in thread
From: Hans-Peter Nilsson @ 2011-10-18  3:51 UTC (permalink / raw)
  To: vapier; +Cc: gdb-patches

In my most recent sim autotester log, I see a bunch of
sim/*/configure* commits, and breakage.  They somehow caused
loss of -lm or something like that when linking mn10300-elf-sim
and m68hc11-elf-sim.  Can you please fix?  Thanks.

m68hc11-elf:
...
gcc -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1   -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT     -DWITH_HW=1 -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN        -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized    -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_CELL_BITSIZE=32 -DWITH_TARGET_ADDRESS_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31   -I. -I/tmp/hpautotest-sim/src/sim/m68hc11 -I../common -I/tmp/hpautotest-sim/src/sim/m68hc11/../common -I../../include -I/tmp/hpautotest-sim/src/sim/m68hc11/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/m68hc11/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/m68hc11/../../opcodes  -g -O2  -o run \
	  nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a -lz -lnsl  
make[3]: Leaving directory `/tmp/hpautotest-sim/m68hc11-elf/sim/m68hc11'
make[2]: Leaving directory `/tmp/hpautotest-sim/m68hc11-elf/sim'
make[1]: Leaving directory `/tmp/hpautotest-sim/m68hc11-elf'
libsim.a(dv-cfi.o): In function `attach_cfi_regs':
/tmp/hpautotest-sim/src/sim/m68hc11/../common/dv-cfi.c:626: undefined reference to `log2'
/tmp/hpautotest-sim/src/sim/m68hc11/../common/dv-cfi.c:645: undefined reference to `log2'
collect2: ld returned 1 exit status

mn10300-elf:
gcc -c /tmp/hpautotest-sim/src/sim/mn10300/../common/nrun.c -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    -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized    -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
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    -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized    -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  -o run \
	  nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a -lz -lnsl  
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'
libsim.a(dv-cfi.o): In function `attach_cfi_regs':
/tmp/hpautotest-sim/src/sim/mn10300/../common/dv-cfi.c:626: undefined reference to `log2'
/tmp/hpautotest-sim/src/sim/mn10300/../common/dv-cfi.c:645: undefined reference to `log2'
collect2: ld returned 1 exit status

brgds, H-P


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

end of thread, other threads:[~2011-10-19 21:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18  3:51 Your sim configure commits broke mn10300-sim and m68hc11-sim Hans-Peter Nilsson
2011-10-18  4:11 ` Mike Frysinger
2011-10-18 16:55   ` Hans-Peter Nilsson
2011-10-19 16:33     ` Mike Frysinger
2011-10-19 20:46       ` Hans-Peter Nilsson
2011-10-19 21:29         ` Mike Frysinger
2011-10-20  1:04 ` Mike Frysinger

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