This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build message: errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 21 May 2015 19:20:37 +0200
- Subject: Re: build message: errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
- Authentication-results: sourceware.org; auth=none
- References: <555E037E dot 3020808 at arm dot com>
Szabolcs Nagy <szabolcs.nagy@arm.com> writes:
> why do i get
>
> *** errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
>
> build error message?
It's because of a bug in sysdeps/gnu/errlist-compat.awk which caused
ERR_MAX to be off-by-one. The bug was fixed in glibc-2.15-617-gff3d51e,
but the ABI had to be preserved.
> sysdeps/unix/sysv/linux/Versions seems to hardcode 135 errlist size
> while the largest number in kernel asm-generic/errno.h is 133
>
> is there a reason for the difference?
The next added errno will fix that.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."