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]

abilist problems


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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?

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+f1jV2ijCOnn/RHQRAq93AKCzVJcJDhg5CE/jy5UmvVZusBrD5QCgneZk
YdoDceoehTxT7UyPbfjaoKQ=
=2/qU
-----END PGP SIGNATURE-----


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