From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id bN1DKQ0NGGdyQRcAWB0awg (envelope-from ) for ; Tue, 22 Oct 2024 16:37:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1729629453; bh=1HrpWhxC+aW3ibJyDSarLDrahbdPvFxoIUPmP8cX8ao=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=vkN0smY2NZ9qqf4r0OE3grj+8dvX3oLgHdVE+zUQpXvDrzH0ycKpN59yAlKGi7Y+j Tr7knsBBGprDt/RFSknA9ZXR2VRKkv69OPfl0DCBOMlxBjOCsXmARggjKxoAkYIa4H gDfLyFNuIZqsXiZfOEfUmq2+LG/8zbUKtbAbJc9A= Received: by simark.ca (Postfix, from userid 112) id 7DA8D1E0BB; Tue, 22 Oct 2024 16:37:33 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS autolearn=unavailable autolearn_force=no version=4.0.0 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=a9WCqeHl; dkim=pass (1024-bit key) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=ugHmDHgE; dkim-atps=neutral Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 099BF1E05C for ; Tue, 22 Oct 2024 16:37:33 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 95DCB3858C51 for ; Tue, 22 Oct 2024 20:37:32 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 623FE3858CD1 for ; Tue, 22 Oct 2024 20:37:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 623FE3858CD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 623FE3858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729629432; cv=none; b=FkqA9NJlh6NiXOMPbYwt8jEZ4in09YQAS+GJl9Rs17rngaQO8MJXKNM/AYH+THgLgeFowVNQC6gkLOt+8qcTv0G3ZpA17MA0Am2DGxfO5gEp79WlVrh8e8Mc4z/8UVvOGirTq222K7aJWZ4oxdUR4WhT4Fz1q8pYI0sVzLZdH3c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729629432; c=relaxed/simple; bh=1HrpWhxC+aW3ibJyDSarLDrahbdPvFxoIUPmP8cX8ao=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:MIME-Version: Subject:To:From; b=jjZSQLixfpK+B1UpJiEJjuAfSNHz8NTqkNr4WOG7ZEmHAlCYuiTx0vOXZEGIk15UHjLuenzJXd+hisq9HKml1hzHeT7L2AjN2JC8ACbEe6UdAVnCEzm1S3Nfzoib1yE+Cd5MdhxYZg5ZjvaP8SAacFwxKT8LYGHcnY9htdulsKE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1729629430; bh=1HrpWhxC+aW3ibJyDSarLDrahbdPvFxoIUPmP8cX8ao=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=a9WCqeHlFvIWWr48WXbEDmgbryjFIfLkhYpBAd094W9eT6DHvPYSYBxN3VBKDScAP ozAx2sG0U62vf7MFm8rYdQsWVfBzbHKgnW+e47Oz7nI4Wm1B7BmVOkr5xm4lMRFtpq ZTCEO6o1zG/3H4Vz4IMLy3S2RTII4FWkdtYj9yt8= Received: by simark.ca (Postfix, from userid 112) id 01C5B1E356; Tue, 22 Oct 2024 16:37:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1729629428; bh=1HrpWhxC+aW3ibJyDSarLDrahbdPvFxoIUPmP8cX8ao=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ugHmDHgEDIqhGXiitnto1ZnWIuZWMyNlMdwRYoKbvoJ0JfK9dB9gRgxGIu0AbZGn0 cT/JDuLjfMbHY8OYT8Fag6INHJBUCD/6lxO9kwqz4qH1lnIhXlSN5sVncWpdMvf/14 X1x1PcgsTHlCNnqSDkn+4OwNxK+UngDPDkQHpfEc= Received: from [10.0.0.11] (modemcable238.237-201-24.mc.videotron.ca [24.201.237.238]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id E12231E05C; Tue, 22 Oct 2024 16:37:07 -0400 (EDT) Message-ID: <9f436087-d5c5-449a-b80c-da896989fc4e@simark.ca> Date: Tue, 22 Oct 2024 16:37:07 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fix compile error due to [[noreturn]] with clang To: Andreas Schwab Cc: Guinevere Larsen , Andrew Oates , gdb-patches@sourceware.org References: <20241020180001.67425-1-andrew@andrewoates.com> <87ed476gah.fsf@igel.home> Content-Language: en-US From: Simon Marchi In-Reply-To: <87ed476gah.fsf@igel.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 2024-10-22 16:20, Andreas Schwab wrote: > On Okt 22 2024, Simon Marchi wrote: > >> So, I can't reproduce the build failure when configuring with >> `--enable-targets=all --enable-sim`. It looks like remote-sim.o doesn't >> get built, which is odd given that the simulator is enabled. Sounds >> like a bug? > > It's only enabled for the main gdb target. > But nowadays, --enable-targets=all builds the sim for all targets (that have a sim), not only the main target. Would it be possible to build remote-sim.o in that case, and use the simulator for any target, from a single --enable-targets=all gdb build? Simon