abilist problems

Andreas Jaeger aj@suse.de
Mon Mar 24 19:46:00 GMT 2003


Ulrich Drepper <drepper@redhat.com> writes:

> I have some big problems with the current abilist implementation.  glibc
> always allowed to compile against different kernel headers and have the
> resulting binary reflect the kernel the headers are taken from.  This
> can cut down on runtime tests for functionality which is known to not be
> available since an old kernel is used.

And there's the problem with the _nl_dirname (sp?) symbol which has a
different length depending on the value of --prefix.  We need to find
a way to take this into account without the testsuite failing.

> The abilist check causes all such builds to fail.  Syscalls which are
> listed only in syscalls.list and are not available in the kernel headers
> will have no code created for them.  This in turn obviously results in
> differences to the interface.
>
> I see two ways out:
>
> - make the abilist check optional and/or figure out how to determine
>   when the tests can be made mandatory.  E.g., if the kernel header
>   version is more recent than x.y.z, make the tests mandatory.
>
> - create stubs for the syscalls which are not announced in the kernel
>   headers.
>
>
> I probably have a preference for the second solution.  Any volunteer to
> hack something?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list