From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mxout012.mail.hostpoint.ch (mxout012.mail.hostpoint.ch [IPv6:2a00:d70:0:e::312]) by sourceware.org (Postfix) with ESMTPS id 546F738708A4; Fri, 14 Jun 2024 19:11:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 546F738708A4 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=vollmann.ch Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vollmann.ch ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 546F738708A4 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:d70:0:e::312 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718392319; cv=none; b=OU07+czExN47GvxvTM11jXj38P9O7wYc5FYeNvQLP9PgLTk2N4rFOoeT1v7fUKFwmy/J1Cw+mIVzan8bTU82l9qBJs9860Bzo0OAhhv23hA0Ia/tMTlacMVCFeb73vRff6ZuI3mTZWRgmygjFeqBbYQ4S2g0KnwGkozktc8YIlw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718392319; c=relaxed/simple; bh=QiCDrQJFHzjtXxgqS9c5RESHqRD4uUum3RJMvtyzTpg=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=NGH2PSqD+GQtOwEcQdi9J5XFNTCLeP4KIxngJXcfgdzZJ0O+ZluhqQHUgEQ9pX2SbosJBPlbKKOq9koOXRuFLkayUe5+00Yn+zxsTx94Xd2xXUnXeVDJ0+03tMHzBpnT/AFFU4aoBvcIq6etF6WMVRMALdh0ktdW+e+bpd9shN0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [10.0.2.45] (helo=asmtp012.mail.hostpoint.ch) by mxout012.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1sICL5-00000000GBE-0z9M; Fri, 14 Jun 2024 21:11:55 +0200 Received: from [46.22.24.208] (helo=[192.168.26.4]) by asmtp012.mail.hostpoint.ch with esmtpa (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1sICL4-00000000J1Z-3zZn; Fri, 14 Jun 2024 21:11:55 +0200 X-Authenticated-Sender-Id: mail-all@vollmann.ch Message-ID: <8f3407de-0df2-42af-ab75-6d2ee3a12e80@vollmann.ch> Date: Fri, 14 Jun 2024 21:11:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] libstdc++: Fix build for AVR [PR115481, PR111639] Content-Language: en-US To: Xi Ruoyao , gcc Patches , libstdc++ Cc: gcc-bugzilla@gcc.gnu.org References: <05fec570-04e5-44de-9a61-c25fb1adf92d@vollmann.ch> <0f5c75f9e6a51cd1ad9eb1274bf93d9b310af2b2.camel@xry111.site> From: Detlef Vollmann In-Reply-To: <0f5c75f9e6a51cd1ad9eb1274bf93d9b310af2b2.camel@xry111.site> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Vs-State: 0 X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00,BODY_8BITS,GIT_PATCH_0,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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 6/14/24 19:45, Xi Ruoyao wrote: > On Fri, 2024-06-14 at 19:37 +0200, Detlef Vollmann wrote: >> diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure >> index 5645e991af7..17dbae7bd87 100755 >> --- a/libstdc++-v3/configure >> +++ b/libstdc++-v3/configure >> @@ -5080,7 +5080,7 @@ else >>      We can't simply define LARGE_OFF_T to be 9223372036854775807, >>      since some C++ compilers masquerading as C compilers >>      incorrectly reject 9223372036854775807. */ >> -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >> +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) >>    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 >>   && LARGE_OFF_T % 2147483647 == 1) >>   ? 1 : -1]; > > This shouldn't happen. Please regenerate using *vanilla* autoconf-2.69. Sorry, I was surprised myself, when I looked at the changes. But after looking at the actual change I thought it doesn't matter. I used Debian's version, I'll try to get a vanilla version working tomorrow (I actually plan anyway to run a test with the built libstdc++ on simulavr). Detlef