diff mbox

Skip building target libiberty for arm*-*-linux-androideabi

Message ID BANLkTimZQRJh3T94CgZfHN9jBjoqMv+cVQ@mail.gmail.com
State New
Headers show

Commit Message

Jing Yu May 27, 2011, 9:42 p.m. UTC
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.

Comments

Jing Yu May 31, 2011, 6:32 p.m. UTC | #1
Based on discussion on another thread
(http://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg06627.html),
what Joseph recommended was ripping out all support for building
libiberty for the target side as it is not needed. Thus I doubt
skipping target-libiberty for all targets is acceptable.
I don't have the bandwidth to work on the ideal patch. Thus I am
wondering if we can skip target-libiberty for androideabi target
before the ideal patch is out.

Thanks,
Jing

On Sun, May 29, 2011 at 9:23 PM, Ye Joey <joey.ye.cc@gmail.com> wrote:
> On Sat, May 28, 2011 at 5:42 AM, Jing Yu <jingyu@google.com> wrote:
>>
>>  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?
>>
> How about skip libiberty for all targets then?
>
> - Joey
diff mbox

Patch

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-*-*)