Results of gcc 4.7 and mingw-w64 trunk mass rebuild on Fedora

Erik van Pienbroek erik at vanpienbroek.nl
Fri Jan 20 18:59:47 UTC 2012


Kevin Kofler schreef op vr 20-01-2012 om 18:39 [+0100]:
> Erik van Pienbroek wrote:
> > qt-4.8.0:
> > 
> > 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.
> 
> We also hit this with the native qt in Fedora Rawhide.
> 
> This is a g++ bug:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51889
> 
> It has been fixed in the latest upstream GCC.
> 
>         Kevin Kofler
> 

Hi Kevin,

Thanks for the information about this issue!
I just updated the mingw-gcc package to the 20120119 snapshot (the same
snapshot as the native Fedora package) so let's see if building a
cross-compiled qt succeeds now.

Kind regards,

Erik van Pienbroek




More information about the mingw mailing list