This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Redesign pthread in LIB_SPEC for systems without libpthread
- From: Alexander Ivchenko <aivchenk at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 15 Aug 2013 14:54:41 +0400
- Subject: Re: [PATCH] Redesign pthread in LIB_SPEC for systems without libpthread
- References: <CANwJu1-9g7bEwRowQGRywFk3tSDW-s+CRq_qDEDOJFtMg4Xp8g at mail dot gmail dot com> <CACysShhNtEO2me2jbBpvUaq=D6rUeW9x4Lg+fOy8jV1V+DD0Pw at mail dot gmail dot com> <CANwJu1_RgaXergMwgwS-0ME5MOoZrVZQ55+xHkPnAwe=uBoEjQ at mail dot gmail dot com> <CANwJu1-O8FFBVkhUMLwZSDVyFp91cYzOGQJXEoCjriT2B2pEgQ at mail dot gmail dot com> <CACysShhE_Cbd5rXOS4SEtENZ=DYDSAbe9qn0+259rMyShuAv4A at mail dot gmail dot com>
Could anybody please take a look? This is important for building gcc
for android.
ping^4
thanks,
Alexander
2013/8/15 Alexander Ivchenko <aivchenk@gmail.com>:
> Could anybody please take a look? This is important for building gcc for
> android.
>
> ping^4
> thanks,
> Alexander
>
>
> 2013/5/28 Pavel Chupin <pavel.v.chupin@gmail.com>
>>
>> On Thu, May 16, 2013 at 10:49 AM, Pavel Chupin <pavel.v.chupin@gmail.com>
>> wrote:
>> > On Mon, Apr 29, 2013 at 5:36 PM, Alexander Ivchenko <aivchenk@gmail.com>
>> > wrote:
>> >> *ping*
>> >>
>> >> thank you,
>> >> Alexander
>> >>
>> >> 2013/4/15 Pavel Chupin <pavel.v.chupin@gmail.com>:
>> >>> On Tue, Apr 2, 2013 at 1:59 PM, Pavel Chupin
>> >>> <pavel.v.chupin@gmail.com> wrote:
>> >>>> On Mon, Apr 1, 2013 at 7:07 PM, Pavel Chupin
>> >>>> <pavel.v.chupin@gmail.com> wrote:
>> >>>>> On Android pthread is integrated into libc.
>> >>>>> Attached patch fixes configures for this case by trying to build
>> >>>>> test
>> >>>>> without -pthread -lpthread.
>> >>>>>
>> >>>>> 2013-04-01 Pavel Chupin <pavel.v.chupin@intel.com>
>> >>>>>
>> >>>>> Fix libatomic and libgomp configure for systems without
>> >>>>> libpthread
>> >>>>> * libatomic/configure.ac: Add test without -pthread
>> >>>>> -lpthread.
>> >>>>> * libgomp/configure.ac: Ditto.
>> >>>>> * libatomic/configure: Regenerate.
>> >>>>> * libgomp/configure: Regenerate.
>> >>>>>
>> >>>>> OK for trunk?
>> >>>>>
>> >>>>
>> >>>> I think I made a better fix:
>> >>>>
>> >>>> 2013-04-02 Pavel Chupin <pavel.v.chupin@intel.com>
>> >>>>
>> >>>> Redesign pthread in LIB_SPEC for systems without libpthread
>> >>>> * gcc/config/gnu-user.h: Remove pthread from
>> >>>> GNU_USER_TARGET_LIB_SPEC
>> >>>> but keep in default LIB_SPEC
>> >>>> * gcc/config/linux-android.h: Add pthread to ANDROID_LIB_SPEC
>> >>>>
>> >>>> Is it OK for trunk?
>> >>>
>> >>> Ping
>> >>>
>> >
>> > Ping.
>> >
>>
>> Ping.
>>
>> --
>> Pavel Chupin
>> Intel Corporation
>
>