<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/100437/">http://git.reviewboard.kde.org/r/100437/</a>
</td>
</tr>
</table>
<br />
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Hey Pavel,
I'm curious about what is causing this. As far as I can see we do not use QMatrix in our source code. On Linux, the translation unit for Track.o does not show any use of QMatrix symbols either.
Could you please run `find . -name "*.o" -exec sh -c 'objdump -t $1 > $1.txt; grep -Hn QMatrix $1.txt' {} {} \;` in amarok/utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir? You'll find that directory in your build directory. The exec part scans all the generated object code of the amarokcollectionscanner target for QMatrix symbols.
If objdump is not available for you, please re-try with elfdump or plain dump instead.
Thanks a lot.</pre>
<br />
<p>- Kevin</p>
<br />
<p>On January 23rd, 2011, 9:12 p.m., Pavel Heimlich wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Amarok.</div>
<div>By Pavel Heimlich.</div>
<p style="color: grey;"><i>Updated Jan. 23, 2011, 9:12 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">building amarok 2.4.0 fails with the below message.
The attached patch fixes it.
This is on Solaris 11e, x86, using the Sun Studio 12u1 compiler
/usr/bin/gmake -f
utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/build.make
utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/build
gmake[3]: Entering directory
`/export/home/test/packages/BUILD/amarok-2.4.0/build-amarok-2.4.0'
Linking CXX executable amarokcollectionscanner
cd
/export/home/test/packages/BUILD/amarok-2.4.0/build-amarok-2.4.0/utilities/collectionscanner
&& /opt/kde4/bin/cmake -E cmake_link_script
CMakeFiles/amarokcollectionscanner.dir/link.txt --verbose=1
/opt/sunstudio12.1/bin/CC -D__EXTENSIONS__ -DSOLARIS -D_REENTRANT -DNDEBUG
-D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNO_DEBUG -D_UNICODE
-DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5
-I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -I/opt/kde4/include
-I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -library=no%Cstd
-library=Crun
-features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
-instances=global -template=geninlinefuncs -s -xdebugformat=dwarf -xlang=c99
-xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc
-Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt
-xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access -xprefetch_level=3
-xalias_level=compatible -KPIC -DPIC -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2
-xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z
ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s
-xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -lc
-lm -ldl -lpthread -lposix4 -lrt -mt -Y P,/opt/kde4/lib -i -L/opt/kde4/lib
-R/opt/kde4/lib -L/usr/lib -R/usr/lib -Bdynamic -lstdcxx4 -lCrun -lc -lm -g
-xO3 -DQT_NO_DEBUG -L/opt/kde4/lib -R/opt/kde4/lib -lstdcxx4 -lCrun
-L/usr/lib -R/usr/lib -lxml2 -lrt -lsocket -L/usr/X11/lib -R/usr/X11/lib
-lXdamage CMakeFiles/amarokcollectionscanner.dir/CollectionScanner.o
CMakeFiles/amarokcollectionscanner.dir/Directory.o
CMakeFiles/amarokcollectionscanner.dir/Album.o
CMakeFiles/amarokcollectionscanner.dir/Track.o
CMakeFiles/amarokcollectionscanner.dir/Playlist.o
CMakeFiles/amarokcollectionscanner.dir/BatchFile.o
CMakeFiles/amarokcollectionscanner.dir/__/__/shared/MetaTagLib.o
CMakeFiles/amarokcollectionscanner.dir/__/__/shared/MetaReplayGain.o
CMakeFiles/amarokcollectionscanner.dir/__/__/shared/FileType.o
CMakeFiles/amarokcollectionscanner.dir/__/__/shared/taglib_filetype_resolvers/wavfiletyperesolver.o
CMakeFiles/amarokcollectionscanner.dir/__/__/shared/taglib_filetype_resolvers/mp4filetyperesolver.o
CMakeFiles/amarokcollectionscanner.dir/__/__/shared/taglib_filetype_resolvers/asffiletyperesolver.o
-o amarokcollectionscanner /opt/kde4/lib/libQtCore.so -lthread
/opt/kde4/lib/libQtXml.so /opt/kde4/lib/libQtDBus.so
/opt/kde4/lib/libkdecore.so.5.6.0 -L/opt/kde4/lib -ltag -L/opt/kde4/lib
-ltag-extras /opt/kde4/lib/libQtCore.so -lthread /opt/kde4/lib/libQtDBus.so
-R:::::::::::::
ld: warning: file /opt/kde4/lib/libQtCore.so: attempted multiple inclusion of
file
ld: warning: file /opt/kde4/lib/libQtDBus.so: attempted multiple inclusion of
file
Undefined first referenced
symbol in file
QMatrix::QMatrix() CMakeFiles/amarokcollectionscanner.dir/Track.o
(symbol belongs to implicit dependency /opt/kde4/lib/libQtGui.so.4)
QMatrix::QMatrix(const QMatrix&)
CMakeFiles/amarokcollectionscanner.dir/Track.o (symbol belongs to implicit
dependency /opt/kde4/lib/libQtGui.so.4)
ld: fatal: symbol referencing errors. No output written to
amarokcollectionscanner
Reproducible: Always</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">it builds with the patch on Solaris 11</pre>
</td>
</tr>
</table>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="https://bugs.kde.org/show_bug.cgi?id=264112">264112</a>
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>utilities/collectionscanner/CMakeLists.txt <span style="color: grey">(40b6012)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/100437/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>