From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6991 invoked by alias); 14 Jun 2005 17:57:03 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6652 invoked by uid 22791); 14 Jun 2005 17:56:54 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 14 Jun 2005 17:56:54 +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 j5EHuqP8007094 for ; Tue, 14 Jun 2005 13:56:52 -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 j5EHuqu16914; Tue, 14 Jun 2005 13:56:52 -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 j5EHucjJ014306; Tue, 14 Jun 2005 13:56:51 -0400 Received: from [172.16.14.72] (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id E282E800104; Tue, 14 Jun 2005 13:56:37 -0400 (EDT) Message-ID: <42AF1A55.3060202@redhat.com> Date: Tue, 14 Jun 2005 17:57:00 -0000 From: Jeff Johnston User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 MIME-Version: 1.0 To: sje@cup.hp.com Cc: gdb@sources.redhat.com Subject: Re: Building gdb on IA64 linux References: <200506141726.KAA23616@hpsje.cup.hp.com> In-Reply-To: <200506141726.KAA23616@hpsje.cup.hp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00138.txt.bz2 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 ' has no member named 'rti' > /extra/sje/gdb/src/gdb/ia64-tdep.c:2587: error: 'union ' has no member named 'rti' > /extra/sje/gdb/src/gdb/ia64-tdep.c:2588: error: 'union ' 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 ' has no member named 'rti' > /extra/sje/gdb/src/gdb/ia64-tdep.c:2634: error: 'union ' has no member named 'rti' > /extra/sje/gdb/src/gdb/ia64-tdep.c:2637: error: 'union ' has no member named 'rti' > /extra/sje/gdb/src/gdb/ia64-tdep.c:2638: error: 'union ' 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.