numam-spdk/test/blobfs/rocksdb
Richael Zhuang e9063d4da1 test/blobfs: rocksdb building error with gcc9
There's a small error when building rocksdb in blobfs db_bench
with gcc9:
"strncpy output truncated before terminating nul copying as many
bytes from a string as its length [-Werror=stringop-truncation]"

It's not a real bug for in the code "strncpy" truncates the null
terminator but set it later, which has been reported here:
https://github.com/facebook/rocksdb/issues/4017
Just adding "-Wno-error=stringop-truncation" to silent the compiler.

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Change-Id: I95993605f0376f5c101fb487596721b384319bcb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1594
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-04-06 07:48:25 +00:00
..
.gitignore blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00
common_flags.txt blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00
postprocess.py scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
rocksdb_commit_id rocksdb: cleanup SpdkInitializeThread/SpdkFinalizeThread 2019-05-02 09:00:43 +00:00
rocksdb.sh test/blobfs: rocksdb building error with gcc9 2020-04-06 07:48:25 +00:00