Mark vx and vxe as important hwcap to be able to provide differently tuned shared libraries.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Canonical Foundations Team | ||
glibc (Ubuntu) |
Fix Released
|
Undecided
|
Skipper Bug Screeners |
Bug Description
Please pick the glibc commit "S390: Mark vx and vxe as important hwcap.". This commit is already cherry-picked to glibc 2.29 release branch: https:/
Note: This commit is also cherry-picked to glibc 2.27, 2.28 release branches.
This commit allows to have a library (e.g. libatlas) with different tunings, e.g. one with vx- and another one with vxe-instructions. With this patch, glibc chooses the "best" available version depending on the hwcaps reported by the kernel.
The correct locations for the different tuned libraries are:
-for z14 with vxe-support: /usr/lib/
-for z13 with vx-support: /usr/lib/
-for all without vector-support: /usr/lib/
As information:
One could also place the libraries into z13 or z14 subfolders. But e.g. if you run on a z13 and vector support is disabled (e.g. by specified kernel-parameter), the "z13" library with vector instructions is chosen - which is NOT allowed!
Contact Information =
---uname output---
Machine Type =
---Steps to Reproduce---
see "problem description"
Userspace tool common name: glibc
Userspace rpm: libc6
The userspace tool has the following bit modes: both
Userspace tool obtained from project website: na
*Additional Instructions for :
-Attach ltrace and strace of userspace application.
tags: | added: architecture-s39064 bugnameltc-176286 severity-medium targetmilestone-inin1904 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → glibc (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
importance: | Undecided → Medium |
tags: | added: id-5c93c113804f71397d34da01 |
Changed in glibc (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Just for completeness reasons - this ticket derived from discussions at LP 1814796.