* Skip building target libiberty for arm*-*-linux-androideabi
@ 2011-05-28 1:55 Jing Yu
[not found] ` <BANLkTimeGKrDHr2vuWfqBt0sOtn2hy5ZQA@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jing Yu @ 2011-05-28 1:55 UTC (permalink / raw)
To: gcc-patches; +Cc: Joseph S. Myers
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-*-*)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Skip building target libiberty for arm*-*-linux-androideabi
[not found] ` <BANLkTimeGKrDHr2vuWfqBt0sOtn2hy5ZQA@mail.gmail.com>
@ 2011-05-31 20:43 ` Jing Yu
0 siblings, 0 replies; 3+ messages in thread
From: Jing Yu @ 2011-05-31 20:43 UTC (permalink / raw)
To: Ye Joey; +Cc: gcc-patches, Joseph S. Myers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Skip building target libiberty for arm*-*-linux-androideabi
@ 2011-06-06 13:04 Nick Clifton
0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2011-06-06 13:04 UTC (permalink / raw)
To: jingyu; +Cc: GCC Patches
Hi Jing Yu,
> 2011-05-08 Jing Yu <jingyu@google.com>
>
> * configure.ac: Skip target-libiberty for
arm*-*-linux-androideabi.
> * configure: Regenerated.
Approved - please apply.
Cheers
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-06 13:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-28 1:55 Skip building target libiberty for arm*-*-linux-androideabi Jing Yu
[not found] ` <BANLkTimeGKrDHr2vuWfqBt0sOtn2hy5ZQA@mail.gmail.com>
2011-05-31 20:43 ` Jing Yu
2011-06-06 13:04 Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).