<div dir="ltr"><div><div><div>Thank you Kevin for fixing this. I was not at home the last weekend, so didn't get time to sit down and debug this one.<br><br></div>And Thank you <span class="inbox-inbox-lG">René for pointing out issues and helping me debug. I'll look in to the test_gdb build error with clang on OS X.</span> I feel like it might be buggy before my refactor.<br><br></div>Cheers,<br></div>Aetf<br><div><div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 27, 2016 at 3:34 AM Kevin Funk <<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Freitag, 24. Juni 2016 16:40:21 CEST René J.V. Bertin wrote:<br>
> Hi,<br>
><br>
> Why am I getting the following build error on Linux, kdevelop and<br>
> kdevplatform both git/master?<br>
<br>
Fixed:<br>
<br>
commit 9e2515df179c21d476b04f46238132f08139ae2e<br>
Author: Kevin Funk <<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>><br>
Date:   Sun Jun 26 22:54:53 2016 +0200<br>
<br>
    Attempt to fix build issue on CI<br>
<br>
    kdevdebuggercommon needs KDev::Language, so fix the CMake code.<br>
<br>
Issue: Library order was wrong<br>
<br>
Cheers,<br>
Kevin<br>
<br>
> %> /usr/bin/c++  -fPIC -std=c++0x -Wall -Wextra -Wcast-align<br>
> -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef<br>
> -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type<br>
> -Wno-missing-field-initializers -fexceptions -Wl,--no-undefined<br>
> -Wl,--fatal-warnings -Wl,--enable-new-dtags   -shared  -o kdevgdb.so<br>
> CMakeFiles/kdevgdb.dir/debuggerplugin.cpp.o<br>
> CMakeFiles/kdevgdb.dir/gdb.cpp.o<br>
> CMakeFiles/kdevgdb.dir/disassemblewidget.cpp.o<br>
> CMakeFiles/kdevgdb.dir/gdboutputwidget.cpp.o<br>
> CMakeFiles/kdevgdb.dir/debugsession.cpp.o<br>
> CMakeFiles/kdevgdb.dir/gdbbreakpointcontroller.cpp.o<br>
> CMakeFiles/kdevgdb.dir/gdbconfigpage.cpp.o<br>
> CMakeFiles/kdevgdb.dir/variablecontroller.cpp.o<br>
> CMakeFiles/kdevgdb.dir/gdbframestackmodel.cpp.o<br>
> CMakeFiles/kdevgdb.dir/gdbvariable.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/registersview.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/registercontroller.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/registersmanager.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/registercontroller_x86.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/registercontroller_arm.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/modelsmanager.cpp.o<br>
> CMakeFiles/kdevgdb.dir/registers/converters.cpp.o<br>
> CMakeFiles/kdevgdb.dir/qrc_kdevgdb.cpp.o<br>
> CMakeFiles/kdevgdb.dir/kdevgdb_automoc.cpp.o<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformProject.so.10.0.0<br>
> ../common/libkdevdebuggercommon.a<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformOutputView.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformSerialization.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformDebugger.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformSublime.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformUtil.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKDevPlatformInterfaces.so.10.0.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5TextEditor.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5Parts.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5KIOCore.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5XmlGui.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5TextWidgets.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5Service.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5ItemModels.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libprocessui.so.5.6.5<br>
> /opt/local/lib/x86_64-linux-gnu/libprocesscore.so.5.6.5<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5Completion.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5Codecs.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5ConfigGui.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5.22.0<br>
> /opt/local/libexec/qt5/lib/libQt5Xml.so.5.6.1<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5Auth.so.5.22.0<br>
> /opt/local/libexec/qt5/lib/libQt5DBus.so.5.6.1<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5I18n.so.5.22.0<br>
> /opt/local/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5.22.0<br>
> /opt/local/libexec/qt5/lib/libQt5Widgets.so.5.6.1<br>
> /opt/local/libexec/qt5/lib/libQt5Gui.so.5.6.1<br>
> /opt/local/libexec/qt5/lib/libQt5Network.so.5.6.1<br>
> /opt/local/libexec/qt5/lib/libQt5Core.so.5.6.1<br>
> -Wl,-rpath,/opt/local/lib/x86_64-linux-gnu:/opt/local/lib:/opt/local/libexe<br>
> c/qt5/lib -Wl,-rpath-link,/opt/local/libexec/qt5/lib<br>
> ../common/libkdevdebuggercommon.a(midebuggerplugin.cpp.o): In function<br>
> `KDevMI::MIDebuggerPlugin::contextMenuExtension(KDevelop::Context*)':<br>
> midebuggerplugin.cpp:(.text+0x176b): undefined reference to `typeinfo for<br>
> KDevelop::EditorContext' midebuggerplugin.cpp:(.text+0x179f): undefined<br>
> reference to `KDevelop::EditorContext::currentWord() const' collect2:<br>
> error: ld returned 1 exit status<br>
> make[2]: *** [debuggers/gdb/kdevgdb.so] Error 1<br>
><br>
> %> nm /opt/local/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10.0.0 |<br>
> fgrep -i currentword 00000000001bd880 T<br>
> _ZNK8KDevelop13EditorContext11currentWordEv<br>
><br>
> %> demangle _ZNK8KDevelop13EditorContext11currentWordEv<br>
> _ZNK8KDevelop13EditorContext11currentWordEv -><br>
> "KDevelop::EditorContext::currentWord() const"<br>
><br>
> I'm using gcc 5.3.0; kdevplatform was installed from a full clean build;<br>
> kdevelop is building from one. A glitch in the debugger patch from last<br>
> Wed. June 22nd?<br>
><br>
> R.<br>
> _______________________________________________<br>
> KDevelop-devel mailing list<br>
> <a href="mailto:KDevelop-devel@kde.org" target="_blank">KDevelop-devel@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
<br>
<br>
--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a>_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kde.org" target="_blank">KDevelop-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div></div></div></div></div>