On Sat, 20 Apr 2024 15:28:18 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
> On 20/04/24 at 15:39 +0300, Michael Tokarev wrote:
> > 20.04.2024 15:33, Lucas Nussbaum wrote:
> > [..]
> > > This is part of a mass rebuild, first building on arm64 and then on
> > > armhf and armel. So I'm not suggesting anything. :-)
> > 
> > Aha.
> > 
> > > Is this failing because the build is trying to build arch:all packages,
> > > that can only be built on amd64? If so, the bug severity could be
> > > lowered, clearly.
> > 
> > Well.  Yes, this is exactly the case.  qemu uses quite a few 
> > cross-compilers to
> > build various firmware components.  This is arch-all package 
> > qemu-system-data.
> > Most of these cross-compilers are available on x86 _only_, including the
> > mentioned gcc-powerpc64-linux-gnu.
> > 
> > I especially made these deps to be in Build-Depends-Indep only, - to be able
> > to (re)build qemu on non-x86 by using `apt --arch-only`.
> > 
> > I can't say this is a bug to begin with, - wrt lowering its severity.  If it
> > is a bug, it's a bug in gcc, not qemu (since it is gcc which does not 
> > provide
> > these cross-compilers on all architectures).  Or in the build environment.
> 
> Sure. The only reason for leaving a bug behind is that, if there had
> been a "FTBFS everywhere except amd64 when building arch-indep
> packages", I would have caught this and not filed this bug. wishlist +
> wontfix would be OK.
> 

Why not submit a bug to src:gcc-14-cross.
It should be easy to add ppc64 target on host arm64.

> Lucas
> 
>

Reply via email to