Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
Re: [opensuse-packaging] Upcoming transition to GCC 5
On 02/10/2015 08:21 PM, Richard Biener wrote:

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):

You may also find the analysis of Fedora interesting which explains
why some packages now fail to build:

GCC 5 packages can be installed from devel:gcc where they are regularly
updated. Those sources also feed openSUSE:Factory:Staging:Gcc49.


I noticed today while reading the Qt mailing list that Qt 4 doesn't build currently due to a gcc bug, 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@xxxxxxxxx>
Subject: Re: [Development] qt-4.8.6 + gcc5 fails to build ?
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 @
> 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.


template <class>
void tf()
extern void (*qt_memfill32)();

void f() {

Thiago Macieira - thiago.macieira (AT)
Software Architect - Intel Open Source Technology Center

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >