[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-09-15 Thread Hang Liu
The patch fixed the problem, I just got the environment to verify it. Thanks! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-greenlet in Ubuntu. https://bugs.launchpad.net/bugs/1446974 Title: python-greenlet coredump on

[Bug 1446974] [NEW] python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
Public bug reported: I was trying to configure openstack nova-compute service on an Power8 LE guest with ubutu 15.04 ppc64el beta2 installed. But it crash when calling greenlet 'switch' function. So I re-build the greenlet.so from the source, and found that it still crash when running tests.

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
** Attachment added: core.zip https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/1446974/+attachment/4381061/+files/core.zip -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-greenlet in Ubuntu.

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
build/lib.linux-ppc64le-2.7/greenlet.so ** Attachment added: greenlet.so https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/1446974/+attachment/4381063/+files/greenlet.so -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
But if I change compiling option to -O0, it report the below compiling error: In file included from slp_platformselect.h:16:0, from greenlet.c:400: platform/switch_ppc64_linux.h: In function ‘slp_switch’: platform/switch_ppc64_linux.h:81:1: error: 31 cannot be used in asm

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
The problem disappear when change compiling option to -O1 ( default is -O2) powerpc64le-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O1 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack- protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c