Summary: | with -Os, gcc-3.4.5 miscompiles kdelibs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benno Schulenberg <bensberg> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dave0x01, esigra, pasrospa, rjenster |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Benno Schulenberg
2006-01-29 13:18:27 UTC
I haven't tried 3.4.5 (3.4.4 here) but I'm having issues with -Os and some KDE parts too, by now KPDF-3.5 (already filters -Os) and kdelibs-3.5.x, recompiling both with -O2 solved the problems. I thought this bug from gcc was that cause, but it's fixed in 3.4.5: http://gcc.gnu.org/PR22167 *** Bug 128155 has been marked as a duplicate of this bug. *** kdelibs-3.5.2-r4 replaces the flags on x86 Please reopen this bug. If "-Os" is going to be filtered, at least restrict the filtering to the affected compiler(s). The flag is is presently filtered on x86 regardless of compiler version. Kdelibs is a monolithic package, and "-Os" resulted in a code size reduction of more than 6 MB in my comparison, and that was with a fairly standard set of options. At comment #4: Better open a new bug, "kdelibs should filter -Os depending on compiler version" or some such. Drifting the topic of a bug isn't a good idea. |