[UBUNTU 20.10] GCC: Accept vector alignment hints on z13

Bug #1888653 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Undecided
Canonical Foundations Team
gcc-10 (Ubuntu)
Fix Released
Undecided
Skipper Bug Screeners
gcc-9 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On z13 we have that vector alignment hints are already accepted. This backport enables GCC to emit such hints not only for target z14 but also for z13 in case GAS accepts them on z13, too. Since GCC's default target on Ubuntu is z13 for s390x, we could greatly benefit from such alignment hints. (note a separate bugzilla entry for binutils/GAS allowing to accept alignment hints for z13 has been opened)

This is a backport of upstream commits 313e02cfb97 and 710f7d977d1.

---Additional Hardware Info---
n/a

---uname output---
n/a

---Debugger Data---
n/a

Machine Type = z13 2964

---Steps to Reproduce---
 n/a

Userspace tool common name: gcc

The userspace tool has the following bit modes: 64-bit

Userspace rpm: gcc

Revision history for this message
bugproxy (bugproxy) wrote : Backport of upstream commit 313e02cfb97

Default Comment by Bridge

tags: added: architecture-s39064 bugnameltc-187059 severity-medium targetmilestone-inin2010
Revision history for this message
bugproxy (bugproxy) wrote : Backport of upstream commit 710f7d977d1 (gcc10)

Default Comment by Bridge

Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Thank you for gcc-9 and gcc-10 patch.

We are about to switch default compiler to gcc-10 in 20.10, so not sure if we will need gcc-9 patch in groovy or not.

affects: linux (Ubuntu) → gcc-10 (Ubuntu)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

binutils already available in groovy

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Have these backports been submitted to the stable branches of gcc-10/gcc-9?

We regularly update from the stable branches.

Changed in gcc-9 (Ubuntu):
status: New → Incomplete
Changed in gcc-10 (Ubuntu):
status: New → Opinion
status: Opinion → Incomplete
Changed in ubuntu-z-systems:
status: New → Incomplete
Revision history for this message
Matthias Klose (doko) wrote :

it's always better to have those backports in the upstream branches first.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2020-07-23 09:00 EDT-------
Yes, upstream in
releases/gcc-9 as commit 313e02cfb97 and
releases/gcc-10 as commit 710f7d977d1

For us it is also important to get this into LTS version 20.04. Any chance for this?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-07-23 09:24 EDT-------
(In reply to comment #13)
> it's always better to have those backports in the upstream branches first.

yes, that has been already done a couple of days ago

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-07-27 11:06 EDT-------
As requested for binutils in
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1888654
getting the changes for GCC9/10 also in the LTS version 20.04 is important to us. @Canonical can you please add 20.04 to LP, too? Thanks!

Version 20.10 seems to be fixed for me now, since the patches are upstream.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-08-20 07:21 EDT-------
@Canonical, any update available? Many thx

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Moving back to "new" status as the patches are now upstream.
@heinz-werner, I'll investigate the status. Thanks.

Changed in ubuntu-z-systems:
status: Incomplete → New
Changed in gcc-10 (Ubuntu):
status: Incomplete → New
Changed in gcc-9 (Ubuntu):
status: Incomplete → New
Changed in ubuntu-z-systems:
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

releases/gcc-10 as commit 710f7d977d1

Has been available in Groovy since 8th of August, when 10.2.0-3ubuntu1 migrated

gcc-10 (10.2.0-3ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
    - Don't run the tests on riscv64.

 -- Matthias Klose <email address hidden> Sat, 25 Jul 2020 14:57:54 +0200

gcc-10 (10.2.0-3) unstable; urgency=medium

  * Update to git 20200725 from the gcc-10 branch.
    - Fix PR target/96190 (SPARC), PR target/96236 (PPC), PR target/96260,
      PR fortran/95980, PR fortran/95980, PR fortran/96086, PR fortran/89574,
      PR fortran/96220, PR fortran/96018.
  * Re-enable gm2, disabled by accident in 10.2.0-1.
  * Refresh gm2 patches.
  * Apply proposed gdc patch (Iain Buclaw). Closes: #966026.
  * Apply proposed patch for PR bootstrap/96203, add -fcf-protection=check.

 -- Matthias Klose <email address hidden> Sat, 25 Jul 2020 14:52:31 +0200

Changed in gcc-10 (Ubuntu):
status: New → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

releases/gcc-9 as commit 313e02cfb97

Has been available in Groovy since 11th of August, when 9.3.0-17ubuntu1 migrated, but the change was part of the 16ubuntu1 upload.

gcc-9 (9.3.0-16ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
    - Disable the LTO build on arm64, armhf for now, takes 24+ hours ...

 -- Matthias Klose <email address hidden> Tue, 21 Jul 2020 11:57:43 +0200

gcc-9 (9.3.0-16) unstable; urgency=medium

  * Update to git 20200721 from the gcc-9 branch.
    - Fix PR target/94891 (AArch64), PR target/94791 (AArch64),
      PR target/96001 (AArch64).
    - Fix missing dependencies for selftests which occasionally causes
      failed builds. Addresses: #960913.
  * Build the GC enabled libobjc on arm64, mips and mipsel as well.

 -- Matthias Klose <email address hidden> Tue, 21 Jul 2020 11:49:23 +0200

Changed in gcc-9 (Ubuntu):
status: New → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Fix Released
tags: added: id-5f3e76a861fc2c6c1b26f394
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

20.04 will be done, whenever gcc packages will be updated again in focal, batched up with other gcc upstream point release. I don't have an ETA at the moment.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-09-04 02:57 EDT-------
IBM Bugzilla status-> closed, Fix Released with all requested distros

tags: added: fr-223
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.