Summary: | dev-lang/python-2.5.2-r4 : test-str segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Olivier Huber <oli.huber> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | coldwind |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.python.org/issue1608 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
bt full
patch proposal |
Description
Olivier Huber
2008-06-22 14:47:43 UTC
Created attachment 158007 [details]
bt full
Python team, this is http://bugs.python.org/issue1608 (In reply to comment #2) > Python team, this is http://bugs.python.org/issue1608 > Thanks! I have find why we were affected by this bug : CFLAGS is set by the ebuild and so it lack -fwrapv. It seems that we need to enable this for gcc 4.x : In configure.in : # For gcc 4.x we need to use -fwrapv so lets check if its supported if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then WRAP="-fwrapv" fi I have patched the ebuild and it work flawlessy. Created attachment 158049 [details, diff]
patch proposal
Fixed in python-2.5.2-r5, thanks for reporting. |