<div>Hello!</div><div>A few days ago KDevplatform stopped to compile on my KDE Neon due to a linking error caused by:</div><div> </div><div><blockquote><div>K_PLUGIN_FACTORY_WITH_JSON(KDevWelcomePagePluginFactory, "kdevwelcomepage.json", registerPlugin<KDevWelcomePagePlugin>();)</div><div> </div><div>using namespace KDevelop;</div><div> </div><div>namespace {</div><div>WelcomePageWidget* createWelcomePageWidget(QWidget* parent)</div><div>{</div><div>    // don't attempt to load any QML if CPU doesn't have SSE2 support (cf. bug 381999)</div><div>#if defined(Q_OS_LINUX) && (defined(Q_CC_GNU) || (defined(Q_CC_CLANG) && __clang_major__ >= 3 && __clang_minor__ >= 7))</div><div>    if (!<strong><u>__builtin_cpu_supports("sse2")</u></strong>) {</div><div>        qWarning() << "Welcome Page won't load any QML -- lacking SSE2 support on this processor";</div><div>        return nullptr;</div><div>    }</div><div>#endif</div><div> </div><div>    return new WelcomePageWidget({}, parent);</div><div>}</div><div>}</div></blockquote></div><div> </div><div>Which results in:</div><div> </div><div><blockquote><div>CMakeFiles/kdevwelcomepage.dir/welcomepageplugin.cpp.o: In function `KDevWelcomePagePlugin::KDevWelcomePagePlugin(QObject*, QList<QVariant> const&)':</div><div>welcomepageplugin.cpp:(.text+0x199): undefined reference to `__cpu_model'</div><div>collect2: error: ld returned 1 exit status</div></blockquote></div><div> </div><div>I have found this <a href="https://bugs.llvm.org/show_bug.cgi?id=25510">https://bugs.llvm.org/show_bug.cgi?id=25510</a></div><div>2 years old Mac OS bug fixed 1 year ago...</div><div>Can it be?</div><div>I am using cmake version 3.5.1 and GCC version 5.4.0</div><div> </div><div> </div><div>-- </div><div>Alexander Zhigalin - <span style="color:#0000ff;">DevOps</span></div><div> </div>