Hi,
libunwind currently does not compile if you either specify 32-bit ppc
explicitely (as do the build tools like Fedora Koji):
./configure --build=powerpc-unknown-linux-gnu --host=powerpc-unknown-linux-gnu
--target=powerpc-unknown-linux-gnu
or even if you just keep the default CC=gcc (therefore default -m32) setup.
There are no ppc64->ppc32 regression (although there are ppc32->ppc64 ones).
Thanks,
Jan
diff --git a/configure.in b/configure.in
index 0bc2e61..1271a56 100644
--- a/configure.in
+++ b/configure.in
@@ -79,7 +79,7 @@ get_arch() {
i?86) echo x86;;
hppa*) echo hppa;;
mips*) echo mips;;
- powerpc64) is_gcc_m64;;
+ powerpc*) is_gcc_m64;;
*) echo $1;;
esac
}
diff --git a/src/ptrace/_UPT_find_proc_info.c b/src/ptrace/_UPT_find_proc_info.c
index 67caaba..2b81e59 100644
--- a/src/ptrace/_UPT_find_proc_info.c
+++ b/src/ptrace/_UPT_find_proc_info.c
@@ -146,7 +146,7 @@ _UPTi_find_unwind_table (struct UPT_info *ui,
unw_addr_space_t as,
}
#elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA \
-|| UNW_TARGET_PPC64 || UNW_TARGET_ARM
+|| UNW_TARGET_PPC32 || UNW_TARGET_PPC64 || UNW_TARGET_ARM
#include "dwarf-eh.h"
#include "dwarf_i.h"
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel