Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: jjohnstn <jjohnstn@redhat.com>
To: Steve Ellcey <sje@cup.hp.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [COMMIT]: ia64 update
Date: Fri, 10 Jun 2005 01:11:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0506092109380.21671-100000@tooth.toronto.redhat.com> (raw)
In-Reply-To: <200506092225.PAA24723@hpsje.cup.hp.com>


On Thu, 9 Jun 2005, Steve Ellcey wrote:

> > From: Jeff Johnston <jjohnstn@redhat.com>
> > 
> > A long-overdue update of the ia64 code has been made.  It contains a number of
> > changes worked on by myself and David Mosberger that were only in Red Hat's ia64
> > gdb.
> 
> Is it supposed to be possible to build gdb on IA64 Linux using
> --without-libunwind?  When I tried it I died in the linker with:
> 
> | rm -f gdb
> | //sje/be/bin/gcc -g       \
> |         -o gdb gdb.o libgdb.a \
> |            ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a  ..
> | /libiberty/libiberty.a     -lncurses -lm  ../libiberty/libiberty.a  -ldl -rdynamic
> | libgdb.a(ia64-tdep.o)(.text+0x2b22): In function `ia64_pseudo_register_read':
> | /extra/sje/gdb/src/gdb/ia64-tdep.c:682: undefined reference to `libunwind_is_initialized'
> | libgdb.a(ia64-tdep.o)(.text+0x2b72):/extra/sje/gdb/src/gdb/ia64-tdep.c:682: undefined reference to `libunwind_get_reg_special'
> | collect2: ld returned 1 exit status
> | make[1]: *** [gdb] Error 1
> | make[1]: Leaving directory `/extra/sje/gdb/obj_gdb/gdb'
> | make: *** [all-gdb] Error 2
> 

Oops.  Yes, it should have built.  It also should have built without
warnings about gdb_byte.  I have just checked in a subsequent patch
for both problems.

I don't recommend using ia64 gdb without libunwind.

-- Jeff J.


      reply	other threads:[~2005-06-10  1:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 22:02 Jeff Johnston
2005-06-09 22:25 ` Steve Ellcey
2005-06-10  1:11   ` jjohnstn [this message]

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=Pine.LNX.4.44.0506092109380.21671-100000@tooth.toronto.redhat.com \
    --to=jjohnstn@redhat.com \
    --cc=gdb-patches@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