-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: add CONFIG_HAVE_ARC4RANDOM
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 spdk#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>
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters