This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
sysdeps/gnu/errlist-compat.awk doesn't work on mips
- From: "H. J. Lu" <hjl at lucon dot org>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>,linux-mips at linux-mips dot org
- Cc: roland at redhat dot com
- Date: Sun, 20 Oct 2002 16:43:47 -0700
- Subject: sysdeps/gnu/errlist-compat.awk doesn't work on mips
On mips, there are
#define ENOPROTOOPT 99 /* Protocol not available */
#define EPROTONOSUPPORT 120 /* Protocol not supported */
#define ESOCKTNOSUPPORT 121 /* Socket type not supported */
/*
* These error are Linux extensions.
*/
#define ENOMEDIUM 159 /* No medium found */
#define EMEDIUMTYPE 160 /* Wrong medium type */
#define EDQUOT 1133 /* Quota exceeded */
sysdeps/gnu/errlist-compat.awk can't handle holes in errno at all. I
got
*** errlist.c count 125 vs Versions sys_errlist@GLIBC_2.1 count 1134
I don't believe Linux/mips need GLIBC_2.3 for _sys_errlist, sys_errlist,
_sys_nerr and sys_nerr.
I will see what I can do to fix sysdeps/gnu/errlist-compat.awk.
H.J.