From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B3B5383F970; Thu, 30 Jun 2022 17:48:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B3B5383F970 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug build/29308] [gdb/build] python 3.10 problems Date: Thu, 30 Jun 2022 17:48:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2022 17:48:12 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29308 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simark at simark dot ca --- Comment #1 from Simon Marchi --- Why do we ship our own python-config.py? We could maybe rely on the python-config scripts shipped with Python installations. I guess that python-config scripts were maybe not always there in the past? We would append `-config` to the python executable. Since you passed --with-python=3Dpython3, it means python3 is in your PATH, so python3-config should also exist in your PATH. My guess is that since python-config scripts are now shell scripts, they ca= n be executed on the build machine even cross-compiling. So maybe it would simp= lify the case described here: https://sourceware.org/gdb/wiki/CrossCompilingWithPythonSupport Not sure. --=20 You are receiving this mail because: You are on the CC list for the bug.=