From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by sourceware.org (Postfix) with ESMTPS id 3103F3858428; Mon, 4 Sep 2023 16:35:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3103F3858428 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1693845325; x=1725381325; h=from:to:cc:in-reply-to:subject:mime-version: content-transfer-encoding:references:message-id:date; bh=4LgB1w1GJqyIILhNhkoM24vbkYakGYfUPqns+FKpWIs=; b=Q+BtKvjk2DTkX9Bj/BMvPWvbjEepEgiaKijU8q2/ZgcM59kjNZBzwiex w10wToqjom2pK5sCFLqz0XSLLSP7mGVlqWVycNm2QdGBm6BJbhTh7roGA O9zhl1OXazbgHnNyVTVYyey/a6F3qmmLVtzM4uy/KLBTaUcpPlYdVh9Xd 03TXSNT5TmzxBVPlOPKmJQfpv1bVmoEVJ+ikfXjIZSZqFx5LC5Fmaa76z ImvrHU9T313wOkWO7fjN2KceTzd2CiJfMayBa3bDAZDQnNl1AxgsY1Mi/ 9H9L83qL+hNQs9v0iV0KBevTbCkzlFdaR5nP9Kgh0ANGxmSyhWArPb2+B w==; From: Hans-Peter Nilsson To: Jonathan Wakely CC: , , In-Reply-To: (message from Jonathan Wakely via Gcc-patches on Fri, 1 Sep 2023 17:10:08 +0100) Subject: Re: [RFC] libstdc++: Make --enable-libstdcxx-backtrace=auto default to yes MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT References: <20230823160322.237140-1-jwakely@redhat.com> Message-ID: <20230904163523.C35B220432@pchp3.se.axis.com> Date: Mon, 4 Sep 2023 18:35:23 +0200 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,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: I was about to enter a PR for the regression, but as you're already aware, I'll wait 24 hours to see if this magically goes away. :] > On Fri, 1 Sept 2023 at 12:16, Jonathan Wakely wrote: > > > > On Wed, 23 Aug 2023 at 17:03, Jonathan Wakely via Libstdc++ > > wrote: > > > > > > Any objections to this? It's a C++23 feture, so should be enabled by > > > default. > > > > I've pushed this to trunk, so let's see what breaks! > > This modules header broke on aarch64, of course: > FAIL: g++.dg/modules/xtreme-header_b.C -std=c++2b (test for excess errors) And others, according to testresults@ including powerpc64le-unknown-linux-gnu, x86_64-pc-linux-gnu, s390x-ibm-linux-gnu, m68k-unknown-linux-gnu, pru-unknown-elf, and...cris-elf (notably, both "64-bit" and "32-bit" configurations). Not sure how much information you have, but for cris-elf, g++.log shows: FAIL: g++.dg/modules/xtreme-header_b.C -std=c++2b (test for excess errors) Excess errors: /obj/libstdc++-v3/include/stacktrace:202:24: error: mangling of 'constexpr std::stacktrace_entry::_M_get_info(std::string*, std::string*, int*) const::::operator void (*)(void*, std::stacktrace_entry::uintptr_t, const char*, std::stacktrace_entry::uintptr_t, std::stacktrace_entry::uintptr_t)() const' as '_ZZNKSt16stacktrace_entry11_M_get_infoEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_PiENKUlPvmPKcmmE_cvPFvS8_mSA_mmEEv' conflicts with a previous mangle /obj/libstdc++-v3/include/stacktrace:202:24: error: mangling of 'static constexpr void std::stacktrace_entry::_M_get_info(std::string*, std::string*, int*) const::::_FUN(void*, std::stacktrace_entry::uintptr_t, const char*, std::stacktrace_entry::uintptr_t, std::stacktrace_entry::uintptr_t)' as '_ZZNKSt16stacktrace_entry11_M_get_infoEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_PiENUlPvmPKcmmE_4_FUNES8_mSA_mm' conflicts with a previous mangle /obj/libstdc++-v3/include/stacktrace:202:24: error: mangling of 'std::stacktrace_entry::_M_get_info(std::string*, std::string*, int*) const::' as '_ZZNKSt16stacktrace_entry11_M_get_infoEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_PiENKUlPvmPKcmmE_clES8_mSA_mm' conflicts with a previous mangle So, I *guess* it's some kind of pre-existing mangling foulup with C++20 in the backtrace-support that just happens to be ticked off by the module testsuite. But you probably already knew that. brgds, H-P