This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: How to build GLIBC without NPTL ?
* William Tambe:
> On Fri, Feb 14, 2020 at 2:11 AM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * William Tambe:
>>
>> > I am porting GLIBC and I would like to build it without NPTL.
>> >
>> > How should I invoke ./configure to build GLIBC without NPTL ?
>>
>> For a Linux target, that is not easy.
>
> Is it possible to have a quick outline of what needs to be done ?
It really depends on how your target differs from Linux.
You could look at the HTL vs NPTL difference to get some ideas.
>> What's the porting issue specific to NPTL?
>
> It is more so because NPTL should not be made mandatory; there are
> alternatives.
Nowadays, the thread library is tightly integrated with the dynamic
loader and the rest of glibc, so it really has to be built from the same
source tree.
Thanks,
Florian