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

Bug 489346

Summary: kde-base/kdelibs-4.10.5-r1 fails with -0fast
Product: Gentoo Linux Reporter: b1254633 <b1254633>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kdelibs-4.10.5-r1 patch

Description b1254633 2013-10-25 10:35:35 UTC
just switch to -02

Reproducible: Always
Comment 1 b1254633 2013-10-25 10:36:46 UTC
Created attachment 361876 [details, diff]
kdelibs-4.10.5-r1 patch
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-10-25 13:58:20 UTC
From the GCC documentation:
"Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard compliant programs. It turns on -ffast-math and the Fortran-specific -fno-protect-parens and -fstack-arrays."

These are dangerous flags to be enabling, and we do not support build issues resulting from -O3 or flags like -ffast-math. We will not be adding filtering for every dangerous flag out there. If it doesn't build, then we encourage you to use a sane set of CFLAGS, such as "-O2 -pipe -march=native".