This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: tunables failure indications...
On 12/11/19 11:08 PM, Siddhesh Poyarekar wrote:
> 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.
Agreed, it should be possible to use _dl_fatal_printf.
Does it not work?
--
Cheers,
Carlos.