+3
−0
+5
−0
+2
−3
+1
−1
Loading
glibc 2.36 added arc4random(), which breaks the SPDK iSCSI build since it always implements its own arc4random() implementation on non-FreeBSD OS (meaning always on Linux). So instead add a CONFIG_HAVE_ARC4RANDOM and remove the explicit FreeBSD dependency - this will work on FreeBSD as well as Linux with >= glibc 2.36. Also fix check_format.sh, so that it does not enforce spdk/stdinc.h checks on code snippets in the configure file. Fixes issue #2637. Reported-by:Karl Bonde Torp <k.torp@samsung.com> Signed-off-by:
Jim Harris <james.r.harris@intel.com> Change-Id: Iab9da8ae30d62a56869530846372ffddf7138eed Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14028 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Dong Yi <dongx.yi@intel.com>