From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 15 Jun 2021 14:08:35 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lt7rv-0006Wi-Ch for lore@lore.pengutronix.de; Tue, 15 Jun 2021 14:08:35 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lt7ru-00089H-U4; Tue, 15 Jun 2021 14:08:34 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt7rY-00088w-7B for ptxdist@pengutronix.de; Tue, 15 Jun 2021 14:08:12 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lt7rX-0000ba-Tt for ptxdist@pengutronix.de; Tue, 15 Jun 2021 14:08:11 +0200 Date: Tue, 15 Jun 2021 14:08:11 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210615120811.GO24573@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de References: <20210615061035.GD22020@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 14:06:41 up 117 days, 15:30, 118 users, load average: 0.12, 0.36, 0.26 User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] problem configuring python3 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Tue, Jun 15, 2021 at 07:16:32AM -0400, Jon Ringle wrote: > On Tue, Jun 15, 2021 at 2:11 AM Michael Olbrich > wrote: > > > On Mon, Jun 14, 2021 at 05:57:36PM -0400, Jon Ringle wrote: > > > It seems like I'm having a problem with python3.7m in sysroot-host trying > > > to use the host libm. I'm not sure if the issue is with ptxdist or with > > the > > > docker container image I use for building the ptxdist bsp. > > > > > > ----------------------- > > > target: python3.prepare > > > ----------------------- > > > > > > checking for git... found > > > checking build system type... x86_64-host-linux-gnu > > > checking host system type... arm-v5te-linux-gnueabi > > > checking for python3.7... python3.7 > > > checking for python interpreter for cross build... python3.7: > > > /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required > > > by /src/build/platform-ec1k/sysroot-host/bin/../lib/l > > > ibpython3.7m.so.1.0) > > > > This looks strange. I think it's trying to execute > > /src/build/platform-ec1k/sysroot-host/bin/python3.7 and fails. That should > > not happen. Can you execute that manually? > > For some reason the glibc that is used does not match the libm from your > > system. Maybe there is a version mismatch in the docker container? > > > > > I fails in the same way executing manually within a ptxdist bash shell: > [ptx] jringle@-arm-v5te-linux-gnueabi:~/build$ > /src/build/platform-ec1k/sysroot-host/bin/python3.7 > /src/build/platform-ec1k/sysroot-host/bin/python3.7: > /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required > by /src/build/platform-ec1k/sysroot-host/bin/../lib/libpython3 > .7m.so.1.0) What's the output of $ ldd /src/build/platform-ec1k/sysroot-host/bin/python3.7 $ ldd /usr/bin/python3.7 Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de