This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Skip building target libiberty for arm*-*-linux-androideabi
- From: Jing Yu <jingyu at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Fri, 27 May 2011 14:42:29 -0700
- Subject: Skip building target libiberty for arm*-*-linux-androideabi
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 <jingyu@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-*-*)