On 02/10/2015 08:21 PM, Richard Biener wrote:
Hi,
we are currently trying to get openSUSE:Factory:Rings:0-Bootstrap and openSUSE:Factory:Rings:1-MinimalX clean to build with GCC 5 in the openSUSE:Factory:Staging:Gcc49 project. Once that works reasonably I will push GCC 5 to Factory without enabling it as a default - that will be done when it works fully (help appreciated at that point).
There is a porting-to document that explains some issues you may run into (also consider the 4.9 variant as we didn't transition to that): https://gcc.gnu.org/gcc-5/porting_to.html https://gcc.gnu.org/gcc-4.9/porting_to.html
You may also find the analysis of Fedora interesting which explains why some packages now fail to build: https://lists.fedoraproject.org/pipermail/devel/2015-February/207549.html
GCC 5 packages can be installed from devel:gcc where they are regularly updated. Those sources also feed openSUSE:Factory:Staging:Gcc49.
Richard.
I noticed today while reading the Qt mailing list that Qt 4 doesn't build currently due to a gcc bug, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65062 The relevant email is below, PS i'm not part of the openSUSE Qt team, but this will probably save someone some time. Message: 6 Date: Fri, 13 Feb 2015 18:46:29 -0800 From: Thiago Macieira<thiago.macieira@intel.com> Subject: Re: [Development] qt-4.8.6 + gcc5 fails to build ? To:development@qt-project.org Message-ID: <1648052.am1N8n1sCm@tjmaciei-mobl4> Content-Type: text/plain; charset="us-ascii" On Friday 13 February 2015 14:21:09 Thiago Macieira wrote:
On Friday 13 February 2015 11:37:27 Rex Dieter wrote:
Fedora development has recently adopted gcc5, and we've run into several problems, one of which is that qt-4.8.6 fails to build, when linking libQtGui:
.obj/release-shared/qdrawhelper_sse2.o: In function `unsigned int const* qt_fetch_radial_gradient_template<QRadialFetchSimd<QSimdSse2> >(unsigned int*, Operator const*, QSpanData const*, int, int, int)': /builddir/build/BUILD/qt-everywhere-opensource- src-4.8.6/src/gui/../../include/QtGui/private/../../../src/gui/painting/qd ra whelper_p.h:396: undefined reference to `qt_memfill32' collect2: error: ld returned 1 exit status
same problem with latest 4.8.7 2015-02-02-3 snapshot.
Currently tracking issue @ https://bugreports.qt.io/browse/QTBUG-44466
anyone with similar or different experiences?
It's a GCC bug. One file defines a symbol "qt_memfill32" and the other searches for "_Z12qt_memfill32".
GCC 4.9, Clang and ICC don't have this problem. Therefore, it's a GCC bug.
Reported:https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65062 Testcase: template <class> void tf() { extern void (*qt_memfill32)(); qt_memfill32(); } void f() { tf<int>(); } -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org