Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489346 - kde-base/kdelibs-4.10.5-r1 fails with -0fast
Summary: kde-base/kdelibs-4.10.5-r1 fails with -0fast
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 10:35 UTC by b1254633
Modified: 2013-10-25 13:58 UTC (History)
0 users

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


Attachments
kdelibs-4.10.5-r1 patch (kdelibs-4.10.5-r1.patch,327 bytes, patch)
2013-10-25 10:36 UTC, b1254633
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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".