2018-07-24 03:49:14 |
bugproxy |
bug |
|
|
added bug |
2018-07-24 03:49:16 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- |
|
2018-07-24 03:49:17 |
bugproxy |
ubuntu: assignee |
|
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
|
2018-07-24 03:49:20 |
bugproxy |
affects |
ubuntu |
python-greenlet (Ubuntu) |
|
2018-07-24 05:47:14 |
Frank Heimes |
bug task added |
|
ubuntu-power-systems |
|
2018-07-24 05:47:22 |
Frank Heimes |
ubuntu-power-systems: importance |
Undecided |
High |
|
2018-07-24 06:21:38 |
Frank Heimes |
ubuntu-power-systems: assignee |
|
Ubuntu OpenStack (ubuntu-openstack) |
|
2018-07-26 10:51:31 |
James Page |
affects |
python-greenlet (Ubuntu) |
gcc-5 (Ubuntu) |
|
2018-07-26 11:24:41 |
Andrew Cloke |
ubuntu-power-systems: assignee |
Ubuntu OpenStack (ubuntu-openstack) |
Canonical Foundations Team (canonical-foundations) |
|
2018-08-01 05:15:09 |
Frank Heimes |
ubuntu-power-systems: status |
New |
Won't Fix |
|
2018-08-01 15:14:15 |
Manoj Iyer |
gcc-5 (Ubuntu): status |
New |
Won't Fix |
|
2018-08-01 18:04:20 |
Dimitri John Ledkov |
gcc-5 (Ubuntu): status |
Won't Fix |
Incomplete |
|
2018-08-01 18:04:27 |
Dimitri John Ledkov |
bug task added |
|
python-greenlet (Ubuntu) |
|
2018-08-01 18:04:32 |
Dimitri John Ledkov |
python-greenlet (Ubuntu): status |
New |
Fix Released |
|
2018-08-01 21:06:19 |
Dimitri John Ledkov |
nominated for series |
|
Ubuntu Xenial |
|
2018-08-01 21:06:19 |
Dimitri John Ledkov |
bug task added |
|
python-greenlet (Ubuntu Xenial) |
|
2018-08-01 21:06:19 |
Dimitri John Ledkov |
bug task added |
|
gcc-5 (Ubuntu Xenial) |
|
2018-08-01 21:06:26 |
Dimitri John Ledkov |
gcc-5 (Ubuntu Xenial): status |
New |
Triaged |
|
2018-08-01 21:06:30 |
Dimitri John Ledkov |
gcc-5 (Ubuntu Xenial): importance |
Undecided |
High |
|
2018-08-01 21:06:33 |
Dimitri John Ledkov |
gcc-5 (Ubuntu Xenial): importance |
High |
Wishlist |
|
2018-08-01 21:06:38 |
Dimitri John Ledkov |
gcc-5 (Ubuntu): status |
Incomplete |
Won't Fix |
|
2018-08-01 21:06:43 |
Dimitri John Ledkov |
bug task deleted |
python-greenlet (Ubuntu Xenial) |
|
|
2018-08-01 21:11:26 |
Dimitri John Ledkov |
description |
== Comment: #0 - William M. Edmonds <edmondsw@us.ibm.com> - 2018-07-23 16:21:41 ==
---Problem Description---
greenlet 0.4.14 will not build on ppc64le
Opened https://github.com/python-greenlet/greenlet/issues/136 because attempting to build bdist_wheel for greenlet 0.4.14 on ppc64le Ubuntu 16.04 LTS yields the following error:
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.linux-ppc64le-2.7
powerpc64le-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-ppc64le-2.7/greenlet.o -fno-tree-dominator-opts
In file included from slp_platformselect.h:16:0,
from greenlet.c:343:
platform/switch_ppc64_linux.h: In function 'slp_switch':
platform/switch_ppc64_linux.h:80:5: error: PIC register clobbered by 'r30' in 'asm'
__asm__ volatile ("" : : : REGS_TO_SAVE);
^
platform/switch_ppc64_linux.h:95:5: error: PIC register clobbered by 'r30' in 'asm'
__asm__ volatile ("" : : : REGS_TO_SAVE);
^
error: command 'powerpc64le-linux-gnu-gcc' failed with exit status 1```
But the greenlet community is saying this is a gcc bug and it would not be safe to revert the greenlet change that exposed this issue. I have no idea whether that is true or not. Supposedly this should be fixed by https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9213244550335bcb2b8590a0d7d58ac74c932361 but that fix is not present in the latest version of gcc (5.4.0) available for Ubuntu 16.04 LTS.
---uname output---
unavailable due to lab outage
Machine Type = unavailable due to lab outage
---Debugger---
A debugger is not configured
---Steps to Reproduce---
This should be reproducible with `git clone git://github.com/python-greenlet/greenlet; cd greenlet; python setup.py bdist_wheel`, though it was originally found using pypi rather than github and with a more complicated (scripted) command as detailed in the greenlet bug description.
Contact Information = Matthew Edmonds / edmondsw@us.ibm.com
Userspace tool common name: greenlet
The userspace tool has the following bit modes: no idea
Userspace rpm: N/A
Userspace tool obtained from project website: 0.4.14
*Additional Instructions for Matthew Edmonds / edmondsw@us.ibm.com:
-Attach ltrace and strace of userspace application. |
[Impact]
* GCC has a minor bug w.r.t. clobber r30 register in PIC binaries.
* A patch to fix this has been upstream in 6+
* But it is not in gcc-5.4 as used on xenial
* This prevents compiling future-proof and correct greenlet code, on Ubuntu 16.04 LTS as used by current and supported Openstack Queens release on ppc64el
* Whilst backported greenlet is available via the cloud archive for binary usage, the toolchain is still technically incorrect, and thus hinders using Ubuntu 16.04 LTS as workers in upstream Openstack CI
* As a wishlist it would be nice to backport this one small gcc patch as an SRU
[Test Case]
* git clone https://github.com/python-greenlet/greenlet
* cd greenlet
* ./setup.py build
Expect success
Current result failure:
creating build/temp.linux-ppc64le-2.7
powerpc64le-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-ppc64le-2.7/greenlet.o -fno-tree-dominator-opts
In file included from slp_platformselect.h:16:0,
from greenlet.c:343:
platform/switch_ppc64_linux.h: In function 'slp_switch':
platform/switch_ppc64_linux.h:80:5: error: PIC register clobbered by 'r30' in 'asm'
__asm__ volatile ("" : : : REGS_TO_SAVE);
^
platform/switch_ppc64_linux.h:95:5: error: PIC register clobbered by 'r30' in 'asm'
__asm__ volatile ("" : : : REGS_TO_SAVE);
^
error: command 'powerpc64le-linux-gnu-gcc' failed with exit status 1
[Regression Potential]
* Upstream cherrypick present in later releases including bionic
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9213244550335bcb2b8590a0d7d58ac74c932361
[Other Info]
* Original bug report
== Comment: #0 - William M. Edmonds <edmondsw@us.ibm.com> - 2018-07-23 16:21:41 ==
---Problem Description---
greenlet 0.4.14 will not build on ppc64le
Opened https://github.com/python-greenlet/greenlet/issues/136 because attempting to build bdist_wheel for greenlet 0.4.14 on ppc64le Ubuntu 16.04 LTS yields the following error:
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.linux-ppc64le-2.7
powerpc64le-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-ppc64le-2.7/greenlet.o -fno-tree-dominator-opts
In file included from slp_platformselect.h:16:0,
from greenlet.c:343:
platform/switch_ppc64_linux.h: In function 'slp_switch':
platform/switch_ppc64_linux.h:80:5: error: PIC register clobbered by 'r30' in 'asm'
__asm__ volatile ("" : : : REGS_TO_SAVE);
^
platform/switch_ppc64_linux.h:95:5: error: PIC register clobbered by 'r30' in 'asm'
__asm__ volatile ("" : : : REGS_TO_SAVE);
^
error: command 'powerpc64le-linux-gnu-gcc' failed with exit status 1```
But the greenlet community is saying this is a gcc bug and it would not be safe to revert the greenlet change that exposed this issue. I have no idea whether that is true or not. Supposedly this should be fixed by https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9213244550335bcb2b8590a0d7d58ac74c932361 but that fix is not present in the latest version of gcc (5.4.0) available for Ubuntu 16.04 LTS.
---uname output---
unavailable due to lab outage
Machine Type = unavailable due to lab outage
---Debugger---
A debugger is not configured
---Steps to Reproduce---
This should be reproducible with `git clone git://github.com/python-greenlet/greenlet; cd greenlet; python setup.py bdist_wheel`, though it was originally found using pypi rather than github and with a more complicated (scripted) command as detailed in the greenlet bug description.
Contact Information = Matthew Edmonds / edmondsw@us.ibm.com
Userspace tool common name: greenlet
The userspace tool has the following bit modes: no idea
Userspace rpm: N/A
Userspace tool obtained from project website: 0.4.14
*Additional Instructions for Matthew Edmonds / edmondsw@us.ibm.com:
-Attach ltrace and strace of userspace application. |
|
2018-08-01 21:12:01 |
Dimitri John Ledkov |
summary |
greenlet 0.4.14 will not build on ppc64le |
gcc on ppc64le has bogus r30 register handling, as exposed by greenlet 0.4.14 will not build on ppc64le |
|
2018-08-01 21:12:09 |
Dimitri John Ledkov |
gcc-5 (Ubuntu): status |
Won't Fix |
Fix Released |
|
2018-08-01 21:12:13 |
Dimitri John Ledkov |
gcc-5 (Ubuntu): status |
Fix Released |
Won't Fix |
|
2018-08-02 16:43:34 |
Dimitri John Ledkov |
gcc-5 (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2018-08-02 16:43:42 |
Dimitri John Ledkov |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-08-03 13:14:40 |
Matthew Edmonds |
bug |
|
|
added subscriber Matthew Edmonds |
2018-08-04 15:09:36 |
Andrew Cloke |
ubuntu-power-systems: status |
Won't Fix |
In Progress |
|
2018-08-04 15:22:22 |
Andrew Cloke |
ubuntu-power-systems: status |
In Progress |
Won't Fix |
|
2018-08-06 13:57:09 |
Manoj Iyer |
ubuntu-power-systems: status |
Won't Fix |
In Progress |
|
2018-08-13 13:55:36 |
Manoj Iyer |
tags |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g |
|
2018-08-14 13:57:07 |
Launchpad Janitor |
gcc-5 (Ubuntu): status |
Won't Fix |
Fix Released |
|
2018-08-27 15:42:46 |
Łukasz Zemczak |
gcc-5 (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2018-08-27 15:42:50 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2018-08-27 15:42:53 |
Łukasz Zemczak |
tags |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-xenial |
|
2018-08-27 15:53:37 |
Frank Heimes |
ubuntu-power-systems: status |
In Progress |
Fix Committed |
|
2018-08-27 20:26:20 |
Dimitri John Ledkov |
nominated for series |
|
Ubuntu Bionic |
|
2018-08-27 20:26:20 |
Dimitri John Ledkov |
bug task added |
|
python-greenlet (Ubuntu Bionic) |
|
2018-08-27 20:26:20 |
Dimitri John Ledkov |
bug task added |
|
gcc-5 (Ubuntu Bionic) |
|
2018-08-27 20:26:27 |
Dimitri John Ledkov |
bug task deleted |
python-greenlet (Ubuntu Bionic) |
|
|
2018-11-05 15:24:00 |
Andrew Cloke |
ubuntu-power-systems: status |
Fix Committed |
Incomplete |
|
2018-11-05 17:32:25 |
Matthew Edmonds |
ubuntu-power-systems: status |
Incomplete |
Fix Committed |
|
2018-11-20 22:38:05 |
Brian Murray |
tags |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-xenial |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-bionic verification-needed-xenial |
|
2018-12-03 15:06:03 |
Andrew Cloke |
gcc-5 (Ubuntu Bionic): status |
New |
Fix Committed |
|
2018-12-06 12:45:18 |
Andrew Cloke |
tags |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-bionic verification-needed-xenial |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-done-xenial verification-needed verification-needed-bionic |
|
2018-12-11 21:59:44 |
Mike Ranweiler |
tags |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-done-xenial verification-needed verification-needed-bionic |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-done-bionic verification-done-xenial verification-needed |
|
2018-12-12 00:04:46 |
Chris Halse Rogers |
bug task added |
|
gcc-6 (Ubuntu) |
|
2018-12-12 00:06:23 |
Chris Halse Rogers |
gcc-5 (Ubuntu Bionic): status |
Fix Committed |
Confirmed |
|
2018-12-12 00:07:14 |
Chris Halse Rogers |
gcc-6 (Ubuntu): status |
New |
Fix Committed |
|
2018-12-12 00:08:19 |
Chris Halse Rogers |
nominated for series |
|
Ubuntu Trusty |
|
2018-12-12 00:08:19 |
Chris Halse Rogers |
bug task added |
|
python-greenlet (Ubuntu Trusty) |
|
2018-12-12 00:08:19 |
Chris Halse Rogers |
bug task added |
|
gcc-5 (Ubuntu Trusty) |
|
2018-12-12 00:08:19 |
Chris Halse Rogers |
bug task added |
|
gcc-6 (Ubuntu Trusty) |
|
2018-12-12 00:08:32 |
Chris Halse Rogers |
nominated for series |
|
Ubuntu Cosmic |
|
2018-12-12 00:08:32 |
Chris Halse Rogers |
bug task added |
|
python-greenlet (Ubuntu Cosmic) |
|
2018-12-12 00:08:32 |
Chris Halse Rogers |
bug task added |
|
gcc-5 (Ubuntu Cosmic) |
|
2018-12-12 00:08:32 |
Chris Halse Rogers |
bug task added |
|
gcc-6 (Ubuntu Cosmic) |
|
2018-12-12 00:08:42 |
Chris Halse Rogers |
bug task deleted |
gcc-6 (Ubuntu Trusty) |
|
|
2018-12-12 00:08:53 |
Chris Halse Rogers |
bug task deleted |
gcc-5 (Ubuntu Trusty) |
|
|
2018-12-12 00:09:02 |
Chris Halse Rogers |
bug task deleted |
python-greenlet (Ubuntu Trusty) |
|
|
2018-12-12 00:09:10 |
Chris Halse Rogers |
bug task deleted |
python-greenlet (Ubuntu Cosmic) |
|
|
2018-12-12 00:09:19 |
Chris Halse Rogers |
bug task deleted |
gcc-5 (Ubuntu Cosmic) |
|
|
2018-12-12 00:10:25 |
Chris Halse Rogers |
gcc-6 (Ubuntu Cosmic): status |
New |
Fix Committed |
|
2018-12-12 00:10:28 |
Chris Halse Rogers |
gcc-6 (Ubuntu): status |
Fix Committed |
Confirmed |
|
2018-12-17 09:59:07 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-12-17 10:09:13 |
Launchpad Janitor |
gcc-6 (Ubuntu): status |
Confirmed |
Fix Released |
|
2018-12-17 11:31:40 |
Launchpad Janitor |
gcc-5 (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2019-02-04 15:04:33 |
Manoj Iyer |
gcc-5 (Ubuntu Bionic): status |
Confirmed |
Won't Fix |
|
2019-02-18 10:21:52 |
Manoj Iyer |
tags |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-done-bionic verification-done-xenial verification-needed |
architecture-ppc64le bugnameltc-169893 severity-high targetmilestone-inin--- triage-g verification-done verification-done-bionic verification-done-xenial |
|
2019-02-21 13:32:29 |
Manoj Iyer |
gcc-6 (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-02-21 13:32:42 |
Manoj Iyer |
ubuntu-power-systems: status |
Fix Committed |
Fix Released |
|