[Bug 2108997] Re: [UBUNTU 22.04] GDB: Internal binutils code requires updates made for IBM z17 in binutils already
Frank Heimes
2108997 at bugs.launchpad.net
Tue May 27 17:06:29 UTC 2025
Test builds (that incl. tests) are available in this PPA:
https://launchpad.net/~fheimes/+archive/ubuntu/test/
** Description changed:
+ SRU Justification:
+
+ [ Impact ]
+
+ * This is a hardware enablement SRU.
+
+ * It introduces support for the new IBM z17 hardware to binutils.
+
+ * Some Ubuntu releases (like plucky) have already 'anonymous' support
+ for in terms of 'arch-15', other Ubuntu releases have no 'arch-15' nor
+ z17 support at all and require two more patches.
+
+ * Without this binutils not not aware about the new z17 hardware generation
+ and it's opcodes etc.
+
+ [ Fix ]
+
+ * a3f1e7c56a60573562e8578ae8b675ec1f4448e7 - "s390: Simplify (dis)assembly of insn operands with const bits" (pre-req.)
+
+ * a98a6fa2d8ef5eb61534b07db80850dcdf07bdb4 - "s390: Add arch15 instructions" (pre-req.)
+
+ * 981fe5fd80faf511aa265e841a380c9b46be30e6 - "390: Add support for z17 as CPU name"
+
+ [ Test Plan ]
+
+ [Test Plan]
+
+ * Check if the same (proper) opcodes are detected on an IBM z17
+ system with and without the patch.
+ Since the identification and name of a z17 system was added.
+
+ * Or the simplest test is probably to check
+ (after having 'binutils' installed on an
+ Ubuntu Server 25.04, 24.10 or 24.04 s390x system)
+ if not only:
+ 'as -m64 -march=arch15 --target-help'
+ but especially also:
+ 'as -m64 -march=z17 --target-help'
+ succeeds and leads to the same output.
+ (As it does for '-march=arch14' and '-march=z16'.)
+
+ * Due to the lack of hardware this needs to be tested at IBM.
+
+ [ Where problems could occur ]
+
+ * The new name could be wrong, or the name could be accidentally
+ mapped to the wrong internal arch.
+ (The test case above will allow to identify this by comparing the output.)
+
+ * The two pre-required patches could cause harm - the simplification
+ and the introduction of the internal arch-15 itself.
+ These are only needed for oracular and older,
+ and are included in binutils for a while.
+
+ * Other architectures are not touched and affected, since only s390x
+ specific files are modified (except the doc file as/doc/as.texi on top).
+
+ [ Other Info ]
+
+ * binutils maintainer (doko) told me that binutils for questing
+ will be updated anyway to latest release/snapshot,
+ so nothing to do for questing in this LP bug (and set to Invalid).
+ __________
+
With IBM having announced the new IBM z17, Ubuntu 22.04 and 24.04 should
be enabled to run properly on the latest s390x hardware.
While plucky has already the required patches included, please backport
to noble and jammy the GNU Binutils mainline commit 981fe5fd80fa ("s390:
Add support for z17 as CPU name"), which adds the real CPU name "z17" as
alternative for "arch15".
** Description changed:
SRU Justification:
[ Impact ]
- * This is a hardware enablement SRU.
-
- * It introduces support for the new IBM z17 hardware to binutils.
-
- * Some Ubuntu releases (like plucky) have already 'anonymous' support
- for in terms of 'arch-15', other Ubuntu releases have no 'arch-15' nor
- z17 support at all and require two more patches.
-
- * Without this binutils not not aware about the new z17 hardware generation
- and it's opcodes etc.
+ * This is a hardware enablement SRU.
+
+ * It introduces support for the new IBM z17 hardware to binutils.
+
+ * Some Ubuntu releases (like plucky) have already 'anonymous' support
+ for in terms of 'arch-15', other Ubuntu releases have no 'arch-15' nor
+ z17 support at all and require two more patches.
+
+ * Without this binutils not not aware about the new z17 hardware generation
+ and it's opcodes etc.
[ Fix ]
- * a3f1e7c56a60573562e8578ae8b675ec1f4448e7 - "s390: Simplify (dis)assembly of insn operands with const bits" (pre-req.)
-
- * a98a6fa2d8ef5eb61534b07db80850dcdf07bdb4 - "s390: Add arch15 instructions" (pre-req.)
-
- * 981fe5fd80faf511aa265e841a380c9b46be30e6 - "390: Add support for z17 as CPU name"
+ * a3f1e7c56a60573562e8578ae8b675ec1f4448e7 - "s390: Simplify
+ (dis)assembly of insn operands with const bits" (pre-req.)
+
+ * a98a6fa2d8ef5eb61534b07db80850dcdf07bdb4 - "s390: Add arch15
+ instructions" (pre-req.)
+
+ * 981fe5fd80faf511aa265e841a380c9b46be30e6 - "390: Add support for z17
+ as CPU name"
[ Test Plan ]
- [Test Plan]
+ * Check if the same (proper) opcodes are detected on an IBM z17
+ system with and without the patch.
+ Since the identification and name of a z17 system was added.
- * Check if the same (proper) opcodes are detected on an IBM z17
- system with and without the patch.
- Since the identification and name of a z17 system was added.
+ * Or the simplest test is probably to check
+ (after having 'binutils' installed on an
+ Ubuntu Server 25.04, 24.10 or 24.04 s390x system)
+ if not only:
+ 'as -m64 -march=arch15 --target-help'
+ but especially also:
+ 'as -m64 -march=z17 --target-help'
+ succeeds and leads to the same output.
+ (As it does for '-march=arch14' and '-march=z16'.)
- * Or the simplest test is probably to check
- (after having 'binutils' installed on an
- Ubuntu Server 25.04, 24.10 or 24.04 s390x system)
- if not only:
- 'as -m64 -march=arch15 --target-help'
- but especially also:
- 'as -m64 -march=z17 --target-help'
- succeeds and leads to the same output.
- (As it does for '-march=arch14' and '-march=z16'.)
-
- * Due to the lack of hardware this needs to be tested at IBM.
-
+ * Due to the lack of hardware this needs to be tested at IBM.
+
[ Where problems could occur ]
- * The new name could be wrong, or the name could be accidentally
- mapped to the wrong internal arch.
- (The test case above will allow to identify this by comparing the output.)
-
- * The two pre-required patches could cause harm - the simplification
- and the introduction of the internal arch-15 itself.
- These are only needed for oracular and older,
- and are included in binutils for a while.
+ * The new name could be wrong, or the name could be accidentally
+ mapped to the wrong internal arch.
+ (The test case above will allow to identify this by comparing the output.)
- * Other architectures are not touched and affected, since only s390x
- specific files are modified (except the doc file as/doc/as.texi on top).
+ * The two pre-required patches could cause harm - the simplification
+ and the introduction of the internal arch-15 itself.
+ These are only needed for oracular and older,
+ and are included in binutils for a while.
+
+ * Other architectures are not touched and affected, since only s390x
+ specific files are modified (except the doc file as/doc/as.texi on top).
[ Other Info ]
- * binutils maintainer (doko) told me that binutils for questing
- will be updated anyway to latest release/snapshot,
- so nothing to do for questing in this LP bug (and set to Invalid).
+ * binutils maintainer (doko) told me that binutils for questing
+ will be updated anyway to latest release/snapshot,
+ so nothing to do for questing in this LP bug (and set to Invalid).
__________
With IBM having announced the new IBM z17, Ubuntu 22.04 and 24.04 should
be enabled to run properly on the latest s390x hardware.
While plucky has already the required patches included, please backport
to noble and jammy the GNU Binutils mainline commit 981fe5fd80fa ("s390:
Add support for z17 as CPU name"), which adds the real CPU name "z17" as
alternative for "arch15".
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/2108997
Title:
[UBUNTU 22.04] GDB: Internal binutils code requires updates made for
IBM z17 in binutils already
Status in Ubuntu on IBM z Systems:
In Progress
Status in gdb package in Ubuntu:
Invalid
Status in gdb source package in Jammy:
Triaged
Status in gdb source package in Noble:
In Progress
Status in gdb source package in Oracular:
In Progress
Status in gdb source package in Plucky:
In Progress
Status in gdb source package in Questing:
Invalid
Bug description:
SRU Justification:
[ Impact ]
* This is a hardware enablement SRU.
* It introduces support for the new IBM z17 hardware to binutils.
* Some Ubuntu releases (like plucky) have already 'anonymous' support
for in terms of 'arch-15', other Ubuntu releases have no 'arch-15' nor
z17 support at all and require two more patches.
* Without this binutils not not aware about the new z17 hardware generation
and it's opcodes etc.
[ Fix ]
* a3f1e7c56a60573562e8578ae8b675ec1f4448e7 - "s390: Simplify
(dis)assembly of insn operands with const bits" (pre-req.)
* a98a6fa2d8ef5eb61534b07db80850dcdf07bdb4 - "s390: Add arch15
instructions" (pre-req.)
* 981fe5fd80faf511aa265e841a380c9b46be30e6 - "390: Add support for
z17 as CPU name"
[ Test Plan ]
* Check if the same (proper) opcodes are detected on an IBM z17
system with and without the patch.
Since the identification and name of a z17 system was added.
* Or the simplest test is probably to check
(after having 'binutils' installed on an
Ubuntu Server 25.04, 24.10 or 24.04 s390x system)
if not only:
'as -m64 -march=arch15 --target-help'
but especially also:
'as -m64 -march=z17 --target-help'
succeeds and leads to the same output.
(As it does for '-march=arch14' and '-march=z16'.)
* Due to the lack of hardware this needs to be tested at IBM.
[ Where problems could occur ]
* The new name could be wrong, or the name could be accidentally
mapped to the wrong internal arch.
(The test case above will allow to identify this by comparing the output.)
* The two pre-required patches could cause harm - the simplification
and the introduction of the internal arch-15 itself.
These are only needed for oracular and older,
and are included in binutils for a while.
* Other architectures are not touched and affected, since only s390x
specific files are modified (except the doc file as/doc/as.texi on top).
[ Other Info ]
* binutils maintainer (doko) told me that binutils for questing
will be updated anyway to latest release/snapshot,
so nothing to do for questing in this LP bug (and set to Invalid).
__________
With IBM having announced the new IBM z17, Ubuntu 22.04 and 24.04
should be enabled to run properly on the latest s390x hardware.
While plucky has already the required patches included, please
backport to noble and jammy the GNU Binutils mainline commit
981fe5fd80fa ("s390: Add support for z17 as CPU name"), which adds the
real CPU name "z17" as alternative for "arch15".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2108997/+subscriptions
More information about the foundations-bugs
mailing list