From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: vapier@gentoo.org
Cc: gdb-patches@sourceware.org
Subject: Your sim configure commits broke mn10300-sim and m68hc11-sim
Date: Tue, 18 Oct 2011 03:51:00 -0000 [thread overview]
Message-ID: <201110180245.p9I2jUfi022507@ignucius.se.axis.com> (raw)
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
next reply other threads:[~2011-10-18 2:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 3:51 Hans-Peter Nilsson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201110180245.p9I2jUfi022507@ignucius.se.axis.com \
--to=hans-peter.nilsson@axis.com \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox