Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24168 - dev-python/egenix-mx-base breaks because of optimizations.
Summary: dev-python/egenix-mx-base breaks because of optimizations.
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-09 06:08 UTC by Priit Laes (IRC: plaes)
Modified: 2003-07-18 20:49 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 Priit Laes (IRC: plaes) 2003-07-09 06:08:24 UTC
when trying to run net-www/straw it gave me a segmentation fault. The problem 
was in dev-python/egenix-mx-base.
First i tried with "-march=pentium3 -O2 -pipe -fomit-frame-pointer 
-fprefetch-loop-arrays -fforce-addr -ffast-math -falign-functions=4" it was 
b0rked.
After reducing CFLAGS "-march=pentium3 -O2 -pipe -fomit-frame-pointer 
-fprefetch-loop-arrays -fforce-addr -ffast-math -falign-functions=4  to 
everyting worked fine
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-07-16 11:19:56 UTC
emm .. i can't see any difference between the two CFLAGS ? 
Comment 2 Priit Laes (IRC: plaes) 2003-07-16 12:48:24 UTC
I swear i posted another comment about the typo i made.
The broken cflags were: 
"-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr -ffast-math -falign-functions=4"

Only -Ox was the difference.
Sorry for inconveniences.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-07-18 20:49:28 UTC
that is correct, it doesn't react well to optimisations. i think this should solve a number of other problems i've had with things that depends on egenix-mx-base! 

thanks for tracking that down!