Bug#685134: Bug#684909: Bug#685134: [s390-tools] please add patch from qemu

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <20171019195340.2cviel74umfwyna6__2214.19035592607$1508443052$gmane$org@aurel32.net>
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
[email protected]                 http://www.aurel32.net
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAlnpAsQACgkQE4jA+Jno
M2ux8RAAg0EqSCxbREBds2OpKfo9nc4sTzDGjPHGnK1SSklp/MhPt78P4PL5xFgr
54a0R7Kn1TnTLb/EU/EYfloc1V9i8ER+uEt35ND2Pw79jUMBOfEWWwsD6Jw0waAb
XAKM8u3n2L4GpOSRCagncl57pTe7zD+vwQwaoU9T4iRXMpuCQJpH8cY5rywc7X4C
Yw4t1hwKe6oc+pk7fVBGVkzLIXHTMfB7rgfCUnZaI06cB4s+PiJ6y0MmFJDyIuJw
1dKXrmUW333nLpfKMGGFh5Cbf1Z+za4PoaJCRncPzx+uRna3yjIs/jGfO3KE+mz+
A2qdnIbZE7+lsMYYoXzLmdIRnRb+OitskZS1zIvwinteOJq+aL6TvBHNBFG4ur8S
MGDqMlI1VkDf7wylh4b11AfKIFWDobcApRV4wyi8CtvuxT/yVO2z43LEH0cne+qL
i0ZmyRuzFuRJgmjRj0W3LLQwxcCmXQjxsPsEaRTgSToRZvnZWq7hTLGubHolj8Z8
NNLXHsfGhLwHxh4usNlRCipyMQlVNeHRvlh/hwBw6S8fNtAIC57WihcxoljhF4oF
NsZLtcoR5UNYeWVWVeaPVWjetSSQYt4DK2t0O+FAEELG0CnAE8HGfiroXHo9AEJC
+VuEUiysAzfOfeeGKYjwqkE+cIXJA+0GlKM/sEKsGJ2WmIiAMns=
=eTw9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.