This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: abilist problems


Ulrich Drepper <drepper at redhat dot 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 at suse dot de
   private aj at arthur dot inka dot de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]