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
[email protected]

Reply via email to