summaryrefslogtreecommitdiff
path: root/patches/glibc/2.2.5/unwind-arm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/2.2.5/unwind-arm.patch')
-rw-r--r--patches/glibc/2.2.5/unwind-arm.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/glibc/2.2.5/unwind-arm.patch b/patches/glibc/2.2.5/unwind-arm.patch
new file mode 100644
index 0000000..37f7b8d
--- /dev/null
+++ b/patches/glibc/2.2.5/unwind-arm.patch
@@ -0,0 +1,19 @@
+# See http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2002-September/011508.html
+# Fixes error
+# arm-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.5/build-glibc/libc.so.6: undefined reference to `size_of_encoded_value'
+# arm-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.5/build-glibc/libc.so.6: undefined reference to `read_encoded_value_with_base'
+# make[2]: *** [arm-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.5/build-glibc/iconv/iconvconfig] Error 1
+
+--- glibc-2.2.5/sysdeps/unix/sysv/linux/configure.old Sun Jan 20 19:27:33 2002
++++ glibc-2.2.5/sysdeps/unix/sysv/linux/configure Sun Jun 8 03:33:03 2003
+@@ -56,6 +56,10 @@
+ arch_minimum_kernel=2.1.100
+ libc_cv_gcc_unwind_find_fde=yes
+ ;;
++ arm*)
++ libc_cv_gcc_unwind_find_fde=yes
++ arch_minimum_kernel=2.0.10
++ ;;
+ i386*)
+ libc_cv_gcc_unwind_find_fde=yes
+ arch_minimum_kernel=2.0.10