From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id 5D6CD3858D3C for ; Tue, 12 Sep 2023 16:07:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D6CD3858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from eig-obgw-5010a.ext.cloudfilter.net ([10.0.29.199]) by cmsmtp with ESMTP id g4H0q5mfqWU1cg5vcqwKYi; Tue, 12 Sep 2023 16:07:52 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id g5vaq6FFWpnJOg5vbqqjRe; Tue, 12 Sep 2023 16:07:51 +0000 X-Authority-Analysis: v=2.4 cv=Ic2U5Ema c=1 sm=1 tr=0 ts=65008cd7 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=zNV7Rl7Rt7sA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=-XIvXvHd-mKQcxuonHUA:9 a=zgiPjhLxNE0A:10 a=ul9cdbp4aOFLsgKbc677:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YiThDgltslNUV8UUn/2bVGiPdS6KCAb52huOUOPePmk=; b=VCK/1FjgIIC3pH2MqnxC9P2vRb QId1vLLTEsvkigaR94UNqlsIRyL1M9B54LfXXu4MdUpL5Dwjw/0VgQ3oB2cRyhd5JWdxXj14jKapC RXbgdJS5eQFRnp0qS8E4ydpbu; Received: from 71-211-130-31.hlrn.qwest.net ([71.211.130.31]:36192 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qg5va-001loq-24; Tue, 12 Sep 2023 10:07:50 -0600 From: Tom Tromey To: Kevin Buettner via Gdb-patches Cc: Kevin Buettner Subject: Re: [PATCH] Throw error when creating an overly large gdb-index file References: <20230909025521.3128935-2-kevinb@redhat.com> X-Attribution: Tom Date: Tue, 12 Sep 2023 10:07:49 -0600 In-Reply-To: <20230909025521.3128935-2-kevinb@redhat.com> (Kevin Buettner via Gdb-patches's message of "Fri, 8 Sep 2023 19:55:22 -0700") Message-ID: <87o7i7jrxm.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.130.31 X-Source-L: No X-Exim-ID: 1qg5va-001loq-24 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-130-31.hlrn.qwest.net (murgatroyd) [71.211.130.31]:36192 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfAvjRjdWNx+w0zLGtDoUdjWYxXUu/2SRFxsKv3rQfobLbAlbCzJ1YbHsIKWXcjIWj3JKD3KAnGcsiH7faqZ6ApsvYMkSSY0pa2a1+ev4S83g5uxEmd/M dZpw+vdy3cn7wKjWmNpA5ZgMapjkl/6MRpKY9phlw2Re+5C1FSg2o26yOG2PWLpJmRPnp2hBhFiWIvBpfjr2FmuBhW3jj7wVGUQ= X-Spam-Status: No, score=-3019.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,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: >>>>> "Kevin" == Kevin Buettner via Gdb-patches writes: Kevin> The header in a .gdb_index section uses 32-bit unsigned offsets to Kevin> refer to other areas of the section. Thus, there is a size limit of Kevin> 2^32-1 which is currently unaccounted for by GDB's code for outputting Kevin> these sections. ... Kevin> This commit prevents the internal error from occurring by calling error() Kevin> when the file size exceeds 2^32-1. I don't have a problem with this but... why is the section too long? I wonder if this is covering up some other bug, like maybe not enough symbol de-duplication. Tom