[Bug 2126577] Re: [26.04 FEAT] Set Architecture Level (ALS) to z15

Richard Scott McNew 2126577 at bugs.launchpad.net
Mon Nov 24 20:37:36 UTC 2025


I have a change for dpkg to set the default RUSTFLAGS for z15:

https://launchpad.net/~richard-scott-
mcnew/+archive/ubuntu/dpkg-s390x-z15-min-arch

I have tested it on a s390x porter box and it seems to work:

ubuntu at richard-scott-mc-test-dpkg-s390x:~$ ls -la ripgrep-orig/usr/bin/rg 
-rwxr-xr-x 1 ubuntu ubuntu 5911368 Sep 18  2024 ripgrep-orig/usr/bin/rg

ubuntu at richard-scott-mc-test-dpkg-s390x:~$ ls -la ripgrep/usr/bin/rg 
-rwxr-xr-x 1 ubuntu ubuntu 5870408 Sep 18  2024 ripgrep/usr/bin/rg

ubuntu at richard-scott-mc-test-dpkg-s390x:~$ file ripgrep-orig/usr/bin/rg 
ripgrep-orig/usr/bin/rg: ELF 64-bit MSB pie executable, IBM S/390, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, BuildID[sha1]=0a949d2350cd0f49646d0306cb46bf75adf8d96f, for GNU/Linux 3.2.0, stripped

ubuntu at richard-scott-mc-test-dpkg-s390x:~$ file ripgrep/usr/bin/rg 
ripgrep/usr/bin/rg: ELF 64-bit MSB pie executable, IBM S/390, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, BuildID[sha1]=b25448dd41ad11ddb13184c4832adb390adb4437, for GNU/Linux 3.2.0, stripped

Can someone verify and sponsor the upload for Resolute?

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

Title:
  [26.04 FEAT] Set Architecture Level (ALS) to z15

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in gcc-15 package in Ubuntu:
  Fix Released
Status in linux package in Ubuntu:
  Fix Committed
Status in llvm-toolchain-20 package in Ubuntu:
  Fix Released
Status in llvm-toolchain-21 package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  The IBM Z team requests to raise the architectural level set (ALS) for Ubuntu on IBM Z and LinuxONE (s390x) to z15, optimized for z16.
  For the gcc-15 compiler (and with that for user space) that would be in debian/rules2:
  march=z15
  mtune=z16
  For now gcc-15 (15.2) is the default in resolute.

  For the kernel that would be:
  debian.master/config/annotations
   CONFIG_MARCH_Z15                                policy<{'s390x': 'y'}>
   CONFIG_TUNE_Z16                                 policy<{'s390x': 'y'}>

  Changes in llvm are reflected in debian/rules like:
   # Change the default CPU for s390x
   ZARCH=z196
   ifeq ($(DERIVATIVE),Ubuntu)
    ifneq (,$(filter $(DISTRO), xenial bionic focal jammy noble plucky questing))
      ZARCH=z13
    else
      ZARCH=z15
    endif
   endif

  Also check the 'UTAH' based (ISO) image testing (QA Tracker).
  (Is the underlying system capable to execute the newly build binaries?).

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




More information about the foundations-bugs mailing list