mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Problem building OSELAS.Toolchain-2019.09.1 on system where it is already installed
@ 2020-05-07 14:18 Christoph G. Baumann
  2020-05-08  7:21 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph G. Baumann @ 2020-05-07 14:18 UTC (permalink / raw)
  To: ptxdist

Hello,

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.
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
Makefile:9: recipe for target 'all' failed
/var/lib/jenkins/workspace/Arm_Toolchain/Software/ptxdist-2020.02.0/rules/post/ptxd_make_world_compile.make:19: 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/state/glibc-first.compile' failed
../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
Makefile:9: recipe for target 'all' failed
/var/lib/jenkins/workspace/Arm_Toolchain/Software/ptxdist-2020.02.0/rules/post/ptxd_make_world_compile.make:19: 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/state/glibc-first.compile' failed
build_all_v2.mk:46: recipe for target 'gstate/arm-v7a-linux-gnueabihf-gcc-9.2.1-glibc-2.30-binutils-2.32-kernel-5.4-sanitized.build' failed
"

Is this a known problem?

Regards,
Christoph

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] Problem building OSELAS.Toolchain-2019.09.1 on system where it is already installed
  2020-05-07 14:18 [ptxdist] Problem building OSELAS.Toolchain-2019.09.1 on system where it is already installed Christoph G. Baumann
@ 2020-05-08  7:21 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-05-08  7:21 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-08  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 14:18 [ptxdist] Problem building OSELAS.Toolchain-2019.09.1 on system where it is already installed Christoph G. Baumann
2020-05-08  7:21 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox