Building gcc-4.6 arm android toolchain fails because of an
incompatible function definition between libiberty and bionic.

Thanking Joseph, I have learned that "there's no such thing as a
target libiberty" and we should rip all the target-libiberty rules
out. I don't know if someone is working on it. Before that patch comes
out, can we add arm*-*-linux-androideabi to the list of targets where
target-libiberty is skipped?

Thanks,
Jing

2011-05-08  Jing Yu  <jin...@google.com>

                * configure.ac: Skip target-libiberty for
arm*-*-linux-androideabi.
                * configure: Regenerated.

Index: configure.ac
===================================================================
--- configure.ac        (revision 174364)
+++ configure.ac        (working copy)
@@ -515,7 +515,7 @@ case "${target}" in
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
     noconfigdirs="$noconfigdirs target-libiberty"
     ;;
-  arm*-*-symbianelf*)
+  arm*-*-symbianelf*|arm*-*-linux-androideabi)
     noconfigdirs="$noconfigdirs target-libiberty"
     ;;
   avr-*-*)
Index: configure
===================================================================
--- configure   (revision 174364)
+++ configure   (working copy)
@@ -3069,7 +3069,7 @@ case "${target}" in
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
     noconfigdirs="$noconfigdirs target-libiberty"
     ;;
-  arm*-*-symbianelf*)
+  arm*-*-symbianelf*|arm*-*-linux-androideabi)
     noconfigdirs="$noconfigdirs target-libiberty"
     ;;
   avr-*-*)

Reply via email to