Bug#875618: openblas: please enable build on s390x

Sébastien Villemot <[email protected]>
Newsgroups gmane.linux.debian.alioth.science-maintainers,gmane.linux.debian.ports.s390
Message-ID <[email protected]>
[CC’ing the [email protected] list; s390 folks, please keep the bug
in CC on replies]

Dear Graham,

On Tue, Sep 12, 2017 at 07:28:04PM +0200, Graham Inggs wrote:
> Source: openblas
> Version: 0.2.20+ds-1
> Severity: wishlist

> From Changelog.txt in OpenBLAS 0.2.20:
> 
> IBM Z: * New target z13 with BLAS3 optimizations
> 
> I have just checked, and openblas/0.2.20-3 builds successfully on
> zelenka.debian.org.
> Please enable building on s390x.

Unfortunately it does not look that simple. OpenBLAS is optimized for z13, but
our s390x port is supposed to support all the z systems (see [1]).

In particular, the OpenBLAS build system adds the "-march=z13 -mzvector"
compilation flags. If I remove them, then the package fails to build on
zelenka: it complains about unknown assembly instructions, which are not
present on old z-systems. This is the proof that OpenBLAS cannot produce a
binary generic enough for our s390x port.

So unless I am missing something, it’s not possible to enable building for
s390x until 1) OpenBLAS supports older z-systems or 2) the hardware
requirements for the Debian s390x port are upgraded.

Best,

[1] https://www.debian.org/releases/stable/s390x/ch02s01.html.en#idm45373715987328

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlm5kN0ACgkQLOzpNQ7O
vkot6Q//crkwkmwqY0sDYJUSxBDlrNN+xHHG/vnIvCJgT6lp+g0Q74Sn5VHLi2/K
7lFA1AyKfBlU0WC7F7u56mCd4nWbEGFpx9sK6ZIoequUT47hugD/UdciZpuw0Atx
C+ksb2umBztSYwnYSHSNr9emBPr8XMpcBvIWms95ys0NqN8vPQYEkvo4DgeiLuzg
DdlL9JKl32FfKVgW30T5YJQ6Y7+UkqM+9dplr660MDW6WMORSkZ2Ny8nNMfr384A
2v6VrSFY10Q1mwNQFbYwUVM/+jsYBN+UjKr1I15R8FeaL3bTrQfquZTV5LBoYT+T
ADuu8rb1WrHKVG1TxlD3pLSUJdPqFgXM4Ci0JgTw7YhLTputjfnl9z7CSSCChBN0
zouKQFFnTQyaV1cB0U9X+NlFyedLQWUBfZf1b+Pp0tR+iZjw4Z3t8dDCpeJZjPHq
VL8f9CFfrjZT7McaAPrRbfhID08ClABh+K5LjJaYP3+OqZF/cEDAYMI243U72RTw
oV/7PywrvyYiZq03MBoZiULzjMAiA265mnrTFcnb6A4EJYEkTeBml3Or38yeN1oQ
VKY4QFyMQcfJGSIltIBWhD/sSOSx6NArt2FMZXPHQpwVi7VpPfi3oVm3geBbukPJ
Adv9i2S084B4hffv7u2QspJqqcnHyk18fO3oV0yYmY8yOxPv2Y8=
=Vafx
-----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.