From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 655C23858C2A for ; Thu, 18 Jan 2024 20:36:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 655C23858C2A 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 655C23858C2A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705610177; cv=none; b=XGmVi9QBEsl7eLwqUzfmzzWChI2ftdrTOoTjtVso+ZCapcLudgWZFZ4zZET5AQWDZhSz62p/btAu/js6xxvPFD6TCv6p5qMxzDKhRvTqjeOR/i82OgJkfsM9SiHX5AuESWNeV9kgTf1X7j4D7lDY5ugWTYAkCMcKzf1Rj+ssMJo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705610177; c=relaxed/simple; bh=hoQuxX3N4BGPym3OFHHErT+Spag2fr8FVdCuK4oX8mY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=stAc7zqrQWl1UM2arYeb1aN//4TmvfnOLtam4YQpyP6rjtkQ3VARM6xb22Alfwz29edC4Zh5n1cLNW60+Hktb+YQkbfTCuw5KBcL8h4TPddEffoP9IopyfM4EkrSvikn7RS1PLbmZoLO8wZ6LLc9PlnMkbn1dY2VTNlBlTvxcwk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6009a.ext.cloudfilter.net ([10.0.30.184]) by cmsmtp with ESMTPS id QWGYrNEGWMVQiQZ7RrEeba; Thu, 18 Jan 2024 20:36:09 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id QZ7Qr2KrvjqQkQZ7Qr1ctf; Thu, 18 Jan 2024 20:36:08 +0000 X-Authority-Analysis: v=2.4 cv=A7F/goaG c=1 sm=1 tr=0 ts=65a98bb8 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=dEuoMetlWLkA:10 a=Qbun_eYptAEA:10 a=noYSPpMXJuecTFca5ncA: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=Dg60DD2yoImuckC20jcbmxKJsdAeX9Ug6YzzmYeG4Hs=; b=tlmGzbREU/aGlI+e4ETJTj/czR 0oONNUAQ8kKfUlrnRBMmZT1ectoQo7WCFOGIkivWd4c87kLyWJA3mojYKP3oekxObg+1iUFR+T10w q1w0iIYoOxJJtnQY8fZilh0Wc; Received: from 97-122-68-157.hlrn.qwest.net ([97.122.68.157]:48124 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rQZ7Q-002GKM-0L; Thu, 18 Jan 2024 13:36:08 -0700 From: Tom Tromey To: Andrew Burgess Cc: Tom Tromey , gdb-patches@sourceware.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Pass GUILE down to subdirectories References: <20231230212103.973170-1-tom@tromey.com> <87edel79f6.fsf@redhat.com> X-Attribution: Tom Date: Thu, 18 Jan 2024 13:36:06 -0700 In-Reply-To: <87edel79f6.fsf@redhat.com> (Andrew Burgess's message of "Sat, 13 Jan 2024 11:35:41 +0000") Message-ID: <87a5p2xtu1.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 - gcc.gnu.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: 1rQZ7Q-002GKM-0L X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-68-157.hlrn.qwest.net (prentzel) [97.122.68.157]:48124 X-Source-Auth: tom+tromey.com X-Email-Count: 36 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPF0GIZGffcyW/Qqj82h/J3ybBcQ7BZofEVmzZUxSdH2DDMRfXeyO5pHTCy3VgCYJ6uIBHZl8jXIockRiKBvrRwew0Sq+PE51HyRw40IAPzM8er5UAPt ilkAAppxrhlFj37MJfHVL6r08o78YdCEePL4fwif+b/2J4heZr1qgvlaMI2OncD7xWMKmjTjiliFi19ltQAdRbRPgqWTklfAKOY= X-Spam-Status: No, score=-3016.7 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: Andrew> This change is causing some problems for me. Yeah, Tom de Vries as well. Andrew> One of my build machines has 2 versions of guile installed. One is Andrew> guile 2.0.14 and the other is guile 2.2.21. Andrew> When GDB configures itself the configure script figures out that it Andrew> should use 2.2.21 to compile the guile libraries that GDB uses. Andrew> However, when we actually build the guile libraries we do use guild2.2, Andrew> but due to this 'GUILE = guile' line, guild2.2 uses guile 2.0.14 in Andrew> order to perform the compile (I guess, I don't know the details of how Andrew> guile compilation works). Andrew> Unfortunately guile 2.0.14 compiles in a way which is not compatible Andrew> with how GDB then tries to load the guile library. I consider this a bug in guile -- it installs 'guild' with this: #!/usr/bin/sh # -*- scheme -*- exec ${GUILE:-/usr/bin/guile2.2} $GUILE_FLAGS -e '(@@ (guild) main)' -s "$0" "$@" !# Allowing a system script to pick $GUILE here seems weird, especially for a versioned install of "guild", where as you can see it already knows the correct guile to use. However -- I think it's better to just work around this. I plan to back out this change. Anyone needing to re-run cgen (which itself ought to come with smarts here, but since it is un-maintained...) can just specify this by hand. I.e., the status quo ante. I'll try to send a patch tomorrow. Tom