configure: add a tips for installing libubsan
In practice, libubsan has been installed but there will still be such alarms sometimes. In fact, this has something to do with the GCC version. Most users may not think of it immediately, so they will be confused and waste time here. So I think we should add a hint here. Change-Id: Ib01cf4b35be5b75a3620aea556f4c097a1ee7a01 Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3832 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Liang Yan <liang.z.yan@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
98678abe89
commit
fa729fd3a7
2
configure
vendored
2
configure
vendored
@ -741,6 +741,8 @@ if [[ "${CONFIG[UBSAN]}" = "y" ]]; then
|
||||
| ${BUILD_CMD[@]} -fsanitize=undefined - 2>/dev/null; then
|
||||
echo --enable-ubsan requires libubsan.
|
||||
echo Please install then re-run this script.
|
||||
echo If installed, please check that the GCC version is at least 6.4 \
|
||||
and synchronize CC accordingly.
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user