Description of problem: I just tried to compile package libunwind-0.98.2-2 from Redhat Fedora development tree on a 32 bit Athlon box. The compiler said dwarf/Gparser.c(529): warning #175: subscript out of range The source code is && (rs->reg[UNW_TDEP_SP].where == DWARF_WHERE_SAME)) Upon investigation, array reg has 19 entries, and UNW_TDEP_SP seems to have a value in excess of 140. I'm not sure if this is a real bug or not, for the target ia64 machine. Suggest code inspection for the ia64 case. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
At present, libunwind is only being supported by Red Hat on ia64 for the purpose of gdb stack unwinding. It is not officially supported by Red Hat for other systems, though it is documented to have minimal capabilities on x86 and x86_64. Regarding the problem cited, it definitely appears to be a problem as you have noted. For ia64, the dwarf directory is not built so the problem is avoided. The recommendation is that you open a problem report directly with the libunwind development team if you wish to use it on x86 or x86_64.
For x86* libunwind please check its frysk http://sourceware.org/frysk/ fork downloadable as: cvs -d :pserver:anoncvs.com:/cvs/frysk co libunwind as there is ongoing x86* libunwind development.