[PATCH] S/390:

Stefan Liebler stli@linux.vnet.ibm.com
Fri Mar 14 13:00:00 GMT 2014


Hi,

The conformance tests for ISO99, ISO11, XOPEN2K, POSIX2008 and XOPEN2K8
are failing on S390 for the inttypes.h and stdint.h headers.
The problem is that on S390 size_t / __SIZE_TYPE__
are defined as long unsigned int,
which has the same size as unsigned int (on S390).
SIZE_MAX is defined in sysdeps/generic/stdint.h as 4294967295U.
The conformance-test checks the type of SIZE_MAX,
which should be promoted to __SIZE_TYPE__, but it is unsigned int.

Bye

---
2014-03-14  Stefan Liebler  <stli@linux.vnet.ibm.com>

	* sysdeps/s390/s390-32/Makefile
	(test-xfail-ISO99/inttypes.h/conform): New Variable.
	(test-xfail-ISO99/stdint.h/conform): Likewise.
	(test-xfail-ISO11/inttypes.h/conform): Likewise.
	(test-xfail-ISO11/stdint.h/conform): Likewise.
	(test-xfail-XOPEN2K/inttypes.h/conform): Likewise.
	(test-xfail-XOPEN2K/stdint.h/conform): Likewise.
	(test-xfail-POSIX2008/inttypes.h/conform): Likewise.
	(test-xfail-POSIX2008/stdint.h/conform): Likewise.
	(test-xfail-XOPEN2K8/inttypes.h/conform): Likewise.
	(test-xfail-XOPEN2K8/stdint.h/conform): Likewise.
---
-------------- next part --------------
diff --git a/sysdeps/s390/s390-32/Makefile b/sysdeps/s390/s390-32/Makefile
index 057862d..e7f3934 100644
--- a/sysdeps/s390/s390-32/Makefile
+++ b/sysdeps/s390/s390-32/Makefile
@@ -9,3 +9,16 @@ CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
 CFLAGS-dl-load.c += -Wno-unused
 CFLAGS-dl-reloc.c += -Wno-unused
 endif
+
+ifeq ($(subdir),conform)
+test-xfail-ISO99/inttypes.h/conform = yes
+test-xfail-ISO99/stdint.h/conform = yes
+test-xfail-ISO11/inttypes.h/conform = yes
+test-xfail-ISO11/stdint.h/conform = yes
+test-xfail-XOPEN2K/inttypes.h/conform = yes
+test-xfail-XOPEN2K/stdint.h/conform = yes
+test-xfail-POSIX2008/inttypes.h/conform = yes
+test-xfail-POSIX2008/stdint.h/conform = yes
+test-xfail-XOPEN2K8/inttypes.h/conform = yes
+test-xfail-XOPEN2K8/stdint.h/conform = yes
+endif
\ No newline at end of file


More information about the Libc-alpha mailing list