From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 541ED3858C2C for ; Thu, 14 Dec 2023 12:40:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 541ED3858C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 541ED3858C2C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702557601; cv=none; b=UuS6Og/pT+l5flQjnmyOgd7+rU9pbvAtdmHT2bvdnOLP3Ye08onnjw85G40jwmIXF/MMVMYD/CTTccGtOg4ZDr2aYw2+t5d2/wyDzCuNc4tYqtf0aU+3Bw+WB8zeVjdvE4vqdbsAZ+Sd2gG0bY8hQOL4RZnoGHb17XeHlIUZ7Oo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702557601; c=relaxed/simple; bh=jr8v/UABjhaaGmwu5iMJ7WErt97VD4OeCNACy8Cx00g=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=YEAbJ4cLmFepi9Iak9UwCunDgKix7pr1hAwQImFWMtk8gKATlRoMmsiDSm4i1W5B5/1DGQ8bnEapgCYbd6jE8kS24d9mslAr0pFpocU2jvFEifyLxxEMl5wXLgM73sYY4oXMHnEHzxvfGANse3U+R5Sf67kxyd40q/H9rKclNWo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702557600; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2j63W82U8bQT8cpfM1+NmwEy3t0bRRj1GINX7wN64GA=; b=TN4IDfE4tBwUH1UVJyRA99qs4eVQ2X+RLqpl25QQ6LrC2BmQvOEJSo+VtjK0ry/SMIotOU X5dPZxnbkjzW08AIEdYWfkU/TPsAZe+BLdF+37KIEXCtHW0UYwsWjlyNqe2gntEaVqr547 4rDqNF9OVr7IX+fj8lw4WSLBmMgwsiU= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-537-p2dkKbs9NL6E1IUhgzqdBw-1; Thu, 14 Dec 2023 07:39:54 -0500 X-MC-Unique: p2dkKbs9NL6E1IUhgzqdBw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 50865380662E; Thu, 14 Dec 2023 12:39:54 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.92]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DAE0BC15968; Thu, 14 Dec 2023 12:39:53 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 3BECdolC1110597 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 13:39:51 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 3BECdnbK1110595; Thu, 14 Dec 2023 13:39:49 +0100 Date: Thu, 14 Dec 2023 13:39:49 +0100 From: Jakub Jelinek To: Thomas Schwinge Cc: "Zhu, Lipeng" , "H.J. Lu" , "fortran@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" , "Deng, Pan" , "rep.dot.nop@gmail.com" , "Li, Tianyou" , "tkoenig@netcologne.de" , "Guo, Wangyang" Subject: Re: [PATCH v7] libgfortran: Replace mutex with rwlock Message-ID: Reply-To: Jakub Jelinek References: <20231209153944.3746165-1-lipeng.zhu@intel.com> <87sf45su42.fsf@euler.schwinge.homeip.net> <8734w57ysy.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 In-Reply-To: <8734w57ysy.fsf@euler.schwinge.homeip.net> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, Dec 14, 2023 at 01:29:01PM +0100, Thomas Schwinge wrote: > > Sure, I will look into that. > > > > BTW, I didn’t have the PowerPC in hands, do you mind granting the access of your > > test environment to me to help reproduce the issue? > > That's unfortunately not possible: it's behind company VPN, restricted > access. :-/ I'll later try to have at least a quick look where it's > hanging, or what it's doing. There is always https://gcc.gnu.org/wiki/CompileFarm There are e.g. 192, 160, 128, 80, 64 thread power machines. Whether any of them can actually reproduce it, I haven't tried. But shouldn't be that time consuming to reproduce, for this kind of thing one can just build .../configure --enable-languages=c,c++,fortran --disable-bootstrap --disable-libsanitizer make -jN compiler and just cd power*/libgomp make check RUNTESTFLAGS=fortran.exp=rwlock*.f90 repeatedly to see if it gets stuck. Jakub