configure: add a message about asan option

This added hint helps to get ASan logs for the daemon processes, with
this one can start using asan for regression tests.

updates: bz#1633930
Change-Id: I3b39892d45d29ae514dad8ab10f65703c02003f1
Signed-off-by: Amar Tumballi <amarts@redhat.com>
This commit is contained in:
Amar Tumballi 2018-09-28 23:20:28 +05:30 committed by Niels de Vos
parent a12bdfa72a
commit 36883e160e

View File

@ -1624,3 +1624,15 @@ echo "Use TIRPC : $with_libtirpc"
echo "With Python : ${PYTHON_VERSION}"
echo "Cloudsync : $BUILD_CLOUDSYNC"
echo
if test "x$BUILD_ASAN" = "xyes"; then
echo "### Run below command before executing your tests if your system"
echo "### has 'gcc --version' above 7.x (works on Fedora 27 and Above)"
echo "export ASAN_OPTIONS=log_path=/var/log/glusterfs/asan-output.log"
echo ""
echo "### Above is required to get details of asan run, as glusterfs"
echo "### processes are daemon processes. Further details and more"
echo "### options can be found under 'Run-time flags' at"
echo "### https://github.com/google/sanitizers/wiki/AddressSanitizerFlags"
echo
fi