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.133.124]) by sourceware.org (Postfix) with ESMTPS id B9A673858D32 for ; Tue, 20 Sep 2022 05:39:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B9A673858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663652374; h=from:from: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=a7dCmMJR90lfG60WHa+gCG97yYDi/6qGQY90bUJ5Hbw=; b=D8UaZIyoxQYDlT2pk3JeJrTH47V3UvtcfEQ3ePBdY6yZSUbvrwwbOq3ZhiwDmaAxR/5Pwj DYO5G5/rQ+JypED+gccnLW+w/HTqE7FEQKRj7EMPQDkTuPBEFWwsqaePX1MURFUroQ7usi /bOkx9DH2OQzZGKKxgqyHu/RMfCik38= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-126-rwwykvzHPeiqFAcUvmFUyw-1; Tue, 20 Sep 2022 01:39:11 -0400 X-MC-Unique: rwwykvzHPeiqFAcUvmFUyw-1 Received: by mail-ej1-f70.google.com with SMTP id qf40-20020a1709077f2800b0077b43f8b94cso722819ejc.23 for ; Mon, 19 Sep 2022 22:39:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=a7dCmMJR90lfG60WHa+gCG97yYDi/6qGQY90bUJ5Hbw=; b=uplipE9i/z5UE7BWBTx0gUBCPuEUN1EAnXgj0H3UoK+hrhGw9E+HXHi6WAuiIUU6B/ D2PA8vZqJKz4+RnYwxMwTqC5IER636Qj9lLvO62rejdWtOoJZQQ3gS8XOep1Vd0roNSe qKUaefD1RPCt/+Z0dYLOFif5NO7cXOlEio/nGVRTrpzmZItm3xHc3ySjfvtDE4H+Wycs sdL/xHqkvCkaZ6UEcMbigQk8xpKli1ppZ+D0RX+Luy394sEDMDjiFG5jRxQQCl0p6Qme 7I8dX7efI4R1/madoZw2W8wA0Vr3588YVjQ6i2LrckTJofKlF0nCupD7tkt0OAdwjC99 TdXg== X-Gm-Message-State: ACrzQf1LOe9hqCuV9PGQbNcaxaUYrL3NMGc9R4OBJiVbPtqGmmOvJqjE arECz4DNb01Ik5sUp6TzCumAb3mu5Z339Vnk6dmHoRl87ZmE5OM+g+fwlD0M8487zb/uHAxq2N0 MEmWkeJMzImyuG+qhJA== X-Received: by 2002:a05:6402:8d7:b0:454:487b:145a with SMTP id d23-20020a05640208d700b00454487b145amr4323616edz.64.1663652350381; Mon, 19 Sep 2022 22:39:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4V8JMHeI2TKMaUE9VDvtUamfAN7bfvtDDL69i+ll9g5M04XTY3oWJ2+Q/g6gVkioxSoq3ENA== X-Received: by 2002:a05:6402:8d7:b0:454:487b:145a with SMTP id d23-20020a05640208d700b00454487b145amr4323608edz.64.1663652350172; Mon, 19 Sep 2022 22:39:10 -0700 (PDT) Received: from [192.168.188.47] (dynamic-077-001-006-069.77.1.pool.telefonica.de. [77.1.6.69]) by smtp.gmail.com with ESMTPSA id ku3-20020a170907788300b0073d5948855asm269019ejc.1.2022.09.19.22.39.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Sep 2022 22:39:09 -0700 (PDT) Message-ID: <7b02118c-41f5-2808-b12b-ae8c713f4f36@redhat.com> Date: Tue, 20 Sep 2022 07:39:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v4] eliminate mutex in fast path of __register_frame To: Thomas Neumann References: <2a4776b9-9271-bb3c-a626-d5ec22dae6f3@in.tum.de> <1bfe8272-0bd1-7565-3f83-ab828c25fd63@in.tum.de> Cc: gcc-patches@gcc.gnu.org From: Stephan Bergmann In-Reply-To: <1bfe8272-0bd1-7565-3f83-ab828c25fd63@in.tum.de> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham 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 19/09/2022 17:33, Thomas Neumann wrote: > Can you try if the patch below fixes the problem? It keeps the data > structures alive at shutdown, though, which will probably make some leak > detectors unhappy. > > Alternatively we could simply remove the gcc_assert (ob) in line 285 of > that file. As far as I can see in crt-begin nothing bad happens if we > return nullptr at shutdown. Yes, thanks, each of those two alternative approaches would appear to fix that LibreOffice build of mine.