Building gdb on IA64 linux

Jeff Johnston jjohnstn@redhat.com
Wed Jun 15 17:40:00 GMT 2005


Jeff Johnston wrote:
> Steve Ellcey wrote:
> 
>>> 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.
>>
>>
>>
>> I did not do anything to disable the check, I just let everything
>> default.  I finally noticed that I do have a libunwind, it is over
>> in /usr/local/lib instead of /usr/lib.  That is why I didn't see it
>> before.  I don't see a version number but the latest copyright date
>> is from 2003 so it is probably just too old.
>>
>> Steve Ellcey
>> sje@cup.hp.com
>>
> 
> Yes, it is too old.  Red Hat's gdb rpm has a prereq for libunwind, but 
> now that you bring this up, the prereq needs to be updated.  As well, a 
> configure check is needed for regular gdb to ensure the right level of 
> libunwind is around.  I suggest you upgrade to the latest libunwind rpm.
>

Actually on retrospect, it make more sense to put checks in ia64-tdep.c based on 
libunwind header internals.

-- Jeff J.




More information about the Gdb mailing list