public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* abilist problems
@ 2003-03-24 19:40 Ulrich Drepper
  2003-03-24 19:46 ` Andreas Jaeger
  2003-03-26  1:02 ` Roland McGrath
  0 siblings, 2 replies; 10+ messages in thread
From: Ulrich Drepper @ 2003-03-24 19:40 UTC (permalink / raw)
  To: GNU libc hacker

-----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-----

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: abilist problems
@ 2003-03-26  3:22 Roland McGrath
  0 siblings, 0 replies; 10+ messages in thread
From: Roland McGrath @ 2003-03-26  3:22 UTC (permalink / raw)
  To: GNU libc hacker

If you cvs update you can use make check enable-check-abi=no or
configure --disable-check-abi.


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: abilist problems
@ 2003-03-27  0:59 Steven Munroe
  2003-03-27  2:46 ` Ulrich Drepper
  2003-03-27 13:15 ` Andreas Schwab
  0 siblings, 2 replies; 10+ messages in thread
From: Steven Munroe @ 2003-03-27  0:59 UTC (permalink / raw)
  To: libc-hacker

Roland McGrath writes:

 > Now that it's been pointed out, I've noticed that _nl_default_dirname
 > has bogus different sizes in the sh and powerpc64 lists I've been
 > sent. This must be from builds not using --prefix=/usr, and I don't
 > know any reason why that should be done.

The current Suse SLES 8 distro for PPC64 installs the 64-bit tool chain 
as /opt/cross/powerpc64-linux. As this is our current development 
platform we don't build PPC64 with --prefix=/usr.

So it is legitimate for --prefix(es), other then /usr, to be used and 
should be supported for check-abi.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-03-27 11:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-24 19:40 abilist problems Ulrich Drepper
2003-03-24 19:46 ` Andreas Jaeger
2003-03-24 19:48   ` Ulrich Drepper
2003-03-26  1:02 ` Roland McGrath
2003-03-27  0:20   ` Ulrich Drepper
2003-03-27 11:11     ` Roland McGrath
2003-03-26  3:22 Roland McGrath
2003-03-27  0:59 Steven Munroe
2003-03-27  2:46 ` Ulrich Drepper
2003-03-27 13:15 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).