From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: 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 1jWxKV-0001nQ-Ug for ptxdist@pengutronix.de; Fri, 08 May 2020 09:21:55 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jWxKV-0002Ml-LX for ptxdist@pengutronix.de; Fri, 08 May 2020 09:21:55 +0200 Date: Fri, 8 May 2020 09:21:55 +0200 From: Michael Olbrich Message-ID: <20200508072155.GU25815@pengutronix.de> References: <875250869.383989.1588861137269@email.ionos.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <875250869.383989.1588861137269@email.ionos.de> Subject: Re: [ptxdist] Problem building OSELAS.Toolchain-2019.09.1 on system where it is already installed 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 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Thu, May 07, 2020 at 04:18:57PM +0200, Christoph G. Baumann wrote: > I ran into problems building a recent OSELAS toolchain on a system where > the same toolchain was already installed. > The previous installation was built using the same project with > ptxdist-2020.02.0 and OSELAS.Toolchain-2019.09.1. You should always use the correct PTXdist version to build the toolchain. In this case ptxdist-2019.09.0 > Now I wanted to change some minor things, build a new .deb and update my > installation. But it seems the build fails if a toolchain of the same > version and cross-target is already installed. After uninstalling the > previous .deb the build worked. > This is rather unfortunate as the toolchain build is intended to be done > on a CI system that also builds a ptxdist project using the systemwide > installed toolchain. > The build log piped through "grep failed" looks like this: > > " > ../Makerules:662: recipe for target '/var/lib/jenkins/workspace/Arm_Toolchain/Software/Toolchain/OSELAS.Toolchain-2019.09.1/platform-arm-v7a-linux-gnueabihf-gcc-9.2.1-glibc-2.30-binutils-2.32-kernel-5.4-sanitized/build-target/glibc-first-2.30-build/libc_pic.os.clean' failed > Makefile:259: recipe for target 'elf/subdir_lib' failed [...] " You didn't post enough. The actual error happend before that. > Is this a known problem? No. I've certainly built the toolchain on hosts where it is already installed. Is the compiler for the installed toolchain in your $PATH? That might make a difference. Regards, 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