This is the mail archive of the gdb-patches@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]

Your sim configure commits broke mn10300-sim and m68hc11-sim


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


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