On 2017-10-19 16:31, Philipp Kern wrote: > On 10/19/2017 03:06 PM, Michael Tokarev wrote: > > Debian has much stricter policy wrt blobs (DFSG), > > and debian builds for more architectures (the firmware, > > if it is part of qemu-system-s390 package, needs to be > > built on all architectures where this binary package > > builts, or it needs to be a separate arch-all package). > > Note that the arch:all autobuilders are amd64. gcc-*-s390x-linux-gnu > exists in Debian, although only on i386 and amd64. I don't think there's > a policy today that precludes you from forcing users to build arch:all > on amd64 for technical reasons.
Indeed that's one option to build it, that's for example the solution chosen to build slof using gcc-powerpc64-linux-gnu. So far nobody complained it's buildable only on amd64, i386, ppc64el and x32. The other alternative is to build a cross-compiler using binutils-source and gcc-source (that requires that the none or elf os is supported for this architecture). This has the advantage of ignoring all the flags that debhelper tries to push that make a firmware to not build or break. That's the solution chosen for example for openbios. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
signature.asc
Description: PGP signature