Whamcloud - gitweb
EX-9681 build: disable objtool and UBSAN warnings
While building and running Lustre client with
kernel 6.8.0-31-generic, there are lots of
objtool compile-time warnings as follows:
warning: objtool: __cfs_fail_check_set()
falls through to next function __cfs_fail_timeout_set()
and also UBSAN runtime warnings as follow:
UBSAN: array-index-out-of-bounds in libcfs_mem.c:97:3
index 0 is out of range for type 'void *[*]'
Before all of the warnings are actually fixed,
we temporarily disable them to quiet the warnings
in build and system logs.
Change-Id: I18630f9a8aa6fd7c2b33b4eb8103fd7e2f6e19de
Test-Parameters: trivial
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54948
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>