http://bugzilla.novell.com/show_bug.cgi?id=964458 Bug ID: 964458 Summary: libqt4 fails to build with GCC 6 Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications Assignee: bnc-team-screening@forge.provo.novell.com Reporter: rguenther@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- In openSUSE:Factory:Staging:Gcc6 fails to build on x86_64 at least due to the following bug in Qt sources GCC now errors on: [ 3819s] g++ -c -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wno-error=misleading-indentation -g -DOPENSSL_LOAD_CONF -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_XMLPATTERNS_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include -I../../include/QtXmlPatterns -I.rcc/release-shared -Iacceltree -Idata -Iapi -Ienvironment -Iexpr -Ifunctions -Iiterators -Ijanitors -Iparser -Ischema -Itype -Iutils -I.moc/release-shared -o .obj/release-shared/qvariableloader.o api/qvariableloader.cpp [ 3824s] In file included from api/qcoloringmessagehandler_p.h:57:0, [ 3824s] from api/qxmlquery_p.h:67, [ 3824s] from api/qvariableloader.cpp:54: [ 3824s] api/qcoloroutput_p.h:74:60: warning: result of '(1048575 << 20)' requires 41 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] [ 3824s] BackgroundMask = ((1 << BackgroundShift) - 1) << BackgroundShift [ 3824s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 3824s] api/qcoloroutput_p.h:74:60: error: shift expression '(1048575 << 20)' overflows [-fpermissive] [ 3824s] api/qcoloroutput_p.h:74:63: error: enumerator value for 'BackgroundMask' is not an integer constant [ 3824s] BackgroundMask = ((1 << BackgroundShift) - 1) << BackgroundShift [ 3824s] ^~~~~~~~~~~~~~~ [ 3827s] Makefile:2580: recipe for target '.obj/release-shared/qvariableloader.o' failed [ 3827s] make[1]: *** [.obj/release-shared/qvariableloader.o] Error 1 [ 3827s] make[1]: *** Waiting for unfinished jobs.... -- You are receiving this mail because: You are on the CC list for the bug.