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 173783882126 for ; Fri, 14 Jun 2024 17:59:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 173783882126 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 173783882126 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718387992; cv=none; b=tqaX6sXJ+G+/ee215lRzhAIIWljlBzhG0DCGhqyvd62da205RfoniAObhqF5UN5lQ5ZpvWVAmsY3tMS60MR7pWauypTfpD5eQrA+HC9OySYH+/eyAi3eRRpg/af5gfxexF7Rkwx5UVDggS8u+MnaNJKLrnh9xk0pvEzMccNFCTI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718387992; c=relaxed/simple; bh=RplpHB+EAj8EDcAb0DO71Df4BVebxB0nrugWLS+hsZE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Pr8LI2JGghBi+RXaywqKrmhb+LjawuhBy0xFULlM7Bw7ZQcsGjdaQwxWt9VW66OnOcXbyEm5itXiaCqZjhbPUd6FSA+ABCLyip8ix0fgY/L26YX9JYDjFLKdYKfshUX+zjZH4GU8HU+cnXMR2WgbvfTSYGSlyGa6Yo9dilDEsu4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718387990; 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: in-reply-to:in-reply-to:references:references; bh=415bdq6y04HPHiHXnSyM+BjYqjHiEVn4+IjzCJgPdPE=; b=YhTywUmiouXoPFwcTxgFoALVzIse+fkWYWbzeDAqeRQ5/7B3+bOrXWuF0UZ+vqwCEz60yG eZ1NrX05+yLgoaoXZo4dA6FQ5k1EhrCcgpsVdIXpg0GxuqjJX7caBmvvuDVyovut7RSeCP H8Zr39Dxhc0YjmsfaIEJKIYwy+7cMNM= Received: from mail-yw1-f197.google.com (mail-yw1-f197.google.com [209.85.128.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-624-g7EWH_jPOb2ePQ97bD3qew-1; Fri, 14 Jun 2024 13:59:49 -0400 X-MC-Unique: g7EWH_jPOb2ePQ97bD3qew-1 Received: by mail-yw1-f197.google.com with SMTP id 00721157ae682-6326955ad54so15759257b3.2 for ; Fri, 14 Jun 2024 10:59:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718387989; x=1718992789; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=415bdq6y04HPHiHXnSyM+BjYqjHiEVn4+IjzCJgPdPE=; b=lhRdSFvYHX++UFTXgXwDrZAPUvqj5TV4FyCdke4ucSERpeIaTyWCDgP5IM98Qpq+MI sSHvi/UtShJFN3q0svXtuCg/Ze059IyONP+hyPLXT2LVZHV5CktnAb9L7zpNZcfIVMSR 0ty6PYL+XPLfHU1SUaCqFZ+fn9cRw9WVqaipGKIuJWDuq4hCQBjguNfR9/2MwCKZ9DqX vPfOIknJrP7ABs2FcG7K16vvYgzab4/7L1LM4H1w5MqmYUJzzEHzqpeQVx7Q3HNCUR+h xPV9yy52winADuOSFbWI6+e7pATQEwA/Yl2jHP5VI5oq3mSh0TKancanGDdLLdlRKQBr TTnA== X-Forwarded-Encrypted: i=1; AJvYcCWzfrxgJ6q3LqzJ9XQ8pIg44oLquDWw6VKnfu258rlMsuqF1ZnL7jX4uoe9xjOBMK+NEZc7ivqNTDBots/uRVlY3f/o/EacKQ== X-Gm-Message-State: AOJu0YxLmk3gT06HHyxLyAhi9ZbRZ/H4sijJg8Zrhb33IO1WwsCYN50r AeacfFdgoQ7rhdRzRwYKVbg0yOPDfWWtr9wpFAzP8H5aCuV7ic3vSIFRzXtYIlvkeYE6REhMsGS //2/Eb1PMjcPCPobb9Jp/0vwTh9dOTUnL5OANfefEOyqeKzGTLQhfcs5K8hGC82n+E8COBF5KmU BYYUuq7aMhOCb8MbMst1qQ/jdsAtSq7Q== X-Received: by 2002:a25:c54e:0:b0:de5:4a6d:96f9 with SMTP id 3f1490d57ef6-dff154919dfmr3359133276.51.1718387989013; Fri, 14 Jun 2024 10:59:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8fFpkR4MOukd25rmTBNK7PNlBk/jDo5hzExtsZ+rJd6F0JPvI/oPFugZSjPRuvWwSf1765XCogJ6rWX7u0w4= X-Received: by 2002:a25:c54e:0:b0:de5:4a6d:96f9 with SMTP id 3f1490d57ef6-dff154919dfmr3359117276.51.1718387988744; Fri, 14 Jun 2024 10:59:48 -0700 (PDT) MIME-Version: 1.0 References: <05fec570-04e5-44de-9a61-c25fb1adf92d@vollmann.ch> <0f5c75f9e6a51cd1ad9eb1274bf93d9b310af2b2.camel@xry111.site> In-Reply-To: <0f5c75f9e6a51cd1ad9eb1274bf93d9b310af2b2.camel@xry111.site> From: Jonathan Wakely Date: Fri, 14 Jun 2024 18:59:32 +0100 Message-ID: Subject: Re: [PATCH] libstdc++: Fix build for AVR [PR115481, PR111639] To: Xi Ruoyao Cc: Detlef Vollmann , gcc Patches , "libstdc++" , gcc-bugzilla@gcc.gnu.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,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 Fri, 14 Jun 2024 at 18: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. Yes, please, if possible. But I can regenerate it locally before pushing if needed.