Results of mass rebuild against gcc 4.8

Erik van Pienbroek erik at vanpienbroek.nl
Tue Jan 22 19:17:35 UTC 2013


Erik van Pienbroek schreef op vr 18-01-2013 om 13:11 [+0100]:
> Hi,
> 
> I just performed a test mass rebuild of all Fedora MinGW packages
> against a recent gcc 4.8 snapshot.
> 
> During this mass rebuild the following toolchain was used:
> 
> * mingw-w64 20130105 trunk snapshot
> * binutils 2.23.51.0.5
> * gcc 4.8.0 20130113 snapshot, r195137
> 
> Total number of packages: 157
> Number of failed packages: 32

As follow-up to this mail, we managed to reduce the amount of build
failures to just two. The only packages remaining now are mingw-qpid-cpp
and wine-mono.

A bug report was filed against gcc, but upstream hasn't replied to it
yet. For now I'm carrying a patch in the mingw-gcc package which will be
replaced once upstream comes with a more appropriate solution. This
patch is needed to get mingw-qt5-qtbase built. The bug report (including
a proposed patch) can be found at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56038 - declarations in
xmmintrin.h conflict with mingw-w64 intrin.h in c++ mode

The wine-mono package failed to build due to a removed feature in
automake (and not due to gcc 4.8):

--

Running automake --gnu  ...
<snip>
runtime/Makefile.am:2: error: support for Cygnus-style trees has been
removed

--

The mingw-qpid-cpp package failed to build with this error:

--

[ 29%] Building CXX object
src/CMakeFiles/qpidcommon.dir/qpid/framing/AMQP_ClientProxy.obj
cd /builddir/build/BUILD/qpid-0.14/build_win32/src
&& /usr/bin/i686-w64-mingw32-g++   -DHAVE_CONFIG_H -Dqpidcommon_EXPORTS
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4   -Werror -pedantic -Wall -Wextra -Wno-shadow
-Wpointer-arith -Wno-error=delete-non-virtual-dtor -Wno-error=narrowing
-fpermissive -Wcast-align -Wno-long-long -Wvolatile-register-var
-Winvalid-pch -Wno-system-headers -Woverloaded-virtual -O2 -g -DNDEBUG
@CMakeFiles/qpidcommon.dir/includes_CXX.rsp   -o
CMakeFiles/qpidcommon.dir/qpid/framing/AMQP_ClientProxy.obj
-c /builddir/build/BUILD/qpid-0.14/build_win32/src/qpid/framing/AMQP_ClientProxy.cpp
In file included
from /builddir/build/BUILD/qpid-0.14/cpp/src/qpid/framing/FrameHandler.h:23:0,

from /builddir/build/BUILD/qpid-0.14/cpp/src/qpid/framing/Proxy.h:22,

from /builddir/build/BUILD/qpid-0.14/build_win32/src/qpid/framing/AMQP_ClientProxy.h:30,

from /builddir/build/BUILD/qpid-0.14/build_win32/src/qpid/framing/AMQP_ClientProxy.cpp:29:
/builddir/build/BUILD/qpid-0.14/cpp/src/qpid/framing/Handler.h:52:47:
error: invalid use of incomplete type 'struct
qpid::framing::Handler<T>' [-Werror]
     template <class F> class Functor : public Handler<T> {
                                               ^
/builddir/build/BUILD/qpid-0.14/cpp/src/qpid/framing/Handler.h:32:8:
error: declaration of 'struct qpid::framing::Handler<T>' [-Werror]
 struct Handler {
        ^
/builddir/build/BUILD/qpid-0.14/cpp/src/qpid/framing/Handler.h:64:30:
error: invalid use of incomplete type 'struct
qpid::framing::Handler<T>' [-Werror]
     class MemFunRef : public Handler<T> {
                              ^
/builddir/build/BUILD/qpid-0.14/cpp/src/qpid/framing/Handler.h:32:8:
error: declaration of 'struct qpid::framing::Handler<T>' [-Werror]
 struct Handler {
        ^
cc1plus: all warnings being treated as errors
make[2]: ***
[src/CMakeFiles/qpidcommon.dir/qpid/framing/AMQP_ClientProxy.obj] Error
1

--

The complete build logs can be found at:
http://build1.openftd.org/fedora-mingw-rebuild/20130122/wine-mono-0.0.8-1/
http://build1.openftd.org/fedora-mingw-rebuild/20130122/mingw-qpid-cpp-0.14-5/

The package maintainers of these two packages are BCC'ed to this mail so
they can resolve the build issues and try to get the fixes upstreamed.

To summarize: we're ready to introduce gcc 4.8 in Fedora 19!

Regards,

Erik van Pienbroek
Fedora MinGW SIG



More information about the mingw mailing list