[Development] qtdeclarative-5.6.0-beta build failure on rhel6

Takahiro Hashimoto kenya888 at gmail.com
Tue Jan 19 13:57:28 CET 2016


Just information, the devtoolset4 has been released. GCC version is 5.2.1. 

RHEL6/7 user can install both gcc4.9.2(devtoolset3) and gcc5.2.1(devtoolset4).


[1] http://developerblog.redhat.com/2015/11/17/gcc-5-developer-toolset-4-generally-available/

Regards.
Takahiro


On 2016年1月19日火曜日 11時40分58秒 JST Sarajärvi Tony wrote:
> > -----Original Message-----
> > From: Development [mailto:development-bounces at qt-project.org] On
> > Behalf Of Takahiro Hashimoto
> > Sent: 19. tammikuuta 2016 12:36
> > To: development at qt-project.org
> > Cc: Rex Dieter <rdieter at math.unl.edu>
> > Subject: Re: [Development] qtdeclarative-5.6.0-beta build failure on
> > rhel6
> > 
> > Hi.
> > 
> > Sorry I don't have any info about C++11 code in 5.6 branch. I'd like to
> > comment for Simon's question about devltoolset requirement.
> > 
> > According to this thread [1] maybe the binary distribution of Qt 5
> > requires
 newer(4.7?) libstdc++ than the one which is provided by
> > RHEL/CentOS 6.(4.4.7)
> 
> 
> Yes that and also GCC gets updated when we install devtoolset.
> 
> 
> > This might lead updating wiki article of building qt5 to add this
> > workaround.
 
> > The Red Hat Developer Toolset has been released 4 times for RHEL5/6
> > release
> > (1.0 to 3.0) and currently only 3.0 is supported on RHEL6. [2]
> > 
> > I think These are reason why for this requirement.
> > And I don't know if the older version of Qt5(5.0,5.1..) could be built
> > with
 gcc 4.4...
> > 
> > By the way, RHEL6 is now at second half of its 10 years support life
> > cycle.
 [3] I think it would be better to start to consider about Qt5
> > support for RHEL7.  As RHEL7 has gcc 4.8, the devtoolset is not needed.
> > 
> > 
> > [1]
> > http://forum.qt.io/topic/30140/solved-qt-creator-could-not-find-or-load-> > the-qt-platform-plugin-xcb/
> > 
> > [2] https://access.redhat.com/support/policy/updates/dts
> > [3] https://access.redhat.com/support/policy/updates/errata
> > 
> > 
> > Regards.
> > Takahiro
> > 
> > 
> > On 2016年1月18日月曜日 15時58分09秒 JST Hausmann Simon wrote:
> > 
> > > I'm surprised as well that this slipped through. Looks like MSVC 2010
> > > supports this bit as well.
> > >
> > >
> > >
> > > It is true however that we require devtoolset 3 for RHEL 6. Does anyone
> > > remember the reason?
> > >
> > >
> > >
> > >
> > > Simon
> > >
> > >
> > >
> > >   Original Message
> > > 
> > > From: Olivier Goffart
> > > Sent: Monday, January 18, 2016 16:26
> > > To: development at qt-project.org
> > > Cc: Rex Dieter
> > > Subject: Re: [Development] qtdeclarative-5.6.0-beta build failure on
> > > rhel6
> > >
> > >
> > >
> > > On Montag, 18. Januar 2016 08:31:01 CET Rex Dieter wrote:
> > > 
> > > > I'm trying to build(bootstrap) qt-5.6.0-beta stack on rhel6, and have
> > > > run
> > > > into a build failure in qtdeclarative,
> > >
> > >
> > >
> > > <snip>
> > >
> > >
> > >
> > > > beta/tools/qmlimportscanner/main.cpp:376: error: no matching function
> > 
> > for
> > 
> > > > call to 'find_if(QList<QFileInfo>::const_iterator,
> > >
> > >
> > >
> > > std::find_if is new in C++11
> > > And it was used in https://codereview.qt-project.org/125853/ in the 5.6
> > > which still does not require C++11.
> > >
> > >
> > >
> > > Apparently the CI does not try to build this with non-c++11 enabled
> > > compilers?
> > >
> > >
> > >
> > > --
> > > Olivier
> > >
> > >
> > >
> > > Woboq - Qt services and support - https://woboq.com -
> > 
> > https://code.woboq.org
> > 
> > > _______________________________________________
> > > Development mailing list
> > > Development at qt-project.org
> > > http://lists.qt-project.org/mailman/listinfo/development
> > > _______________________________________________
> > > Development mailing list
> > > Development at qt-project.org
> > > http://lists.qt-project.org/mailman/listinfo/development
> > 
> > 
> > 
> > _______________________________________________
> > Development mailing list
> > Development at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development





More information about the Development mailing list