[Mingw-w64-public] Results of gcc 4.7 and mingw-w64 trunk mass rebuild on Fedora

K. Frank kfrank29.c at gmail.com
Thu Jan 19 00:08:21 UTC 2012


Hello Erik!

One data point:  I have successfully built qt 4.8.  (See inline
comments, below.)

On Wed, Jan 18, 2012 at 6:24 PM, Erik van Pienbroek
<erik at vanpienbroek.nl> wrote:
> Hi,
>
> As the Fedora project recently decided to introduce a recent gcc 4.7
> snapshot and perform a mass rebuild of all packages using it I decided
> to perform a mass rebuild as well for all cross compiled packages...

> For this mass rebuild I've used the following toolchain releases:
> binutils: 2.22.51 (20120112 snapshot)
> gcc: 4.7 (20120106 snapshot)
> mingw-w64: trunk (20120112 snapshot with r4737 and r4738 to fix wcslen)
> ...
> kdelibs-4.7.97:
>
> Failed to build because I didn't manage to get qt-4.8.0 compiled
> using gcc 4.7. See below for details about the qt failure
> ...
>
> qt-4.8.0:

I have successfully built qt-4.8 natively with mingw-w64 4.7 (as have others),
specifically:

   4.8.0-rc1, from qt-everywhere-opensource-src-4.8.0-rc1.zip
   g++ (GCC) 4.7.0 20110829 (experimental), from
      x86_64-w64-mingw32-gcc-4.7.0-stdthread_rubenvb.7z

> In file included
> from /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qbuiltinatomictypes_p.h:55:0,
> from /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qbuiltinatomictypes.cpp:45:
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qatomiccasterlocators_p.h:570:46: error: 'virtual QPatternist::AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator<type>::visit(const QPatternist::BooleanType*, const QPatternist::SourceLocationReflection*) const' cannot be overloaded
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qatomiccasterlocators_p.h:295:46: error: with 'virtual QPatternist::AtomicTypeVisitorResult::Ptr QPatternist::ToIntegerCasterLocator::visit(const QPatternist::BooleanType*, const QPatternist::SourceLocationReflection*) const'
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qatomiccasterlocators_p.h:577:46: error: 'virtual QPatternist::AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator<type>::visit(const QPatternist::StringType*, const QPatternist::SourceLocationReflection*) const' cannot be overloaded
> <more errors stripped>
>
> This seems to be caused a change in behavior in gcc 4.7. Somebody else
> also experienced this compiler error while building a native qt using
> gcc 4.7: http://developer.qt.nokia.com/forums/viewthread/12606
> The native qt package in Fedora also currently fails to build due to
> this issue (http://koji.fedoraproject.org/koji/getfile?taskID=3635149&name=build.log&offset=-4000)
> so I guess upstream will come up with a solution soon.

I did not see the sort of errors you are reporting.

I don't know whether this information helps you, as we are doing
somewhat different things.  However, at a crude level at least,
qt-4.8 with mingw-w64 g++ 4.7 does (or can be made to) work.

> ...
> Could anybody shed some light about the issues which were
> encountered during this mass rebuild? Especially the errno
> codes looks like a serious issue to me.

If there is anything else useful I can tell you, feel free to ask.

> Kind regards,
>
> Erik van Pienbroek


Good luck.


K. Frank


More information about the mingw mailing list