-
Notifications
You must be signed in to change notification settings - Fork 97
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
dev-lang/python-2.7.14-r2[pgo] segfaults #117
Comments
Interesting -- did Python 2.7 build OK for you before the parallel PGO patch? Or was this your first attempt at building it? Below is a link to the original Python 2.7 PGO ebuild in this repo (it did PGO serially instead of in parallel): If you haven't already, could you try building with that one and letting me know if it segfaults? |
The first attempt to compile it with PGO I made on Thursday, which is before the parallel PGO change, I believe, and it failed in the very same way. Python 3.6.5-r2 with PGO builds fine, |
Very interesting. Does the problem with 2.7 manifest even when PGO is disabled? |
dev-lang/python-2.7.14-r2::lto-overlay[-pgo] installs without the problem. |
What about PGO using -O2 optimization instead of -O3? |
Compilation with -O2 yields the same error. |
Hello, the same problem here. python-3.x.x compile all fine, but python-2.7.14-r2 fails. Maybe it is the same bug as described in https://bugs.python.org/issue33374 It seems to be triggered with python gcc 8. |
Nice find! According to the linked thread, it may be fixed in 2.7.15. Anyone willing to test? I'd do it myself, but I can't get it to happen on my system. |
Gentoo bug: https://bugs.gentoo.org/654822 |
I just updated the ebuild to 2.7.15. Is it still a problem? |
python 2.7.15 compiles with pgo. Thank you |
Great! Going to close this for now, if the problem comes up again just comment and I'll reopen. |
The compiled executable segfaults when called during the package build as
LD_LIBRARY_PATH=/var/portage/tmp/portage/dev-lang/python-2.7.14-r2/work/x86_64-pc-linux-gnu ./python -E -S -m sysconfig --generate-posix-vars
The text was updated successfully, but these errors were encountered: