From: Jim Blandy <jimb@redhat.com>
To: hans-peter.nilsson@axis.com, orjan.friberg@axis.com
Cc: gdb@sources.redhat.com
Subject: Troubles building cris target
Date: Tue, 15 Mar 2005 21:51:00 -0000 [thread overview]
Message-ID: <vt27jk8r372.fsf@zenia.home> (raw)
When I try to build the GDB/sim sources from sources.redhat.com CVS on
an AMD64 Fedora Core 2 system, the build dies trying to link the
sim/cris/run executable with the errors below.
This looks simple to fix, but I haven't followed it through. If you
folks have some time to look at it, that'd be great. Or, if you don't
think you'll be able to get to it, could we mark cris as 'broken' in
gdb/MAINTAINERS in the meantime, so gdb_mbuild.sh will go through?
gcc -DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"crisv32"' -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_ENVIRONMENT=ALL_ENVIRONMENT -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SCACHE=16384 -I. -I/home/jimb/gdb/src/sim/cris -I../common -I/home/jimb/gdb/src/sim/cris/../common -I../../include -I/home/jimb/gdb/src/sim/cris/../../include -I../../bfd -I/home/jimb/gdb/src/sim/cris/../../bfd -I../../opcodes -I/home/jimb/gdb/src/sim/cris/../../opcodes -I../../intl -I/home/jimb/gdb/src/sim/cris/../../intl -g3 -o run \
nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lnsl
libsim.a(mloopv10f.o)(.text+0x3c2b): In function `crisv10f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1285: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x3ff2):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1348: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x43fc):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1411: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x479d):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1470: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x4b45):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1529: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x4fcc):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1607: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x5464):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1686: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x5903):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1765: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x5c65):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1825: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x5fc2):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1884: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x6328):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:1943: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x667e):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:2002: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x6b07):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:2080: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x6f99):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:2159: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x72fa):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:2219: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x7651):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:2278: more undefined references to `SUBCSI' follow
libsim.a(mloopv10f.o)(.text+0x12f88): In function `crisv10f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:5575: undefined reference to `ADDCQI'
libsim.a(mloopv10f.o)(.text+0x133be):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:5642: undefined reference to `ADDCHI'
libsim.a(mloopv10f.o)(.text+0x137fe):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:5709: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x13cf6):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:5791: undefined reference to `ADDCQI'
libsim.a(mloopv10f.o)(.text+0x14327):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:5878: undefined reference to `ADDCHI'
libsim.a(mloopv10f.o)(.text+0x14963):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:5965: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x14dce):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6029: undefined reference to `ADDCQI'
libsim.a(mloopv10f.o)(.text+0x151c0):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6096: undefined reference to `ADDCHI'
libsim.a(mloopv10f.o)(.text+0x155bd):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6163: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x15cf4):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6289: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x160ff):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6352: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x165f9):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6434: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x16b93):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6517: undefined reference to `ADDCSI'
libsim.a(mloopv10f.o)(.text+0x16ffd):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:6581: more undefined references to `ADDCSI' follow
libsim.a(mloopv10f.o)(.text+0x1961a): In function `crisv10f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7191: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x19a50):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7258: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x19e90):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7325: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1a388):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7407: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x1a9b8):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7494: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x1aff4):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7581: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1b45f):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7645: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x1b851):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7712: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x1bc4e):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7779: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1c059):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7842: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1c464):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7905: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1c95e):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:7987: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1cef9):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:8070: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x1d363):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:8134: more undefined references to `SUBCSI' follow
libsim.a(mloopv10f.o)(.text+0x1fb77): In function `crisv10f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:8777: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x1ff63):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:8844: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x2035d):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:8911: undefined reference to `SUBCSI'
libsim.a(mloopv10f.o)(.text+0x20814):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:8996: undefined reference to `SUBCQI'
libsim.a(mloopv10f.o)(.text+0x20c69):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:9079: undefined reference to `SUBCHI'
libsim.a(mloopv10f.o)(.text+0x210c8):/home/jimb/gdb/src/sim/cris/semcrisv10f-switch.c:9162: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x31df): In function `crisv32f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1215: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x3541):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1278: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x38bc):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1341: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x3c3a):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1400: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x3fc6):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1459: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x43c5):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1537: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x47f0):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1616: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x4c20):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1695: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x4f8d):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1755: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x52e7):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1814: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x5677):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1873: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x59ca):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:1932: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x5dcf):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:2010: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x61e0):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:2089: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x6541):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:2149: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x6895):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:2208: more undefined references to `SUBCSI' follow
libsim.a(mloopv32f.o)(.text+0x1836d): In function `crisv32f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:5681: undefined reference to `ADDCQI'
libsim.a(mloopv32f.o)(.text+0x18751):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:5748: undefined reference to `ADDCHI'
libsim.a(mloopv32f.o)(.text+0x18b6d):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:5815: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x18fc6):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:5897: undefined reference to `ADDCQI'
libsim.a(mloopv32f.o)(.text+0x19451):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:5984: undefined reference to `ADDCHI'
libsim.a(mloopv32f.o)(.text+0x19914):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6071: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x19cd8):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6135: undefined reference to `ADDCQI'
libsim.a(mloopv32f.o)(.text+0x1a0ad):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6202: undefined reference to `ADDCHI'
libsim.a(mloopv32f.o)(.text+0x1a4ba):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6269: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x1a871):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6332: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x1ac28):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6395: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x1b081):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6477: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x1b4e6):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6560: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x1b89b):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:6624: more undefined references to `ADDCSI' follow
libsim.a(mloopv32f.o)(.text+0x1d794): In function `crisv32f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7168: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x1db78):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7235: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x1df94):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7302: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x1e3ed):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7384: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x1e878):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7471: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x1ed3b):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7558: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x1f0ff):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7622: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x1f4d4):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7689: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x1f8e1):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7756: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x1fc98):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7819: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x2004f):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7882: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x204a8):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:7964: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x2090d):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:8047: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x20cc2):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:8111: more undefined references to `SUBCSI' follow
libsim.a(mloopv32f.o)(.text+0x22bbc): In function `crisv32f_engine_run_full':
/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:8657: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x2301d):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:8742: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x233e2):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:8809: undefined reference to `ADDCSI'
libsim.a(mloopv32f.o)(.text+0x23e0f):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:9038: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x241de):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:9105: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x245e8):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:9172: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x24a44):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:9257: undefined reference to `SUBCQI'
libsim.a(mloopv32f.o)(.text+0x24e3d):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:9340: undefined reference to `SUBCHI'
libsim.a(mloopv32f.o)(.text+0x25261):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:9423: undefined reference to `SUBCSI'
libsim.a(mloopv32f.o)(.text+0x2791d):/home/jimb/gdb/src/sim/cris/semcrisv32f-switch.c:10129: undefined reference to `ADDCSI'
collect2: ld returned 1 exit status
make[2]: *** [run] Error 1
make[2]: Leaving directory `/home/jimb/gdb/mbuild/cris-elf/sim/cris'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/jimb/gdb/mbuild/cris-elf/sim'
make: *** [all-sim] Error 2
next reply other threads:[~2005-03-15 21:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-15 21:51 Jim Blandy [this message]
2005-03-15 23:09 ` Hans-Peter Nilsson
2005-03-16 17:57 ` Jim Blandy
2005-03-16 18:24 ` Hans-Peter Nilsson
2005-03-24 6:20 ` Hans-Peter Nilsson
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=vt27jk8r372.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=hans-peter.nilsson@axis.com \
--cc=orjan.friberg@axis.com \
/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