Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297276 - dev-lang/python no longer needs NDEBUG and OPT is bogus as we need -fwrapv
Summary: dev-lang/python no longer needs NDEBUG and OPT is bogus as we need -fwrapv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: 2.4.6, 2.5.4-r4, 2.6.4-r1, 3.1.1-r1
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 10:00 UTC by Alan Hourihane
Modified: 2010-06-14 18:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2009-12-17 10:00:34 UTC
NDEBUG has been removed from Python. So we no longer need to do this...

sed -e "s:^OPT=.*:OPT=-DNDEBUG:" -i "${D}usr/$(get_libdir)/python${PYVER}/config/Makefile"

and it should change to this...

sed -e "s:^OPT=.*:OPT=:" -i "${D}usr/$(get_libdir)/python${PYVER}/config/Makefile"
Comment 1 Alan Hourihane 2009-12-18 10:51:26 UTC
Oh, additionally as we define OPT, we miss a check in configure that requires the use of -fwrapv with GCC 4.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-14 18:01:35 UTC
Fixed in 2.4.6, 2.5.4-r4, 2.6.4-r1 and 3.1.1-r1.