mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Problem building OSELAS.Toolchain-2019.09.1 on system where it is already installed
Date: Fri, 8 May 2020 09:21:55 +0200	[thread overview]
Message-ID: <20200508072155.GU25815@pengutronix.de> (raw)
In-Reply-To: <875250869.383989.1588861137269@email.ionos.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

      reply	other threads:[~2020-05-08  7:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 14:18 Christoph G. Baumann
2020-05-08  7:21 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200508072155.GU25815@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox