From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31394 invoked by alias); 10 Jun 2005 01:11:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31206 invoked by uid 22791); 10 Jun 2005 01:11:41 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 10 Jun 2005 01:11:41 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5A1BeIT017320 for ; Thu, 9 Jun 2005 21:11:40 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5A1BeO22191; Thu, 9 Jun 2005 21:11:40 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id j5A1BOMX026188; Thu, 9 Jun 2005 21:11:39 -0400 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 4BCA5800108; Thu, 9 Jun 2005 21:11:24 -0400 (EDT) Date: Fri, 10 Jun 2005 01:11:00 -0000 From: jjohnstn X-X-Sender: jjohnstn@tooth.toronto.redhat.com To: Steve Ellcey Cc: gdb-patches@sources.redhat.com Subject: Re: [COMMIT]: ia64 update In-Reply-To: <200506092225.PAA24723@hpsje.cup.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-06/txt/msg00083.txt.bz2 On Thu, 9 Jun 2005, Steve Ellcey wrote: > > From: Jeff Johnston > > > > 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.