From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id RaHsKCpXm2GBaQAAWB0awg (envelope-from ) for ; Mon, 22 Nov 2021 03:39:06 -0500 Received: by simark.ca (Postfix, from userid 112) id 86C8D1F0CE; Mon, 22 Nov 2021 03:39:06 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 709901ECEB for ; Mon, 22 Nov 2021 03:39:05 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F9C63858422 for ; Mon, 22 Nov 2021 08:39:04 +0000 (GMT) Received: from forward4-smtp.messagingengine.com (forward4-smtp.messagingengine.com [66.111.4.238]) by sourceware.org (Postfix) with ESMTPS id DC7BC385800A for ; Mon, 22 Nov 2021 08:38:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DC7BC385800A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pld-linux.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=pld-linux.org Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id DDDAF19400CB; Mon, 22 Nov 2021 03:38:44 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 22 Nov 2021 03:38:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=l3qEDs UcSGvBBJASk8v3jtwZBTSELRFE1/e3bArnQKQ=; b=GEW3agCTGntj1sjMzMbynB Ex8c8HmOKaEFL7iK0RTNkczICNORgz/ACQhytBfxHsV/YivKWGPwD9aOK95PNF/j +lbEvH8PwqaO4qSGcXunsa/Y6g7g9OuTCqE9r4LBlZHAG2yPC78UMscQjweFB4Zh 3uWB75hCLKHQpeAVHALXGliQz07gZlUhcAf7y1El7tWnzX5Mk20fOhpHNmrorYU+ tJujsf6AnLt7Ur+8jrrTxQ+HF7lc9JGio4ciYxIZrpAXbn3FjqNTtdzjOaeikAYo igdrsGKFIcvbQAZnr9M+ds5HSPKHktiYmcgkqARoNBbYOWUXPCotqySI/bAQ0hVw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrgeefgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesthdtredttderjeenucfhrhhomheplfgrnhcu rfgrlhhushcuoegrthhlvghrsehplhguqdhlihhnuhigrdhorhhgqeenucggtffrrghtth gvrhhnpeelteevtefgkedtudejueevudellefgffdtjeelvdeiffdvkedvkeffheehhfeh veenucffohhmrghinhepshhouhhrtggvfigrrhgvrdhorhhgpdhplhguqdhlihhnuhigrd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep rghtlhgvrhesphhlugdqlhhinhhugidrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Nov 2021 03:38:44 -0500 (EST) Date: Mon, 22 Nov 2021 09:38:42 +0100 From: Jan Palus To: Tom de Vries Subject: Re: Build failure on x32 (gdb 11.1) Message-ID: <20211122083842.zhqyr2r73lkvahdh@pine> References: <20211121194556.nreowfixabal5ebj@pine> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20211029 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "gdb-patches@sourceware.org" Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 22.11.2021 07:46, Tom de Vries wrote: > On 11/21/21 8:45 PM, Jan Palus wrote: > > gdb 11.1 fails during compilation on x32 ABI: > > > > ../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:280:42: error: 'struct compat_x32_siginfo_t::::' has no member named 'si_addr_bnd' > > 280 | #define cpt_si_lower _sifields._sigfault.si_addr_bnd._lower > > | ^~~~~~~~~~~ > > ../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:337:38: note: in expansion of macro 'cpt_si_lower' > > 337 | to->cpt_si_lower = from_ptrace.cpt_si_lower; > > | ^~~~~~~~~~~~ > > ../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:281:42: error: 'struct compat_x32_siginfo_t::::' has no member named 'si_addr_bnd' > > 281 | #define cpt_si_upper _sifields._sigfault.si_addr_bnd._upper > > | ^~~~~~~~~~~ > > ../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:338:38: note: in expansion of macro 'cpt_si_upper' > > 338 | to->cpt_si_upper = from_ptrace.cpt_si_upper; > > | ^~~~~~~~~~~~ > > > > I believe it is caused by https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=d3d7d1b > > Hi, > > I've attached a conservative fix, can you check whether that fixes the > build breaker? Thanks. That's essentially the same fix as the temporary workaround I came up with: http://git.pld-linux.org/?p=packages/gdb.git;a=commitdiff;h=9f79cb7 and can confirm that it fixes the failure and build is successful on x32. > > Thanks, > - Tom