From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E9CCA1F463 for ; Sat, 14 Dec 2019 21:12:46 +0000 (UTC) Received: from localhost ([::1]:33058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igEiT-0005QB-KP for normalperson@yhbt.net; Sat, 14 Dec 2019 16:12:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46573) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igEiO-0005ND-Lh for bug-gnulib@gnu.org; Sat, 14 Dec 2019 16:12:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igEiN-0004Tl-IZ for bug-gnulib@gnu.org; Sat, 14 Dec 2019 16:12:40 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::7]:29638) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igEiM-0004HS-Sk for bug-gnulib@gnu.org; Sat, 14 Dec 2019 16:12:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1576357955; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=bfXNuJRgQaFQlZc21SKzP4uNE6hKPn6tJpBk79IEhuk=; b=dxJSZGEoxnsR9+KW3yTF2yv1iwP8KJMYPJmYlcRxp8cl3JjX0UDPaMexLRECYqbIHC xbuGSfGOuoLcHTYeI4zDiQjwAfc6BpDq98JNwhyTjjbqY4ciUZ1iT8J0i/Otg9z1mNB7 6D0JnJvbRJijG7Xx/633sokzoTsRdwL3HmGu05ekwTAAe8dbMNyvEg0oWq6ThORrpTTe Bk9KgQEJ5SRZAMHUumxlFCAU8T33EgnmFhIdXMllMTyPQdW0+4XUHnWsZbykpSV5YViz /rTanFVrnz0WD4ALaDik26eIbjwdl21U+2UdEt6Y4HaoOUy9xh8hydiCZRQEhbQBb6OI Na1g== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.0.7 DYNA|AUTH) with ESMTPSA id 3049ecvBEDgUAGn (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sat, 14 Dec 2019 14:42:30 +0100 (CET) From: Bruno Haible To: "Daniel Richard G." Subject: Re: IBM z/OS compatibility issues - pthread Date: Sat, 14 Dec 2019 14:42:29 +0100 Message-ID: <3476942.sfOceunflY@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <2c418d64-24c8-4c52-a359-b5683ea9b3f6@www.fastmail.com> References: <4057e573-c4df-46b4-8aa7-b80be58efe57@www.fastmail.com> <1869044.xbHpMmaWH2@omega> <2c418d64-24c8-4c52-a359-b5683ea9b3f6@www.fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::7 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On Freitag, 13. Dezember 2019 16:10:21 CET Daniel Richard G. wrote: > Hi Bruno, > > On Fri, 2019 Dec 13 07:43-05:00, Bruno Haible wrote: > > > > > I don't see "PTHREAD_RWLOCK_INITIALIZER_NP" anywhere in a clean Gnulib > > > tree, so I'm not sure how this could already be addressed... > > > > The gnulib module 'pthread-rwlock' fixes this issue in a platform-independent > > way (by overriding pthread_rwlock_t). That's the reason why you don't see > > PTHREAD_RWLOCK_INITIALIZER_NP in the gnulib source code. > > Something must be missing, because if I remove my conditional definition > of PTHREAD_RWLOCK_INITIALIZER from pthread.in.h, test-pthread-rwlock is > no longer in the set of tests built by default. I don't understand how that can be, because none of the Autoconf tests references PTHREAD_RWLOCK_INITIALIZER. Can you please do a fresh start on this? - Create a testdir for module 'pthread-rwlock'. - Build it with -D_UNIX95_THREADS -D_XOPEN_SOURCE=600. Bruno