This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [EXT] Re: Conform failures in glibc?
On Tue, 2019-05-21 at 19:10 +0200, Florian Weimer wrote:
>
> These should be XFAILed and not really count as failures.
>
> I find these errors confusing as well. On the one hand, I think want
> the conform test expectations to reflect POSIX as closely as possible,
> but on the other hand, I do not see value in carrying around such fringe
> XFAILs forever. The <varargs.h> one in particular will never get fixed
> at this point. We know that, so reporting it over and over again is
> just noise.
>
> Thanks,
> Florian
I actually hadn't run into these before. I have recently changed my
build setup so maybe that is what caused me to start seeing these.
I see glibc/conform/Makefile has some XFAILS:
# Pre-standard C feature no longer supported by GCC (obsoleted in
# newer POSIX standards).
test-xfail-XPG4/varargs.h/conform = yes
test-xfail-XPG42/varargs.h/conform = yes
test-xfail-UNIX98/varargs.h/conform = yes
# Header not provided by glibc.
test-xfail-XPG42/ndbm.h/conform = yes
test-xfail-UNIX98/ndbm.h/conform = yes
test-xfail-XOPEN2K/ndbm.h/conform = yes
test-xfail-XOPEN2K8/ndbm.h/conform = yes
The failures I am seeing are:
FAIL: conform/POSIX2008/arpa/inet.h/conform
FAIL: conform/POSIX2008/netdb.h/conform
FAIL: conform/POSIX2008/netinet/in.h/conform
FAIL: conform/POSIX2008/sys/socket.h/conform
FAIL: conform/UNIX98/arpa/inet.h/conform
FAIL: conform/UNIX98/netdb.h/conform
FAIL: conform/UNIX98/netinet/in.h/conform
FAIL: conform/UNIX98/sys/socket.h/conform
FAIL: conform/XOPEN2K8/arpa/inet.h/conform
FAIL: conform/XOPEN2K8/netdb.h/conform
FAIL: conform/XOPEN2K8/netinet/in.h/conform
FAIL: conform/XOPEN2K8/sys/socket.h/conform
FAIL: conform/XOPEN2K/arpa/inet.h/conform
FAIL: conform/XOPEN2K/netdb.h/conform
FAIL: conform/XOPEN2K/netinet/in.h/conform
FAIL: conform/XOPEN2K/sys/socket.h/conform
FAIL: conform/XPG42/arpa/inet.h/conform
FAIL: conform/XPG42/netdb.h/conform
FAIL: conform/XPG42/netinet/in.h/conform
FAIL: conform/XPG42/sys/socket.h/conform
Steve Ellcey
sellcey@marvell.com