> -----Original Message-----
> From: [email protected]
> Subject: [Development] Qt binaries with inlined functions
> 
> 
> 
>     Hello all,
> 
>     I'd like to start a discussion about .https://bugreports.qt-
> project.org/browse/QTBUG-32995. Please share your thoughts.

To get some numbers I tried to add 

QMAKE_CXXFLAGS += -fkeep-inline-functions

to mkspecs/common/gcc-base.conf . However, this only results in lots of 
undefined references when linking qmake . E.g.:

g++ -o "/home/kakoehne/dev/qt/qt-rls/gcc-4.8-release/qtbase/bin/qmake" 
project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o 
qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o 
unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o 
makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o 
msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o gbuild.o 
cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o 
qstringbuilder.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qarraydata.o 
qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o 
qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o 
qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o 
quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o 
qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o 
qvariant.o qvsnprintf.o qlocale.o 
 qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o 
qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o 
qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o 
qfsfileengine_unix.o qlocale_unix.o
qtbase/include/QtCore/5.3.0/QtCore/private/../../../../../../../src/qtbase/src/corelib/tools/qsimd_p.h:234:
 undefined reference to `qt_cpu_features'
qtbase/include/QtCore/5.3.0/QtCore/private/../../../../../../../src/qtbase/src/corelib/tools/qsimd_p.h:236:
 undefined reference to `qDetectCpuFeatures()'
qtbase/include/QtCore/5.3.0/QtCore/private/../../../../../../../src/qtbase/src/corelib/tools/qsimd_p.h:237:
 undefined reference to `qt_cpu_features'
qstring.o: In function `qCpuFeatures':
qtbase/src/corelib/tools/qsimd_p.h:234: undefined reference to `qt_cpu_features'
qtbase/src/corelib/tools/qsimd_p.h:236: undefined reference to 
`qDetectCpuFeatures()'
qtbase/src/corelib/tools/qsimd_p.h:237: undefined reference to `qt_cpu_features'
qstring.o: In function `QRegularExpression::operator!=(QRegularExpression 
const&) const':
qtbase/src/corelib/tools/qregularexpression.h:128: undefined reference to 
`QRegularExpression::operator==(QRegularExpression const&) const'
...

Configure line was configure -release -nomake examples -nomake tests 
-opensource -confirm-license -prefix `pwd`/qtbase .Do you maybe have a working 
patch already?

Regards

Kai 
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to