From patchwork Fri Mar 14 12:53:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 330303 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A10942C00A8 for ; Sat, 15 Mar 2014 00:00:15 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=abGBVeHMauJfJLkuJIhOi34+TfjH+ Ri8CQL1wEw0QzvFPciR8IsgrnoJfiN5WRti7JX6k5mC/XWCBk+j7jHSvctBolvIz fReQdJzjbexhh6bQzBTxXQ5nSVF+8xCsru479CukjtFDZ1+vBzGDel1MLGliwMtp iN1XcH34vXg3YU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type; s=default; bh=OyIuB8lTtJz7cBz9Wxo6iHcRONE=; b=fzM x0zpl2qPMgYZjh/6k9UfzRnbHGNCkD3FZaAYr3LsPEqJYs3LNvKsS/aUDeV+IVbm bs4CI5oS1ln8BKYIxsMyMHm0JoR9GDDCdvay93k1jjpBctsmPTyw995e5agwobc/ BfFi2b8JBuf3HEh47HJJMq8VnwpYgSTa6IDA/qCc= Received: (qmail 30692 invoked by alias); 14 Mar 2014 13:00:10 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 30670 invoked by uid 89); 14 Mar 2014 13:00:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, SUBJ_ALL_CAPS, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: libc-alpha@sourceware.org From: Stefan Liebler Subject: [PATCH] S/390: Date: Fri, 14 Mar 2014 13:53:48 +0100 Lines: 65 Message-ID: Mime-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 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 * 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. --- \ No newline at end of file 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