-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't build bdist_wheel for 0.4.14 #136
Comments
I was told in #130 this is a gcc bug, which was fixed in https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9213244550335bcb2b8590a0d7d58ac74c932361 |
I would suggest filing a bug report with Ubuntu, or could you maybe switch to official packages instead of building from source? I can't revert the patch, according to ABI it's callee saved, not doing so might cause some weird side-effects/crashes when switching. |
The greenlet 0.4.14 release has a bug [1] that breaks at least the PowerVM CI, and probably a lot more. Dropping u-c back to 0.4.13 to avoid this issue. [1] python-greenlet/greenlet#136 Change-Id: I6e81e5a7c384ec273ff4c4665f7df44192707814
talking to internal gentoo people they also suggested fixing the actual gcc issue as the proper fix. |
Due to an issue introduced with greenlet 0.4.14 and gcc on ppc64le systems, we can't run powerkvm or powervm third party CI, so this change blacklists the 0.4.14 version until the issue [1] is resolved. The related upper-constraints change is at [2]. [1] python-greenlet/greenlet#136 [2] https://review.openstack.org/584881/ Depends-On: https://review.openstack.org/584881 Change-Id: I3899a0597c75f19cf55d696790ac31a5103db18f
I'm not at all convinced that this is a gcc bug. I am seeing the same issue after setting up "Toolchain test builds" PPA (https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test) to get access to newer versions of gcc. I upgraded gcc-5 and still see the same issue (expected). I then installed gcc-6, gcc-7, and gcc-8 one at a time and tried with each. Same issue. If this is a gcc bug, it doesn't appear to have been fixed yet... i.e. it's not the gcc bug referenced above. |
I found that powerpc64le-linux-gnu-gcc was a symlink still pointing to gcc-5, so installing gcc-7 didn't mean I was actually using it. I updated the symlinks to use gcc-7 and the problem went away. So this does appear to be resolved with the change that went into gcc-7. |
FYI, this is not just about Ubuntu 16.04. This is a regression from 0.4.13 and prevents us from using the latest version (I see OpenStack already blacklisted this version; unfortunately we are now doing the same) |
I can't just revert that patch, because then it would become a regression on newer gcc versions. It's probably possible to switch to manual save/load for this register, maybe as simple as something like this:
This is already being done for Since I don't have access to the platform I cannot test this and cannot make a PR myself. Anyone with access to and familiar with the platform is welcome to make a PR, making sure it actually compiles and works. |
I can confirm that the diff you suggested compiles and the tests run successfully with it: |
Thank you @wiggin15 ! I'll try to make a new 0.4.15 release at the end of the week (probably friday). |
The greenlet 0.4.14 release has a bug [1] that breaks at least the PowerVM CI, and probably a lot more. Dropping u-c back to 0.4.13 to avoid this issue. [1] python-greenlet/greenlet#136 Change-Id: I6e81e5a7c384ec273ff4c4665f7df44192707814
Running this command with the newly-released 0.4.14 version on an ppc64le Ubuntu 16.04 system:
/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-oozK0O/greenlet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-tQBkp3 --python-tag cp27
yields the following error:
The text was updated successfully, but these errors were encountered: