This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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: build message: errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)


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


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