This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: tunables failure indications...
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: DJ Delorie <dj at redhat dot com>
- Cc: codonell at redhat dot com, libc-alpha at sourceware dot org
- Date: Thu, 12 Dec 2019 09:38:11 +0530
- Subject: Re: RFC: tunables failure indications...
- References: <xneexary08.fsf@greed.delorie.com>
On 12/12/19 9:33 am, DJ Delorie wrote:
> Siddhesh Poyarekar <siddhesh@gotplt.org> writes:
>> I think this could be a _dl_fatal_printf() or similar.
>
> _dl_fatal_printf() is for ld.so; tunables are in the main library. I
> did look around a bit but couldn't find something obvious that would
> work before stdio was initialized, and without a working malloc.
>
True, the tunables are in the main library, but the tunables framework
itself (i.e. dl-tunables.c) is part of the dynamic linker.
_dl_fatal_printf and everything it calls should have been linked into ld.so.
Siddhesh