From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 2B1873858407 for ; Tue, 9 Jan 2024 19:05:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B1873858407 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 2B1873858407 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704827139; cv=none; b=WzPykkbuGYBjKpGVx3Ze+16kNd8tWIngveSUjQvp0rayfSpLEVhXahg5DsQAhRrL5RPeFlZKVk05IUQ42yLOVWKqo3N4QxNcBjjUJgvIATe7LCSw613VdewFOP65j7DvU9diXOn37xf6JvljCFtFGazOF5rvVt+RdOFWN2kvi4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704827139; c=relaxed/simple; bh=a+qVnTXUZti/dUUb4i0VUwuuSCmga3I+2/zUbFRz5KM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xhhZ2MqtNaOMakWsaohsIJw7yy7/pr9ihJgJWJeXAKe4JJh9EDHs/FvuraEPrsBwoBhujw10RRU9k4X6Jlnme/0DJ9GEex6DWNJGGf1qEQVx6DcJFuv8FFJ9m8H07JtGRghWCL4OzHILS5TNDypxOtM2ZIG0oDJW6rTTP4wh5YE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5007a.ext.cloudfilter.net ([10.0.29.141]) by cmsmtp with ESMTPS id N9q2rrFmooMN9NHPsr23d7; Tue, 09 Jan 2024 19:05:36 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id NHPrrXrghPwzWNHPrr63RS; Tue, 09 Jan 2024 19:05:35 +0000 X-Authority-Analysis: v=2.4 cv=T8yf8tGQ c=1 sm=1 tr=0 ts=659d98ff a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=dEuoMetlWLkA:10 a=Qbun_eYptAEA:10 a=WyovdermsPuxBVSvBgUA:9 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=yPeF9cFs5SVvI53339NSlCJ6+pQtoghrHGQFP8/P1nU=; b=CRTODhfT1+PH0BfTrNOAwIJWVz o/7JMo54j7ZPBIKfaUi7azlsaSx4WIMxkNZkfGA8lRiJkwXuTpN4YNYRfDI61NRx6c3DUtbdat3Ht OW5QOrRYnKHJVowLBB8tiVifv; Received: from 97-122-68-157.hlrn.qwest.net ([97.122.68.157]:39686 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rNHPq-001xP3-2T; Tue, 09 Jan 2024 12:05:34 -0700 From: Tom Tromey To: Mike Frysinger Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH/submitted 01/10] sim: ppc: move long long test to top-level References: <20240102053639.28290-1-vapier@gentoo.org> <87edeqwp8t.fsf@tromey.com> X-Attribution: Tom Date: Tue, 09 Jan 2024 12:05:34 -0700 In-Reply-To: (Mike Frysinger's message of "Tue, 9 Jan 2024 12:50:16 -0500") Message-ID: <875y02uy2p.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (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: 97.122.68.157 X-Source-L: No X-Exim-ID: 1rNHPq-001xP3-2T X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-68-157.hlrn.qwest.net (murgatroyd) [97.122.68.157]:39686 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfOdbAz/qZEE6JoQvncjR7Ibpxpj7u8fs0BojH/h1wiijcFPlUClaIzspeU5z8a1FhPii8unqyiYdItOne72F2BCrYFPzTHzVg6JdSQPpP04R5026ZGVi IgAjjR+8oaTpqCdN0qQqlnc9+DXuNTOkUNAEA6xzc1GWHN+N8Mm9eCYv4O/PjPg3UJ5YWruCKjY+bbpWCbUYMacaTPUuQvFl3uI= X-Spam-Status: No, score=-3016.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >> FWIW gdb solves this problem with gdb/libiberty.m4. Really this is >> something that should be provided or fixed in a better way by libiberty. Mike> in the mean time, seems like this file should get moved to gdbsupport/ since Mike> gdb, gdbserver, and gdbsupport all rely on it ? then it'd be more reasonable Mike> for sim to include that directly. It's fine by me. Mike> thinking beyond that, config/acinclude.m4 has CYG_AC_PATH_LIBERTY, but no one Mike> seems to be using that. should we add config/libiberty.m4 and move all this Mike> logic there ? and prob have it take care of exporting a LIBIBERTY_LIB var ? You'd probably want to open this discussion on gcc-patches. I tend to think if bigger changes are being made here, then my preferences would be: 1. Just avoid using any configure results in libiberty header files, perhaps by relying on more recent standard features. 2. Have libiberty namespace its configure results (i.e., rename them from the generic HAVE_* to LIBIBERTY_* or whatever) and provide / install a "libiberty-config.h". 3. What we have now, to me clearly the worst solution of the bunch. Tom