This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org


That fixes "--disable-shared" case only, which is important for NDK build.

Without "--disable-shared" build fails because there is no -lpthread
on Android and pthreads are in libc there.
Apparently, cilkrts configure does not check that.

I can fix that in 4.9, but I'm ok with fixing it in trunk later as
well, depending on your decision.

2014-04-17 15:31 GMT+04:00 Jakub Jelinek <jakub@redhat.com>:
> On Thu, Apr 17, 2014 at 02:47:50PM +0400, Alexander Ivchenko wrote:
>> Is it ok to port this patch to 4.9 branch:
>
> If it always fails to bootstrap with cilkrts on Android right now, then
> the patch can't do more harm, so ok.
>>
>> commit 15bee5d49b1c746fd3e784432d7e4988941a671e
>> Author: bviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>
>> Date:   Fri Apr 11 19:56:42 2014 +0000
>>
>>     Fix for PR other/60644.
>>     +2014-04-11  Barry Tannenbaum  <barry.m.tannenbaum@intel.com>
>>     +
>>     +       PR other/60644
>>     +       * runtime/os-unix.c: Replaced all occurrances of ANDROID with
>>     +       __ANDROID__.
>>     +       * runtime/bug.h: Likewise.
>>     +       * include/cilk/metaprogramming.h: Likewise.
>>     +       * include/cilk/reducer_min_max.h: Likewise.
>
>         Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]