On 08/02/2017 09:52 AM, Frank Filz wrote:
Kaleb S. KEITHLEY wrote on Wed, Aug 02, 2017 at 09:06:17AM -0400:
cd /builddir/build/BUILD/nfs-ganesha-2.5.1/src/Protocols/NFS &&
/usr/bin/cc -I/usr/include/glusterfs -I/usr/include/uuid
-I/builddir/build/BUILD/nfs-ganesha-2.5.1/src/include
-I/builddir/build/BUILD/nfs-ganesha-2.5.1/src/include/os/linux
-I/include -I/usr/include/ntirpc -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DNDEBUG -o
CMakeFiles/nfs4callbacks.dir/nfs4_cb_Compound.c.o -c
/builddir/build/BUILD/nfs-ganesha-
2.5.1/src/Protocols/NFS/nfs4_cb_Comp
ound.c
Hm, we might want to build with the security stuff as well:
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --
param=ssp-buffer-size=4
These often make new warnings and/or runtime errors pop up...
How about adding these to maintainer mode?
Yea, those might be good to add to maintainer mode.
fortify sources does not work for me. It fails during cmake. Basic
system libraries (such as -pthread) do not link.
Daniel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel