[Bug c++/12045] New: gcc 3.3.1 with -Os flag once again builds QT library incorrectly
t dot artem at mailcity dot com
gcc-bugzilla@gcc.gnu.org
Sun Aug 24 15:45:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12045
Summary: gcc 3.3.1 with -Os flag once again builds QT library
incorrectly
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: t dot artem at mailcity dot com
CC: gcc-bugs at gcc dot gnu dot org
My system: Linux RedHat 9.0
GCC version: 3.3.1 vanilla with no 3d party patches applied
Application I tried to compile: QT library 3.2 (www.trolltech.com)
Issue: I changed the compilation flag of QT library found in mkspecs/g++-
linux/...
The default was "-O2" I put "-Os -march=pentium2".
Hint: I'm building multithreaded QT libary
The problem: After building libqt-mt.so and building uic (a part of QT suit)
application, uic itself segfaults almost after _every_ _second_ time I try to
use it to build other QT based applications (uic means user interface
compiler). Actually it does its work but then after munmap it produces segfault.
I encountered this problem with _all_ gcc 3.x.x (version < 3.3) versions
_except_ gcc 3.3. It works perfectly with this (-Os) flag. So I decided to stay
with 3.3 release
More information about the Gcc-bugs
mailing list