[kde-freebsd] qt33 linking

Kostik Belousov kostikbel at gmail.com
Thu Aug 16 16:48:07 CEST 2007


While upgrading the system from RELENG_6 to HEAD, and consequent
recompilation of the ports, I noted that qt33 upgrade output a lot of
warnings like this:

test -d ../../bin/ || mkdir -p ../../bin/
c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib -pthread -o ../../bin/assistant 
.obj/release-shared-mt/main.o  .obj/release-shared-mt/helpwindow.o  .obj/release-shared-mt/topicchooserimp
l.o  .obj/release-shared-mt/docuparser.o  .obj/release-shared-mt/helpdialogimpl.o  .obj/release-shared-mt/
settingsdialogimpl.o  .obj/release-shared-mt/index.o  .obj/release-shared-mt/profile.o  .obj/release-share
d-mt/config.o  .obj/release-shared-mt/mainwindow.o  .obj/release-shared-mt/topicchooser.o  .obj/release-sh
ared-mt/finddialog.o  .obj/release-shared-mt/helpdialog.o  .obj/release-shared-mt/settingsdialog.o  .obj/r
elease-shared-mt/tabbedbrowser.o  .obj/release-shared-mt/qmake_image_collection.o .obj/release-shared-mt/moc_helpwindow.o  .obj/release-shared-mt/moc_topicchooserimpl.o  .obj/release-shared-mt/moc_helpdialogimpl.o  .obj/release-shared-mt/moc_settingsdialogimpl.o  .obj/release-shared-mt/moc_index.o  .obj/release-shared-mt/moc_mainwindow.o  .obj/release-shared-mt/moc_topicchooser.o  .obj/release-shared-mt/moc_finddialog.o  .obj/release-shared-mt/moc_helpdialog.o  .obj/release-shared-mt/moc_settingsdialog.o  .obj/release-shared-mt/moc_tabbedbrowser.o   -L/usr/local/lib -L/usr/home/portsworkdir/usr/bsd/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib -L/usr/local/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE
/usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libqt-mt.so, may conflict with libz.so.4
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/lib/libqt-mt.so, may conflict with libstdc++.so.6
/usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libqt-mt.so, may conflict with libm.so.5


Obviously, port compilation links the tools against the installed qt
library, that was built on RELENG_6 world, instead of the instance
compiled during upgrade.

It is curious that linking does not fail, it seems that gcc 3.4.6 and
gcc 4.2.1 C++ compilers have compatible name mangling.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070816/4163bb47/attachment.pgp 


More information about the kde-freebsd mailing list