This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
-Os is implemented very bad in gcc 3.x.x seria
- From: "Artem S. Tashkinov" <t dot artem at lycos dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Mar 2003 19:32:15 +0500
- Subject: -Os is implemented very bad in gcc 3.x.x seria
- Organization: Lycos Mail (http://www.mail.lycos.com:80)
- Reply-to: t dot artem at mailcity dot com
After commiting some tests over gcc optimization flags I revealed that -Os flag is somewhat better than -O2 and -O3 flags due to decreased binaries sizes. But when I used this flag to compile QT 3.1.1 xfree library I got very unstable library: I got _numerous_ 'uic' segfaults by compiling KDE 3.1 (especially kdebase) and KDE itself segfaults almost after _every_ application exit.
I'm running RedHat 7.3 compatible distributive with glibc-2.2.5 and gcc-3.2.2. I used -Os flag to compile qt and -Os -mmmx -march=i686 to compile all other libraries (including libpng-1.2.5 and others). As far as I noticed _only_ KDE applications segfault and qt applications (uic and qtconfig). All other libraries work just fine (icculus Quake2, libpng, libxml2, libxslt, bzip2, zip, gzip, cups).
I can send you my binaries if you'd like to test them (though they are all stripped)
I hope you'll help me
Artem Tashkinov, system administrator
_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus