gmp z13 config fails with illegal instructions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
bugproxy | ||
gmp (Ubuntu) |
Fix Released
|
Medium
|
Frank Heimes |
Bug Description
seen with
https:/
Note, that MPN_PATH is now unset in 2:6.3.0+
[...]
../../.
FAIL: t-hamdist
PASS: t-oddeven
../../.
FAIL: t-popcount
PASS: t-set_f
PASS: t-io_raw
PASS: t-import
PASS: t-export
PASS: t-pprime_p
../../.
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/
Please report to <email address hidden> (see https:/
Changed in gmp (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntu-z-systems: | |
assignee: | nobody → bugproxy (bugproxy) |
status: | New → Confirmed |
tags: | added: s390x |
tags: | added: reverse-proxy-bugzilla |
tags: | added: architecture-s39064 bugnameltc-203320 severity-critical targetmilestone-inin--- |
Changed in ubuntu-z-systems: | |
status: | Confirmed → In Progress |
Changed in gmp (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Frank Heimes (fheimes) |
importance: | Undecided → Medium |
Changed in ubuntu-z-systems: | |
importance: | Undecided → High |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in gmp (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: |
added: targetmilestone-inin2310 removed: targetmilestone-inin--- |
------- Comment From <email address hidden> 2023-08-03 10:39 EDT------- 0+dfsg- 2ubuntu2.
I've reproduced those FAILs when running on z13 with gmp_6.3.
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: /gmplib. org/list- archives/ gmp-devel/ 2023-August/ 006198. html /gmplib. org/repo/ gmp/rev/ 372acfd0c33e
'Revert "Move popcount and hamdist back from z14 to z13 after needed edits."'
https:/
and Torbj?rn has already committed it:
https:/
With this patch applied, gmp_6.3. 0+dfsg- 2ubuntu2 builds without test-suite-fails on z13.