[Bug 2029438] Re: gmp z13 config fails with illegal instructions

bugproxy 2029438 at bugs.launchpad.net
Thu Aug 3 14:49:54 UTC 2023


------- Comment From STLI at de.ibm.com 2023-08-03 10:39 EDT-------
I've reproduced those FAILs when running on z13 with gmp_6.3.0+dfsg-2ubuntu2.

Unfortunately not only the extended mnemonics for vpopct are not
available with z13, but also vpopct M3=1-3 is reserved. Thus you'll get
an illegal-instruction if run on z13 as vector enhancement facility 1
(introduced with z14) is not available.

I've already send the obvious fix to the gmp-mailing-list:
'Revert "Move popcount and hamdist back from z14 to z13 after needed edits."'
https://gmplib.org/list-archives/gmp-devel/2023-August/006198.html
and Torbj?rn has already committed it:
https://gmplib.org/repo/gmp/rev/372acfd0c33e

With this patch applied, gmp_6.3.0+dfsg-2ubuntu2 builds without test-
suite-fails on z13.

** Tags added: architecture-s39064 bugnameltc-203320 severity-critical
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gmp in Ubuntu.
https://bugs.launchpad.net/bugs/2029438

Title:
  gmp z13 config fails with illegal instructions

Status in Ubuntu on IBM z Systems:
  Confirmed
Status in gmp package in Ubuntu:
  Confirmed

Bug description:
  seen with 
  https://launchpad.net/ubuntu/+source/gmp/2:6.3.0+dfsg-2ubuntu2/+build/26470068

  Note, that MPN_PATH is now unset in 2:6.3.0+dfsg-2ubuntu3

  [...]
  ../../../test-driver: line 112: 76812 Illegal instruction     (core dumped) "$@" >> "$log_file" 2>&1
  FAIL: t-hamdist
  PASS: t-oddeven
  ../../../test-driver: line 112: 76824 Illegal instruction     (core dumped) "$@" >> "$log_file" 2>&1
  FAIL: t-popcount
  PASS: t-set_f
  PASS: t-io_raw
  PASS: t-import
  PASS: t-export
  PASS: t-pprime_p
  ../../../test-driver: line 112: 76856 Illegal instruction     (core dumped) "$@" >> "$log_file" 2>&1
  FAIL: t-nextprime
  PASS: t-remove
  PASS: t-limbs
  ============================================================================
  Testsuite summary for GNU MP 6.3.0
  ============================================================================
  # TOTAL: 64
  # PASS:  57
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  7
  # XPASS: 0
  # ERROR: 0
  ============================================================================
  See tests/mpz/test-suite.log
  Please report to gmp-bugs at gmplib.org (see https://gmplib.org/manual/Reporting-Bugs.html)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2029438/+subscriptions




More information about the foundations-bugs mailing list