Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580334 - dev-python/pypy3-2.4.0-r2 compilation hangs in loop
Summary: dev-python/pypy3-2.4.0-r2 compilation hangs in loop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-17 14:36 UTC by Den
Modified: 2016-04-17 16:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,15.75 KB, text/plain)
2016-04-17 14:36 UTC, Den
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Den 2016-04-17 14:36:30 UTC
Created attachment 430956 [details]
emerge --info

Hello!
I'm trying to build docker-compose by
> emerge -v docker-compose
It requires dev-python/pypy3-2.4.0-r2 as a dependency, which stuck on compilation.

pstree:
> root     22063  0.0  0.0 143140   180 pts/30   S+   15:36   0:00  |   \_ sudo emerge -v docker-compose
> root     22064  0.3  0.2 455944 21296 pts/30   S+   15:36   0:25  |       \_ /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v docker-compose
> root      9318  0.0  0.0   4180  1520 pts/30   S+   16:57   0:00  |           \_ [dev-python/pypy3-2.4.0-r2] sandbox /usr/lib/portage/python2.7/ebuild.sh install
> root      9319  0.0  0.0 133552  7216 pts/30   S+   16:57   0:00  |               \_ /bin/bash /usr/lib/portage/python2.7/ebuild.sh install
> root      9336  0.0  0.0 134220  7168 pts/30   S+   16:57   0:00  |                   \_ /bin/bash /usr/lib/portage/python2.7/ebuild.sh install
> root     13560 92.5  1.1 249904 96020 pts/30   R+   16:58  22:01  |                       \_ /var/tmp/portage/dev-python/pypy3-2.4.0-r2/image/usr/lib64/pypy3/pypy-c -m compileall -q -f -d /usr/lib64/pypy3 /var/tmp/portage/dev-python/pypy3-2.4.0-r2/image/usr/lib64/pypy3

strace is keeping the silence:
> strace -p 13560
> Process 13560 attached

absolutely nothing:
> timeout 5 strace -cp 13560
> Process 13560 attached
> Process 13560 detached

GDB shows nothing because no symbols are available.
Comment 1 Den 2016-04-17 16:09:18 UTC
Found the possible reason.
When I was recompiling pypi with debug symbols, everything was compiled successfully.

My old CFLAGS:
> CFLAGS="-Ofast -flto -pipe -march=native"

Successful CFLAGS:
> CFLAGS="-O1 -pipe -ggdb"

Looks like optimization fault.