From: Jeff Johnston <jjohnstn@redhat.com>
To: sje@cup.hp.com
Cc: gdb@sources.redhat.com
Subject: Re: Building gdb on IA64 linux
Date: Tue, 14 Jun 2005 17:57:00 -0000 [thread overview]
Message-ID: <42AF1A55.3060202@redhat.com> (raw)
In-Reply-To: <200506141726.KAA23616@hpsje.cup.hp.com>
Steve Ellcey wrote:
> Jeff,
>
> I can now build gdb on IA64 without using libunwind, but when I try
> to use libunwind, I get:
>
> /extra/sje/gdb/src/gdb/ia64-tdep.c: In function 'ia64_find_unwind_table':
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2585: error: 'UNW_INFO_FORMAT_REMOTE_TABLE' undeclared (first use in this function)
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2585: error: (Each undeclared identifier is reported only once
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2585: error: for each function it appears in.)
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2586: error: 'union <anonymous>' has no member named 'rti'
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2587: error: 'union <anonymous>' has no member named 'rti'
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2588: error: 'union <anonymous>' has no member named 'rti'
> /extra/sje/gdb/src/gdb/ia64-tdep.c: In function 'ia64_find_proc_info_x':
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2633: error: 'union <anonymous>' has no member named 'rti'
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2634: error: 'union <anonymous>' has no member named 'rti'
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2637: error: 'union <anonymous>' has no member named 'rti'
> /extra/sje/gdb/src/gdb/ia64-tdep.c:2638: error: 'union <anonymous>' has no member named 'rti'
>
> What is UNW_INFO_FORMAT_REMOTE_TABLE? Do I need a new libunwind to get
> this macro? I am on a redhat 2.6 and I don't have libunwind on my
> system but I am using GCC 4.0 and it has an unwind.h and a libunwind.so
> in the location where I built it. But, this unwind.h does not have a
> definition of UNW_INFO_FORMAT_REMOTE_TABLE.
>
> Steve Ellcey
> sje@cup.hp.com
>
Yes, you must have libunwind installed as there are header files installed which
are needed when building gdb.
There is a check in configure.ac: AC_CHECK_HEADERS(libunwind-ia64.h) that will
set HAVE_LIBUNWIND_IA64_H. This flag protects the references to libunwind
macros/functions in ia64-tdep.c. Did you go around this check?
-- Jeff J.
next prev parent reply other threads:[~2005-06-14 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 17:26 Steve Ellcey
2005-06-14 17:57 ` Jeff Johnston [this message]
2005-06-14 18:35 ` Steve Ellcey
2005-06-15 17:18 ` Jeff Johnston
2005-06-15 17:40 ` Jeff Johnston
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=42AF1A55.3060202@redhat.com \
--to=jjohnstn@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=sje@cup.hp.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