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 [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id B84223851C2B for ; Tue, 16 Mar 2021 12:40:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B84223851C2B Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-515-Ot9Ab6blP6O2LP-m3dxqiA-1; Tue, 16 Mar 2021 08:40:42 -0400 X-MC-Unique: Ot9Ab6blP6O2LP-m3dxqiA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 925F41015C85; Tue, 16 Mar 2021 12:40:41 +0000 (UTC) Received: from localhost (unknown [10.33.36.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C9A219CA8; Tue, 16 Mar 2021 12:40:41 +0000 (UTC) Date: Tue, 16 Mar 2021 12:40:40 +0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH 2/2] libstdc++: Remove symbols for new std::call_once implementation [PR 99341] Message-ID: <20210316124040.GT3008@redhat.com> References: <20210312174654.GM3008@redhat.com> MIME-Version: 1.0 In-Reply-To: <20210312174654.GM3008@redhat.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2021 12:40:46 -0000 On 12/03/21 17:46 +0000, Jonathan Wakely wrote: >This removes the new symbols added for the new futex-based >std::call_once implementation. These symbols were new on trunk, so not >in any released version. However, they are already present in some >beta distro releases (Fedora Linux 34) and in Fedora Linux rawhide. This >change can be locally reverted by distros that need to keep the symbols >present until affected packages have been rebuilt. > >libstdc++-v3/ChangeLog: > > PR libstdc++/99341 > * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Remove > std::once_flag symbols. > * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise. > * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise. > * config/abi/post/riscv64-linux-gnu/baseline_symbols.txt: > Likewise. > * config/abi/pre/gnu.ver: Likewise. > * src/c++11/mutex.cc [_GLIBCXX_HAVE_LINUX_FUTEX] > (struct __once_flag_compat): Remove. > (_ZNSt9once_flag11_M_activateEv): Remove. > (_ZNSt9once_flag9_M_finishEb): Remove. > >Tested x86_64-linux, powerpc64-linux and powerpc64le-linux, but not yet >committed (it's not really appropriate for a last-minute Friday >change!) I've now pushed [PATCH 1/2] and this one.