[Bug 988017] New: Long compile time with -fsanitize=undefined
http://bugzilla.suse.com/show_bug.cgi?id=988017 Bug ID: 988017 Summary: Long compile time with -fsanitize=undefined Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem Assignee: matz@suse.com Reporter: lpechacek@suse.com QA Contact: qa-bugs@suse.de CC: mliska@suse.cz Found By: --- Blocker: --- While working on a Qt5 application I have noticed that a few files compile extremely slowly with -fsanitize=undefined. Attached tarball contains example code which compiles within two seconds without UBSan and takes over twelve minutes with UBSan on my test system. lpechacek@tweed:/tmp/long-compile> time bash -x long_compile.sh + g++ -c -pipe -fsanitize=undefined -Wextra -g -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../../quickbox/tools/qsqlmon -I. -I../../../quickbox/libqf/libqfcore/include -I../../../quickbox/libqf/libqfqmlwidgets/include -I../../../quickbox/tools/qsqlmon/src -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o dlgcolumndef.o dlgcolumndef.cpp SOFT ASSERT: "item" in file debuggerkitinformation.cpp, line 346 real 12m6.092s user 12m5.936s sys 0m0.208s lpechacek@tweed:/tmp/long-compile> time g++ -c -pipe -Wextra -g -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../../quickbox/tools/qsqlmon -I. -I../../../quickbox/libqf/libqfcore/include -I../../../quickbox/libqf/libqfqmlwidgets/include -I../../../quickbox/tools/qsqlmon/src -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o dlgcolumndef.o dlgcolumndef.cpp real 0m1.889s user 0m1.792s sys 0m0.160s -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=988017
http://bugzilla.suse.com/show_bug.cgi?id=988017#c1
--- Comment #1 from Libor Pechacek
http://bugzilla.suse.com/show_bug.cgi?id=988017
Martin Liška
http://bugzilla.suse.com/show_bug.cgi?id=988017
http://bugzilla.suse.com/show_bug.cgi?id=988017#c3
--- Comment #3 from Martin Liška
http://bugzilla.suse.com/show_bug.cgi?id=988017
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=988017
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com