[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fortify help



Greetings,

i am working on this package,
http://galileo.dmi.unict.it/~ltworf/smooth-tasks/

but i always get:
W: plasma-widget-smooth-tasks: hardening-no-fortify-functions 
usr/lib/kde4/plasma_applet_smooth-tasks.so

from lintian, despite the flags to the compiler seem to correctly include the 
hardening flags.
Can anybody tell what am i doing wrong?

Follows, a typical compiler invocation.



cd "/home/salvo/dev/smooth-tasks/plasma-widget-smooth-
tasks-1flupp0~hg20120610/obj-x86_64-linux-gnu/applet" && /usr/bin/c++   -
DMAKE_PLASMA_APPLET_SMOOTH_TASKS_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -
D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -
DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=28 -g -O2 -fstack-
protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -
march=corei7 -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 -DNDEBUG -DQT_NO_DEBUG -fPIC -
I"/home/salvo/dev/smooth-tasks/plasma-widget-smooth-
tasks-1flupp0~hg20120610/obj-x86_64-linux-gnu/applet" -
I"/home/salvo/dev/smooth-tasks/plasma-widget-smooth-
tasks-1flupp0~hg20120610/applet" -I"/home/salvo/dev/smooth-tasks/plasma-
widget-smooth-tasks-1flupp0~hg20120610" -I"/home/salvo/dev/smooth-
tasks/plasma-widget-smooth-tasks-1flupp0~hg20120610/obj-x86_64-linux-gnu" -
I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -
I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -
I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -
I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -
I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -
I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -
I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -
I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -
I/usr/share/qt4/mkspecs/default -I/usr/include/qt4    -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -o CMakeFiles/plasma_applet_smooth-
tasks.dir/SmoothTasks/CloseIcon.o -c "/home/salvo/dev/smooth-tasks/plasma-
widget-smooth-tasks-1flupp0~hg20120610/applet/SmoothTasks/CloseIcon.cpp"
/usr/bin/cmake -E cmake_progress_report "/home/salvo/dev/smooth-tasks/plasma-
widget-smooth-tasks-1flupp0~hg20120610/obj-x86_64-linux-gnu/CMakeFiles" 24
-- 
Salvo Tomaselli


Reply to: