Linking CXX shared module ../../../lib/kopete_qq.so cd /build/src/build/kopete/protocols/qq && /usr/bin/cmake -E cmake_link_script CMakeFiles/kopete_qq.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -shared -Wl,-soname,kopete_qq.so -o ../../../lib/kopete_qq.so CMakeFiles/kopete_qq.dir/kopete_qq_automoc.o CMakeFiles/kopete_qq.dir/ui/qqwebcamdialog.o CMakeFiles/kopete_qq.dir/ui/qqeditaccountwidget.o CMakeFiles/kopete_qq.dir/ui/dlgqqvcard.o CMakeFiles/kopete_qq.dir/qqprotocol.o CMakeFiles/kopete_qq.dir/qqcontact.o CMakeFiles/kopete_qq.dir/qqaccount.o CMakeFiles/kopete_qq.dir/qqaddcontactpage.o CMakeFiles/kopete_qq.dir/qqsocket.o CMakeFiles/kopete_qq.dir/qqnotifysocket.o CMakeFiles/kopete_qq.dir/qqchatsession.o CMakeFiles/kopete_qq.dir/libeva.o CMakeFiles/kopete_qq.dir/evautil.o CMakeFiles/kopete_qq.dir/md5.o CMakeFiles/kopete_qq.dir/crypt.o -L/build/src/build/lib /usr/lib/libkio.so.5.8.0 /usr/lib/libQtNetwork.so /usr/lib/libQt3Support.so ../../../lib/libkopete.so.4.8.0 ../../../lib/libkopete_videodevice.so.4.8.0 /usr/lib/libQt3Support.so /usr/lib/libkio.so.5.8.0 /usr/lib/libQtNetwork.so /usr/lib/libQtXml.so /usr/lib/libkdeui.so.5.8.0 /usr/lib/libQtGui.so /usr/lib/libQtSvg.so /usr/lib/libkdecore.so.5.8.0 /usr/lib/libQtDBus.so /usr/lib/libQtCore.so -lpthread CMakeFiles/kopete_qq.dir/evautil.o: In function `Eva::Packet::encrypt(Eva::ByteArray const&, Eva::ByteArray const&)': evautil.cpp:(.text+0x161): warning: memset used with constant zero length parameter; this could be due to transposed parameters collect2: error: ld returned 1 exit status make[2]: *** [lib/kopete_qq.so] Error 1 Reproducible: Always Steps to Reproduce: 1. Checkout last svn from http://websvn.kde.org/branches/KDE/4.8/kdenetwork/kopete/ 2. Update to GCC 4.7 3. Try to build kopete Actual Results: Build fails Expected Results: it builds KDE 4.8.2 GCC 4.7
This looks more like a glibc/memset issue, rather than something gcc-4.7.x related
hi Rex, thanks, if I unset {C,CXX,LD}FLAGS then the build proceed, but I get a new error in libjingle (BUG#299300) BTW, glibc 2.15 here.
Does this plugin still work? If so the other bug reports should probably be closed (i.e bug175522, bug163939). If not, then it may not be worth fixing until the protocol works again.
*** This bug has been marked as a duplicate of bug 290691 ***