Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24168

Summary: dev-python/egenix-mx-base breaks because of optimizations.
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!