[PATCH 5/8] elf: Emit tunconf "not recognized" warning on stderr
DJ Delorie
dj@redhat.com
Thu Jul 9 02:20:48 GMT 2026
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> For consistency with other errors.
I did it this way so it *wasn't* an error, just a warning. We don't
have warning_at_line(). I couldn't think of a good reason to limit the
cache only to tunables that the current version of ldconfig knows about,
so I didn't. This way we can support multiple versions of glibc and
evern non-glibc tunables (assuming the application had a way to get to
them).
> diff --git a/elf/tunconf.c b/elf/tunconf.c
> - printf ("%s:%d: Warning: tunable %s not recognized.\n",
> - filename, lineno, name);
> + error_at_line (0, 0, filename, lineno,
> + "Warning: tunable %s not recognized", name);
More information about the Libc-alpha
mailing list