[Development] Symbol strip warnings when installing release products on Mac OS X since 5.6.1

Roland Winklmeier roland.m.winklmeier at gmail.com
Mon Jun 13 10:42:19 CEST 2016


Dear list,

I have upgraded my Mac OS X CI node to Qt 5.6.1. Since then I see several
warnings at the build step 'make install' similar to:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip:
symbols referenced by indirect symbol table entries that can't be stripped
in: /Users/jenkins/workspace/macosx_qt_5.6.1/build/dist/lib/<binary name>
__ZN5QIconC1ERK7QPixmap
__ZN6QBrushC1ERK6QColorN2Qt10BrushStyleE
__ZN6QBrushD1Ev
__ZN6QColor13setNamedColorERK7QString
__ZN6QColor6setRgbEiiii
__ZN6QColorC1EN2Qt11GlobalColorE
__ZN6QImage4fillEN2Qt11GlobalColorE
...

After some investigations, I found a difference between 5.6.0 and 5.6.1.
5.6.1 added a strip step for release builds, which was previously not there:

-$(STRIP)
$(INSTALL_ROOT)/Users/jenkins/workspace/macosx_qt_5.6.1/build/dist/lib/$(TARGET)

After bit of googling I saw similar bug reports on KDE [1] and adding '-x'
fixed it, but I'm not a strip expert.

Question is now, am I doing anything wrong or was this an intentional
change in 5.6.1? How can the warnings silenced best?

Cheers Roland

[1] https://bugs.kde.org/show_bug.cgi?id=288756
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160613/7c983dde/attachment.html>


More information about the Development mailing list