From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id b2bkCo/yLWk19AwAWB0awg (envelope-from ) for ; Mon, 01 Dec 2025 14:54:55 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=BVMysqHj; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 1CF4F1E0B3; Mon, 01 Dec 2025 14:54:55 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 917A81E08D for ; Mon, 01 Dec 2025 14:54:54 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B73948FDB25 for ; Mon, 1 Dec 2025 19:54:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B73948FDB25 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=BVMysqHj Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 3363548FD399 for ; Mon, 1 Dec 2025 19:53:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3363548FD399 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3363548FD399 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764618789; cv=none; b=xlKaVk3r56ymj7AluawuMBoorXV9giflpaw1hmMS0HruuHS7CUOFylcjXFouOHM17Ki4VAFTT4yDdJ/ymYtnMdxZ+HzJlFmk+CDjsKum+nsKaZ1IxZaQMjFV0pREShimOf2CAWINLgRbwRhOIVv+epswSx8RE5Z/zcSOw1T4EF8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764618789; c=relaxed/simple; bh=NyZyr4wOVpxoZFa1aOP9X12Lp6VBLWU4nRuk+gn+Nsg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=u7lsiH8zO0DypnSKs8qyXvMDaomvK04BvKeGbEOnhmu8bW+JnAUXbLA8ji6Z8Rbncq3PH0HgWmqoGlnwvkOu71XSobfFpMJ30hFh0CiNeTI+IgvW8zxx0sJPGBqISZAO5i+8SK78pcIQJy5KxePZaYZJodp8dbMHta2U6pAgAfI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3363548FD399 Received: from eig-obgw-5007b.ext.cloudfilter.net ([10.0.29.167]) by cmsmtp with ESMTPS id Q9TnvvtVTKXDJQ9xNvGKwl; Mon, 01 Dec 2025 19:53:09 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id Q9xMvLZQkV6WMQ9xMvPFKH; Mon, 01 Dec 2025 19:53:08 +0000 X-Authority-Analysis: v=2.4 cv=E//Npbdl c=1 sm=1 tr=0 ts=692df224 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=wP3pNCr1ah4A:10 a=ItBw4LHWJt0A:10 a=CCpqsmhAAAAA:8 a=qw9rsOXyQBBr9oKCuiEA:9 a=ul9cdbp4aOFLsgKbc677:22 a=VS4QxaUSPT0UtbFnIvSC: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:Date:References:In-Reply-To :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=q6jJf/HWx20m/8jKLwFFm00XhgxHVAH/VAhpqu4fLAY=; b=BVMysqHj9qKPOLunj6zgK3kVFX zmJh7o2TGAL+SBfEJm3s5VoFXmICMclwRm4NNDpyjOsQclMdRNuIQmyFJSV01GeRw8CtuCQUTRvZ0 LlfyRPQkhx7vQh2DASlj3KzVi; Received: from 97-122-120-205.hlrn.qwest.net ([97.122.120.205]:33156 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vQ9xM-00000000Wng-0SSz; Mon, 01 Dec 2025 12:53:08 -0700 From: Tom Tromey To: Paul Smith via Gdb Cc: psmith@gnu.org Subject: Re: GDB 16.3: is it possible to cross-debug an x64 core from ARM? In-Reply-To: <2f8e6564c0110db9be7ed9b5ab78ee5c9349ca0a.camel@gnu.org> (Paul Smith via Gdb's message of "Mon, 01 Dec 2025 10:36:17 -0500") References: <2f8e6564c0110db9be7ed9b5ab78ee5c9349ca0a.camel@gnu.org> X-Attribution: Tom Date: Mon, 01 Dec 2025 12:53:07 -0700 Message-ID: <87ms429dy4.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 97.122.120.205 X-Source-L: No X-Exim-ID: 1vQ9xM-00000000Wng-0SSz X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-120-205.hlrn.qwest.net (bapiya) [97.122.120.205]:33156 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfETq4KDLEMnBJE1lssXND52W5wBz6fEAxYrxvZolRSyPsBt35Hn3NRxIsafyisQDEsX4tVlHB9NLtPmnp87+jWwRUoGfvGvPuZs8SP20A8RZee8MjxHT MC0xG6cJ0335ZIRotO6P3qsWqrNaslA+vBR1ZE+bh1Zb5V1AWAg8SbxwJLAKKUpi7aQA9M4L8X4AWg== X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" >>>>> "Paul" == Paul Smith via Gdb writes: Paul> But, if I try to build an aarch64 GDB (on an ARM system) that has Paul> support for debugging x86_64 core files, the build fails like this: Paul> $ ../gdb-6.3/configure ... --enable-targets=x86_64-linux-gnu Paul> ... Paul> $ make -j$(nprocs) Paul> ... Paul> make[2]: *** No rule to make target '../sim/aarch64/libsim.a', needed by 'gdb'. Stop. Either the sim should be auto-disabled when it isn't available for the port, or it should build and be linked in. So one way or another this is a bug. Is the sim code built for you? FWIW I normally use --enable-targets=all so I'm usually seeing all the sims be built (though only one can be linked in). A workaround for you would be to disable the sims, aka --disable-sim. However it would be better to find out what's really gone wrong. Tom