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: 83 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (caibbdcaaahb.dreamhost.com [208.113.200.71]) by wilcox.dreamhost.com (Postfix) with ESMTP id 36C0C360102 for ; Fri, 14 Mar 2014 06:00:13 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id D7B4BC43237; Fri, 14 Mar 2014 06:00:12 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx21.g.dreamhost.com 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 homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id A6C89C38899 for ; Fri, 14 Mar 2014 06:00:12 -0700 (PDT) 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=RL5BV2FpvuJDrsfKtByEsGB3tBjB5 WFv81VlWbQBcMMWMmPauR6HjsN/WqXYv3CSvSh0YLAnyu8taQcXIaYrTrx2vHGa2 YQDkM3fb5CkuQoLemAfqzCtFq+CuJmN/GcDWHf4/pQ9+A5XhhfhPkpaqeGImkPSn 9+jWe/P4Yqwywo= 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=HHE g7dqP6p217qvx1fxCrjvBjYalYCYR7BXFtFxK9xbZObpbOqDhh6B7fC7kvaFadb3 IdHjxVp+SeTDrjudNjzADTwog9AGdQAq8jIT0zHByhrcZ3dmO1n0XUOv77rUkWxr gK8gqv9WaUHBSBZrhqCsW2fYzYJTrdC9b30aSz4U= 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 X-DH-Original-To: glibc@patchwork.siddhesh.in 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