* |WARNING| pw117504 [PATCH] eal: non-temporal memcpy
[not found] <20221006203426.78743-1-mb@smartsharesystems.com>
@ 2022-10-06 20:35 ` checkpatch
2022-10-06 21:39 ` |FAILURE| " 0-day Robot
1 sibling, 0 replies; 6+ messages in thread
From: checkpatch @ 2022-10-06 20:35 UTC (permalink / raw)
To: test-report; +Cc: Morten Brørup
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117504
_coding style issues_
ERROR:TRAILING_WHITESPACE: trailing whitespace
#135: FILE: app/test/test_memcpy.c:46:
+const char * const nt_mode_str[4] = { $
ERROR:CODE_INDENT: code indent should use tabs where possible
#242: FILE: app/test/test_memcpy.c:140:
+^I^I^I^I^I buf_sizes[i], nt_mode);$
WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#275: FILE: app/test/test_memcpy_perf.c:33:
+ 127, 128, 129, 140, 152, 191, 192, 193, 255, 256, 257, 319, 320, 321, 383, 384, 385, 447, 448,
ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#284: FILE: app/test/test_memcpy_perf.c:66:
+#define ALIGNED_FLAGS ((ALIGNMENT_UNIT << RTE_MEMOPS_F_SRCA_SHIFT) | \
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_DSTA_SHIFT);
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#284: FILE: app/test/test_memcpy_perf.c:66:
+#define ALIGNED_FLAGS ((ALIGNMENT_UNIT << RTE_MEMOPS_F_SRCA_SHIFT) | \
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_DSTA_SHIFT);
ERROR:CODE_INDENT: code indent should use tabs where possible
#285: FILE: app/test/test_memcpy_perf.c:67:
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_DSTA_SHIFT);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#285: FILE: app/test/test_memcpy_perf.c:67:
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_DSTA_SHIFT);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#296: FILE: app/test/test_memcpy_perf.c:181:
+ uint64_t start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#297: FILE: app/test/test_memcpy_perf.c:182:
+ uint64_t total_time_rte = 0, total_time_std = 0; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#298: FILE: app/test/test_memcpy_perf.c:183:
+ uint64_t total_time_ntd = 0, total_time_nts = 0, total_time_nt = 0; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#299: FILE: app/test/test_memcpy_perf.c:184:
+ const uint64_t flags = ((dst_uoffset == 0) ? \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#300: FILE: app/test/test_memcpy_perf.c:185:
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_DSTA_SHIFT) : 0) | \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#300: FILE: app/test/test_memcpy_perf.c:185:
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_DSTA_SHIFT) : 0) | \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#301: FILE: app/test/test_memcpy_perf.c:186:
+ ((src_uoffset == 0) ? \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#301: FILE: app/test/test_memcpy_perf.c:186:
+ ((src_uoffset == 0) ? \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#302: FILE: app/test/test_memcpy_perf.c:187:
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_SRCA_SHIFT) : 0); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#302: FILE: app/test/test_memcpy_perf.c:187:
+ (ALIGNMENT_UNIT << RTE_MEMOPS_F_SRCA_SHIFT) : 0); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#310: FILE: app/test/test_memcpy_perf.c:194:
+ total_time_rte += rte_rdtsc() - start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#310: FILE: app/test/test_memcpy_perf.c:194:
+ total_time_rte += rte_rdtsc() - start_time; \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#319: FILE: app/test/test_memcpy_perf.c:202:
+ total_time_std += rte_rdtsc() - start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#319: FILE: app/test/test_memcpy_perf.c:202:
+ total_time_std += rte_rdtsc() - start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#324: FILE: app/test/test_memcpy_perf.c:204:
+ if (!(is_dst_cached && is_src_cached)) { \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#325: FILE: app/test/test_memcpy_perf.c:205:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#325: FILE: app/test/test_memcpy_perf.c:205:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#325: FILE: app/test/test_memcpy_perf.c:205:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \
ERROR:CODE_INDENT: code indent should use tabs where possible
#326: FILE: app/test/test_memcpy_perf.c:206:
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#326: FILE: app/test/test_memcpy_perf.c:206:
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#327: FILE: app/test/test_memcpy_perf.c:207:
+ src_addrs, is_src_cached, src_uoffset); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#327: FILE: app/test/test_memcpy_perf.c:207:
+ src_addrs, is_src_cached, src_uoffset); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#328: FILE: app/test/test_memcpy_perf.c:208:
+ start_time = rte_rdtsc(); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#328: FILE: app/test/test_memcpy_perf.c:208:
+ start_time = rte_rdtsc(); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#329: FILE: app/test/test_memcpy_perf.c:209:
+ for (t = 0; t < TEST_BATCH_SIZE; t++) \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#329: FILE: app/test/test_memcpy_perf.c:209:
+ for (t = 0; t < TEST_BATCH_SIZE; t++) \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#330: FILE: app/test/test_memcpy_perf.c:210:
+ rte_memcpy_ex(dst+dst_addrs[t], src+src_addrs[t], size, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#330: FILE: app/test/test_memcpy_perf.c:210:
+ rte_memcpy_ex(dst+dst_addrs[t], src+src_addrs[t], size, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#331: FILE: app/test/test_memcpy_perf.c:211:
+ flags | RTE_MEMOPS_F_DST_NT); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#331: FILE: app/test/test_memcpy_perf.c:211:
+ flags | RTE_MEMOPS_F_DST_NT); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#332: FILE: app/test/test_memcpy_perf.c:212:
+ total_time_ntd += rte_rdtsc() - start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#332: FILE: app/test/test_memcpy_perf.c:212:
+ total_time_ntd += rte_rdtsc() - start_time; \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#333: FILE: app/test/test_memcpy_perf.c:213:
+ } \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#333: FILE: app/test/test_memcpy_perf.c:213:
+ } \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#334: FILE: app/test/test_memcpy_perf.c:214:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#334: FILE: app/test/test_memcpy_perf.c:214:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#334: FILE: app/test/test_memcpy_perf.c:214:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \
ERROR:CODE_INDENT: code indent should use tabs where possible
#335: FILE: app/test/test_memcpy_perf.c:215:
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#335: FILE: app/test/test_memcpy_perf.c:215:
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#336: FILE: app/test/test_memcpy_perf.c:216:
+ src_addrs, is_src_cached, src_uoffset); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#336: FILE: app/test/test_memcpy_perf.c:216:
+ src_addrs, is_src_cached, src_uoffset); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#337: FILE: app/test/test_memcpy_perf.c:217:
+ start_time = rte_rdtsc(); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#337: FILE: app/test/test_memcpy_perf.c:217:
+ start_time = rte_rdtsc(); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#338: FILE: app/test/test_memcpy_perf.c:218:
+ for (t = 0; t < TEST_BATCH_SIZE; t++) \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#338: FILE: app/test/test_memcpy_perf.c:218:
+ for (t = 0; t < TEST_BATCH_SIZE; t++) \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#339: FILE: app/test/test_memcpy_perf.c:219:
+ rte_memcpy_ex(dst+dst_addrs[t], src+src_addrs[t], size, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#339: FILE: app/test/test_memcpy_perf.c:219:
+ rte_memcpy_ex(dst+dst_addrs[t], src+src_addrs[t], size, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#340: FILE: app/test/test_memcpy_perf.c:220:
+ flags | RTE_MEMOPS_F_SRC_NT); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#340: FILE: app/test/test_memcpy_perf.c:220:
+ flags | RTE_MEMOPS_F_SRC_NT); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#341: FILE: app/test/test_memcpy_perf.c:221:
+ total_time_nts += rte_rdtsc() - start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#341: FILE: app/test/test_memcpy_perf.c:221:
+ total_time_nts += rte_rdtsc() - start_time; \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#342: FILE: app/test/test_memcpy_perf.c:222:
+ } \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#342: FILE: app/test/test_memcpy_perf.c:222:
+ } \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#343: FILE: app/test/test_memcpy_perf.c:223:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#343: FILE: app/test/test_memcpy_perf.c:223:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#343: FILE: app/test/test_memcpy_perf.c:223:
+ for (iter = 0; iter < (TEST_ITERATIONS / TEST_BATCH_SIZE); iter++) { \
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \
ERROR:CODE_INDENT: code indent should use tabs where possible
#344: FILE: app/test/test_memcpy_perf.c:224:
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#344: FILE: app/test/test_memcpy_perf.c:224:
+ fill_addr_arrays(dst_addrs, is_dst_cached, dst_uoffset, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#345: FILE: app/test/test_memcpy_perf.c:225:
+ src_addrs, is_src_cached, src_uoffset); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#345: FILE: app/test/test_memcpy_perf.c:225:
+ src_addrs, is_src_cached, src_uoffset); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#346: FILE: app/test/test_memcpy_perf.c:226:
+ start_time = rte_rdtsc(); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#346: FILE: app/test/test_memcpy_perf.c:226:
+ start_time = rte_rdtsc(); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#347: FILE: app/test/test_memcpy_perf.c:227:
+ for (t = 0; t < TEST_BATCH_SIZE; t++) \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#347: FILE: app/test/test_memcpy_perf.c:227:
+ for (t = 0; t < TEST_BATCH_SIZE; t++) \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#348: FILE: app/test/test_memcpy_perf.c:228:
+ rte_memcpy_ex(dst+dst_addrs[t], src+src_addrs[t], size, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#348: FILE: app/test/test_memcpy_perf.c:228:
+ rte_memcpy_ex(dst+dst_addrs[t], src+src_addrs[t], size, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#349: FILE: app/test/test_memcpy_perf.c:229:
+ flags | RTE_MEMOPS_F_DST_NT | RTE_MEMOPS_F_SRC_NT); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#349: FILE: app/test/test_memcpy_perf.c:229:
+ flags | RTE_MEMOPS_F_DST_NT | RTE_MEMOPS_F_SRC_NT); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#350: FILE: app/test/test_memcpy_perf.c:230:
+ total_time_nt += rte_rdtsc() - start_time; \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#350: FILE: app/test/test_memcpy_perf.c:230:
+ total_time_nt += rte_rdtsc() - start_time; \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#351: FILE: app/test/test_memcpy_perf.c:231:
+ } \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#351: FILE: app/test/test_memcpy_perf.c:231:
+ } \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#352: FILE: app/test/test_memcpy_perf.c:232:
+ } \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#353: FILE: app/test/test_memcpy_perf.c:233:
+ printf(" %4.0f-", (double)total_time_rte / TEST_ITERATIONS); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#354: FILE: app/test/test_memcpy_perf.c:234:
+ printf("%4.0f", (double)total_time_std / TEST_ITERATIONS); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#355: FILE: app/test/test_memcpy_perf.c:235:
+ printf("(%+4.0f%%)", ((double)total_time_rte - total_time_std)*100/total_time_std); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#356: FILE: app/test/test_memcpy_perf.c:236:
+ if (!(is_dst_cached && is_src_cached)) { \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#357: FILE: app/test/test_memcpy_perf.c:237:
+ printf(" %4.0f", (double)total_time_ntd / TEST_ITERATIONS); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#357: FILE: app/test/test_memcpy_perf.c:237:
+ printf(" %4.0f", (double)total_time_ntd / TEST_ITERATIONS); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#358: FILE: app/test/test_memcpy_perf.c:238:
+ printf(" %4.0f", (double)total_time_nts / TEST_ITERATIONS); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#358: FILE: app/test/test_memcpy_perf.c:238:
+ printf(" %4.0f", (double)total_time_nts / TEST_ITERATIONS); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#359: FILE: app/test/test_memcpy_perf.c:239:
+ printf(" %4.0f", (double)total_time_nt / TEST_ITERATIONS); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#359: FILE: app/test/test_memcpy_perf.c:239:
+ printf(" %4.0f", (double)total_time_nt / TEST_ITERATIONS); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#360: FILE: app/test/test_memcpy_perf.c:240:
+ if (total_time_nt / total_time_std > 9) \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#360: FILE: app/test/test_memcpy_perf.c:240:
+ if (total_time_nt / total_time_std > 9) \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#360: FILE: app/test/test_memcpy_perf.c:240:
+ if (total_time_nt / total_time_std > 9) \
+ printf("(*%4.1f)", (double)total_time_nt/total_time_std); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#361: FILE: app/test/test_memcpy_perf.c:241:
+ printf("(*%4.1f)", (double)total_time_nt/total_time_std); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#361: FILE: app/test/test_memcpy_perf.c:241:
+ printf("(*%4.1f)", (double)total_time_nt/total_time_std); \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#362: FILE: app/test/test_memcpy_perf.c:242:
+ else \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#362: FILE: app/test/test_memcpy_perf.c:242:
+ else \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#362: FILE: app/test/test_memcpy_perf.c:242:
+ else \
+ printf("(%+4.0f%%)", ((double)total_time_nt - total_time_std)*100/total_time_std); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#363: FILE: app/test/test_memcpy_perf.c:243:
+ printf("(%+4.0f%%)", ((double)total_time_nt - total_time_std)*100/total_time_std); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#363: FILE: app/test/test_memcpy_perf.c:243:
+ printf("(%+4.0f%%)", ((double)total_time_nt - total_time_std)*100/total_time_std); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#364: FILE: app/test/test_memcpy_perf.c:244:
+ } \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 4)
#371: FILE: app/test/test_memcpy_perf.c:275:
do { \
+ TEST_CONSTANT(4U); TEST_CONSTANT(6U); TEST_CONSTANT(8U); \
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#373: FILE: app/test/test_memcpy_perf.c:276:
+ TEST_CONSTANT(4U); TEST_CONSTANT(6U); TEST_CONSTANT(8U); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#374: FILE: app/test/test_memcpy_perf.c:277:
+ TEST_CONSTANT(16U); TEST_CONSTANT(64U); TEST_CONSTANT(128U); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#377: FILE: app/test/test_memcpy_perf.c:280:
+ TEST_CONSTANT(2048U); \$
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#544: FILE: lib/eal/include/generic/rte_memcpy.h:211:
+void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#544: FILE: lib/eal/include/generic/rte_memcpy.h:211:
+void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#556: FILE: lib/eal/include/generic/rte_memcpy.h:223:
+void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#556: FILE: lib/eal/include/generic/rte_memcpy.h:223:
+void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#640: FILE: lib/eal/x86/include/rte_memcpy.h:925:
+void rte_memcpy_nts(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#640: FILE: lib/eal/x86/include/rte_memcpy.h:925:
+void rte_memcpy_nts(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#653: FILE: lib/eal/x86/include/rte_memcpy.h:938:
+ if (unlikely(len == 0)) return;
WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#670: FILE: lib/eal/x86/include/rte_memcpy.h:955:
+ /** How many bytes is source away from 16 byte alignment (ceiling rounding). */
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#784: FILE: lib/eal/x86/include/rte_memcpy.h:1069:
+void rte_memcpy_ntd(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#784: FILE: lib/eal/x86/include/rte_memcpy.h:1069:
+void rte_memcpy_ntd(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#795: FILE: lib/eal/x86/include/rte_memcpy.h:1080:
+ if (unlikely(len == 0)) return;
WARNING:LONG_LINE_COMMENT: line length of 108 exceeds 100 columns
#811: FILE: lib/eal/x86/include/rte_memcpy.h:1096:
+ /** How many bytes is destination offset from 16 byte alignment (floor rounding). */
WARNING:LONG_LINE_COMMENT: line length of 116 exceeds 100 columns
#816: FILE: lib/eal/x86/include/rte_memcpy.h:1101:
+ /** How many bytes is destination away from 16 byte alignment (ceiling rounding). */
WARNING:TYPO_SPELLING: 'repectively' may be misspelled - perhaps 'respectively'?
#948: FILE: lib/eal/x86/include/rte_memcpy.h:1233:
+ * and length is known to be repectively 4 and 2 byte aligned.
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#989: FILE: lib/eal/x86/include/rte_memcpy.h:1274:
+void rte_memcpy_nt_15_or_less_s16a(void * __rte_restrict dst,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#990: FILE: lib/eal/x86/include/rte_memcpy.h:1275:
+ const void * __rte_restrict src, size_t len, const uint64_t flags)
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1007: FILE: lib/eal/x86/include/rte_memcpy.h:1292:
+ if ((len & 15) == 0) return;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1075: FILE: lib/eal/x86/include/rte_memcpy.h:1360:
+void rte_memcpy_nt_d16s16a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1075: FILE: lib/eal/x86/include/rte_memcpy.h:1360:
+void rte_memcpy_nt_d16s16a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1093: FILE: lib/eal/x86/include/rte_memcpy.h:1378:
+ if (unlikely(len == 0)) return;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1166: FILE: lib/eal/x86/include/rte_memcpy.h:1451:
+void rte_memcpy_nt_d8s16a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1166: FILE: lib/eal/x86/include/rte_memcpy.h:1451:
+void rte_memcpy_nt_d8s16a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1185: FILE: lib/eal/x86/include/rte_memcpy.h:1470:
+ if (unlikely(len == 0)) return;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1272: FILE: lib/eal/x86/include/rte_memcpy.h:1557:
+void rte_memcpy_nt_d4s16a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1272: FILE: lib/eal/x86/include/rte_memcpy.h:1557:
+void rte_memcpy_nt_d4s16a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1291: FILE: lib/eal/x86/include/rte_memcpy.h:1576:
+ if (unlikely(len == 0)) return;
ERROR:SPACING: space prohibited after that open square bracket '['
#1303: FILE: lib/eal/x86/include/rte_memcpy.h:1588:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 0 * 4), buffer[ 0]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1304: FILE: lib/eal/x86/include/rte_memcpy.h:1589:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 1 * 4), buffer[ 1]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1305: FILE: lib/eal/x86/include/rte_memcpy.h:1590:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 2 * 4), buffer[ 2]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1306: FILE: lib/eal/x86/include/rte_memcpy.h:1591:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 3 * 4), buffer[ 3]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1307: FILE: lib/eal/x86/include/rte_memcpy.h:1592:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 4 * 4), buffer[ 4]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1308: FILE: lib/eal/x86/include/rte_memcpy.h:1593:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 5 * 4), buffer[ 5]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1309: FILE: lib/eal/x86/include/rte_memcpy.h:1594:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 6 * 4), buffer[ 6]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1310: FILE: lib/eal/x86/include/rte_memcpy.h:1595:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 7 * 4), buffer[ 7]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1311: FILE: lib/eal/x86/include/rte_memcpy.h:1596:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 8 * 4), buffer[ 8]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1312: FILE: lib/eal/x86/include/rte_memcpy.h:1597:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 9 * 4), buffer[ 9]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1349: FILE: lib/eal/x86/include/rte_memcpy.h:1634:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 0 * 4), buffer[ 8]);
ERROR:SPACING: space prohibited after that open square bracket '['
#1350: FILE: lib/eal/x86/include/rte_memcpy.h:1635:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 1 * 4), buffer[ 9]);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1392: FILE: lib/eal/x86/include/rte_memcpy.h:1677:
+void rte_memcpy_nt_d4s4a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1392: FILE: lib/eal/x86/include/rte_memcpy.h:1677:
+void rte_memcpy_nt_d4s4a(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1412: FILE: lib/eal/x86/include/rte_memcpy.h:1697:
+ if (unlikely(len == 0)) return;
ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#1440: FILE: lib/eal/x86/include/rte_memcpy.h:1725:
+ switch (len) {
+ case 1 * 4:
[...]
+ case 2 * 4:
[...]
+ case 3 * 4:
WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#1443: FILE: lib/eal/x86/include/rte_memcpy.h:1728:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 0 * 4), buffer[offset / 4]);
WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#1447: FILE: lib/eal/x86/include/rte_memcpy.h:1732:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 0 * 4), buffer[offset / 4]);
WARNING:LONG_LINE: line length of 113 exceeds 100 columns
#1448: FILE: lib/eal/x86/include/rte_memcpy.h:1733:
+ _mm_stream_si32(RTE_PTR_ADD(dst, 1 * 4), buffer[offset / 4 + 1]);
ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#1464: FILE: lib/eal/x86/include/rte_memcpy.h:1749:
+ switch (first) {
+ case 1 * 4:
[...]
+ case 2 * 4:
[...]
+ case 3 * 4:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1549: FILE: lib/eal/x86/include/rte_memcpy.h:1834:
+void rte_memcpy_nt_buf(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1549: FILE: lib/eal/x86/include/rte_memcpy.h:1834:
+void rte_memcpy_nt_buf(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * const bar" should be "foo * const bar"
#1562: FILE: lib/eal/x86/include/rte_memcpy.h:1847:
+ char * const buf0 = &buffer[RTE_CACHE_LINE_SIZE];
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1563: FILE: lib/eal/x86/include/rte_memcpy.h:1848:
+ void * buf;
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1580: FILE: lib/eal/x86/include/rte_memcpy.h:1865:
+ if (unlikely(len == 0)) return;
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#1595: FILE: lib/eal/x86/include/rte_memcpy.h:1880:
+ * unless source is known to be 16 byte aligned. */
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1677: FILE: lib/eal/x86/include/rte_memcpy.h:1962:
+void rte_memcpy_nt_generic(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1677: FILE: lib/eal/x86/include/rte_memcpy.h:1962:
+void rte_memcpy_nt_generic(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1699: FILE: lib/eal/x86/include/rte_memcpy.h:1984:
+void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1699: FILE: lib/eal/x86/include/rte_memcpy.h:1984:
+void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
total: 91 errors, 70 warnings, 1745 lines checked
Warning in lib/eal/include/generic/rte_memcpy.h:
Using compiler attribute directly
^ permalink raw reply [flat|nested] 6+ messages in thread
* |FAILURE| pw117504 [PATCH] eal: non-temporal memcpy
[not found] <20221006203426.78743-1-mb@smartsharesystems.com>
2022-10-06 20:35 ` |WARNING| pw117504 [PATCH] eal: non-temporal memcpy checkpatch
@ 2022-10-06 21:39 ` 0-day Robot
1 sibling, 0 replies; 6+ messages in thread
From: 0-day Robot @ 2022-10-06 21:39 UTC (permalink / raw)
To: test-report; +Cc: mb, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/117504/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3200329016
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-static" failed at step Build and test
"ubuntu-20.04-gcc-shared-mini" failed at step Build and test
"ubuntu-20.04-gcc-shared-doc+tests" failed at step Build and test
"ubuntu-20.04-clang-static" failed at step Build and test
"ubuntu-20.04-clang-shared-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"ubuntu-20.04-gcc-static-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-static-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-shared-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-shared-riscv64" failed at step Build and test
"fedora:35-clang-static" failed at step Build
"fedora:35-clang-shared" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static" at step Build and test
####################################################################################
In file included from ../lib/eal/x86/include/rte_vect.h:16,
from /home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:18,
from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h: In function ‘void rte_memcpy_ex(void*, const void*, size_t, uint64_t)’:
../lib/eal/include/rte_common.h:417:75: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:1987:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
1987 | RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:58: error: size ‘-1’ of array is negative
417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:1987:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
1987 | RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
| ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[4219/4465] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_pflock.cpp.o'.
[4220/4465] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:294:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
294 | perf_test_constant_unaligned(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-mini" at step Build and test
####################################################################################
In file included from ../lib/eal/x86/include/rte_vect.h:16,
from /home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:18,
from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h: In function ‘void rte_memcpy_ex(void*, const void*, size_t, uint64_t)’:
../lib/eal/include/rte_common.h:417:75: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:1987:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
1987 | RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:58: error: size ‘-1’ of array is negative
417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:1987:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
1987 | RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
| ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[1368/1550] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_spinlock.cpp.o'.
[1369/1550] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:294:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
294 | perf_test_constant_unaligned(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-mini" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-doc+tests" at step Build and test
####################################################################################
[3450/4643] Compiling C object 'examples/c590b3c@@dpdk-distributor@exe/distributor_main.c.o'.
[3451/4643] Compiling C object 'examples/c590b3c@@dpdk-cmdline@exe/cmdline_commands.c.o'.
[3452/4643] Compiling C object 'examples/c590b3c@@dpdk-ethtool@exe/ethtool_lib_rte_ethtool.c.o'.
[3453/4643] Linking target examples/dpdk-distributor.
[3454/4643] Linking target examples/dpdk-dma.
[3455/4643] Generating examples.dox with a custom command.
[3456/4643] Compiling C object 'examples/c590b3c@@dpdk-ethtool@exe/ethtool_ethtool-app_main.c.o'.
[3457/4643] Generating doxygen with a custom command.
FAILED: doc/api/html
/usr/bin/python3 ../doc/api/generate_doxygen.py doc/api/html /usr/bin/doxygen doc/api/doxy-api.conf
/home/runner/work/dpdk/dpdk/lib/eal/include/generic/rte_memcpy.h:187: error: argument 'flags' of command @param is not found in the argument list of rte_memcpy_ex(void *__rte_restrict dst, const void *__rte_restrict src, size_t len, const uint64_t flags __rte_unused) (warning treated as error, aborting now)
Traceback (most recent call last):
File "../doc/api/generate_doxygen.py", line 13, in <module>
subprocess.run(doxygen_command, check=True, stdout=out)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/doxygen', 'doc/api/doxy-api.conf']' returned non-zero exit status 1.
[3458/4643] Generating html_guides with a custom command.
[3459/4643] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:294:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
294 | perf_test_constant_unaligned(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-static" at step Build and test
####################################################################################
../lib/eal/x86/include/rte_memcpy.h:1853:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h:1965:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h:1987:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
13 errors generated.
[34/4465] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_tailqs.c.o'.
[35/4465] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_thread.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-shared-asan+doc+tests" at step Build and test
####################################################################################
../lib/eal/x86/include/rte_memcpy.h:1853:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h:1965:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h:1987:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
13 errors generated.
[33/4643] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_memory.c.o'.
[34/4643] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_tailqs.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-shared-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[41/3122] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o
ccache gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o' -c ../lib/eal/common/eal_common_options.c
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h: In function ‘rte_memcpy_nt_15_or_less_s16a’:
../lib/eal/x86/include/rte_memcpy.h:1306:5: error: implicit declaration of function ‘_mm_stream_si64’; did you mean ‘_mm_stream_si32’? [-Werror=implicit-function-declaration]
1306 | _mm_stream_si64(dst, *(const int64_t *)src);
| ^~~~~~~~~~~~~~~
| _mm_stream_si32
../lib/eal/x86/include/rte_memcpy.h:1306:5: error: nested extern declaration of ‘_mm_stream_si64’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[42/3122] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_reciprocal.c.o'.
[43/3122] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o
ccache gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:12:
../lib/eal/x86/include/rte_memcpy.h: In function ‘rte_memcpy_nt_15_or_less_s16a’:
../lib/eal/x86/include/rte_memcpy.h:1306:5: error: implicit declaration of function ‘_mm_stream_si64’; did you mean ‘_mm_stream_si32’? [-Werror=implicit-function-declaration]
1306 | _mm_stream_si64(dst, *(const int64_t *)src);
| ^~~~~~~~~~~~~~~
| _mm_stream_si32
../lib/eal/x86/include/rte_memcpy.h:1306:5: error: nested extern declaration of ‘_mm_stream_si64’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
In file included from ../lib/eal/x86/include/rte_vect.h:16,
from /home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:18,
from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h: In function ‘void rte_memcpy_ex(void*, const void*, size_t, uint64_t)’:
../lib/eal/include/rte_common.h:417:75: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long long unsigned int’ [-Wnarrowing]
417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:1987:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
1987 | RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:58: error: size ‘-1’ of array is negative
417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:1987:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
1987 | RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
| ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[1177/1322] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_power_intrinsics.cpp.obj'.
[1178/1322] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.obj'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:294:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
294 | perf_test_constant_unaligned(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-aarch64" at step Build and test
####################################################################################
../lib/eal/include/generic/rte_memcpy.h:211:1: error: expected ‘,’ or ‘;’ before ‘void’
../lib/eal/include/generic/rte_memcpy.h:217:19: error: expected ‘;’ before ‘static’
217 | __rte_experimental
| ^
| ;
218 | static __rte_always_inline
| ~~~~~~
../lib/eal/include/generic/rte_memcpy.h:220:36: error: "GCC_VERSION" is not defined, evaluates to 0 [-Werror=undef]
220 | #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)
| ^~~~~~~~~~~
../lib/eal/include/generic/rte_memcpy.h:218:8: error: type defaults to ‘int’ in declaration of ‘__rte_always_inline’ [-Werror=implicit-int]
218 | static __rte_always_inline
| ^~~~~~~~~~~~~~~~~~~
../lib/eal/include/generic/rte_memcpy.h:223:1: error: ‘nonnull’ attribute only applies to function types [-Werror=attributes]
223 | void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
| ^~~~
../lib/eal/include/generic/rte_memcpy.h:223:1: error: expected ‘,’ or ‘;’ before ‘void’
../lib/eal/include/generic/rte_memcpy.h:218:8: error: ‘__rte_always_inline’ defined but not used [-Werror=unused-variable]
218 | static __rte_always_inline
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[44/4085] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_random.c.o'.
[45/4085] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_heap.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
../lib/eal/include/generic/rte_memcpy.h:211:1: error: expected ‘,’ or ‘;’ before ‘void’
../lib/eal/include/generic/rte_memcpy.h:217:19: error: expected ‘;’ before ‘static’
217 | __rte_experimental
| ^
| ;
218 | static __rte_always_inline
| ~~~~~~
../lib/eal/include/generic/rte_memcpy.h:220:36: error: "GCC_VERSION" is not defined, evaluates to 0 [-Werror=undef]
220 | #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)
| ^~~~~~~~~~~
../lib/eal/include/generic/rte_memcpy.h:218:8: error: type defaults to ‘int’ in declaration of ‘__rte_always_inline’ [-Werror=implicit-int]
218 | static __rte_always_inline
| ^~~~~~~~~~~~~~~~~~~
../lib/eal/include/generic/rte_memcpy.h:223:1: error: ‘nonnull’ attribute only applies to function types [-Werror=attributes]
223 | void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
| ^~~~
../lib/eal/include/generic/rte_memcpy.h:223:1: error: expected ‘,’ or ‘;’ before ‘void’
../lib/eal/include/generic/rte_memcpy.h:218:8: error: ‘__rte_always_inline’ defined but not used [-Werror=unused-variable]
218 | static __rte_always_inline
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[44/4260] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_random.c.o'.
[45/4260] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_heap.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-ppc64le" at step Build and test
####################################################################################
[35/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_timer.c.o'.
[36/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_uuid.c.o'.
[37/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_trace_points.c.o'.
[38/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_elem.c.o'.
[39/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/ppc/include/rte_memcpy.h:19,
from ../lib/eal/common/rte_malloc.c:12:
../lib/eal/include/generic/rte_memcpy.h:205:19: error: expected ‘;’ before ‘static’
205 | __rte_experimental
| ^
| ;
206 | static __rte_always_inline
| ~~~~~~
../lib/eal/include/generic/rte_memcpy.h:217:19: error: expected ‘;’ before ‘static’
217 | __rte_experimental
| ^
| ;
218 | static __rte_always_inline
| ~~~~~~
[40/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o'.
[41/3926] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_heap.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
[35/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_timer.c.o'.
[36/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_uuid.c.o'.
[37/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_elem.c.o'.
[38/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_trace_points.c.o'.
[39/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/ppc/include/rte_memcpy.h:19,
from ../lib/eal/common/rte_malloc.c:12:
../lib/eal/include/generic/rte_memcpy.h:205:19: error: expected ‘;’ before ‘static’
205 | __rte_experimental
| ^
| ;
206 | static __rte_always_inline
| ~~~~~~
../lib/eal/include/generic/rte_memcpy.h:217:19: error: expected ‘;’ before ‘static’
217 | __rte_experimental
| ^
| ;
218 | static __rte_always_inline
| ~~~~~~
[40/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o'.
[41/4101] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_heap.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-riscv64" at step Build and test
####################################################################################
[36/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_uuid.c.o'.
[37/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_trace_points.c.o'.
[38/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_elem.c.o'.
[39/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o'.
[40/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/riscv/include/rte_memcpy.h:19,
from ../lib/eal/common/rte_malloc.c:12:
../lib/eal/include/generic/rte_memcpy.h:205:19: error: expected ‘;’ before ‘static’
205 | __rte_experimental
| ^
| ;
206 | static __rte_always_inline
| ~~~~~~
../lib/eal/include/generic/rte_memcpy.h:217:19: error: expected ‘;’ before ‘static’
217 | __rte_experimental
| ^
| ;
218 | static __rte_always_inline
| ~~~~~~
[41/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_random.c.o'.
[42/4071] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_heap.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-clang-static" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang-static" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-clang-shared" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang-shared" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* |FAILURE| pw117504 [PATCH] eal: non-temporal memcpy
@ 2022-10-06 21:43 dpdklab
0 siblings, 0 replies; 6+ messages in thread
From: dpdklab @ 2022-10-06 21:43 UTC (permalink / raw)
To: Test Report
Cc: dpdk-test-reports, David Marchand, Thomas Monjalon, Morten Brørup
[-- Attachment #1: Type: text/plain, Size: 4636 bytes --]
Test-Label: iol-x86_64-compile-testing
Test-Status: FAILURE
http://dpdk.org/patch/117504
_Testing issues_
Submitter: Morten Brørup <mb@smartsharesystems.com>
Date: Thursday, October 06 2022 20:34:26
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:4ed890495594a71e618d62fd975c5868915eb4a1
117504 --> testing fail
Test environment and result as below:
+---------------------+--------------------+----------------------+
| Environment | dpdk_meson_compile | dpdk_mingw64_compile |
+=====================+====================+======================+
| Windows Server 2019 | FAIL | PASS |
+---------------------+--------------------+----------------------+
| RHEL 7 | FAIL | SKIPPED |
+---------------------+--------------------+----------------------+
| FreeBSD 13 | FAIL | SKIPPED |
+---------------------+--------------------+----------------------+
| Fedora 31 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| openSUSE Leap 15 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| RHEL8 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| Fedora 34 clang | FAIL | SKIPPED |
+---------------------+--------------------+----------------------+
| Ubuntu 18.04 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| Fedora 34 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| Ubuntu 20.04 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| Fedora 32 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
| Fedora 33 | PASS | SKIPPED |
+---------------------+--------------------+----------------------+
==== 20 line log output for Fedora 34 clang (dpdk_meson_compile): ====
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h:1965:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h:1987:2: error: array size is negative
RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:56: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
13 errors generated.
ninja: build stopped: subcommand failed.
==== End log output ====
Windows Server 2019
Kernel: 10.0
Compiler: clang 14.0 and gcc 8.1.0 (MinGW)
RHEL 7
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
FreeBSD 13
Kernel: 13.0
Compiler: clang 11.0.1
Fedora 31
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 9.3.1
openSUSE Leap 15
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 7.5.0
RHEL8
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 8.3.1 20191121 (Red Hat 8.3.1-5)
Fedora 34 clang
Kernel: 5.4.0-72-generic
Compiler: clang 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
Ubuntu 18.04
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 7.5.0-3ubuntu1~18.04
Fedora 34
Kernel: 5.4.0-72-generic
Compiler: gcc 11.1.1 20210428 (Red Hat 11.1.1-1)
Ubuntu 20.04
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 9.3.0-17ubuntu1~20.04
Fedora 32
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 10.2.1
Fedora 33
Kernel: 5.4.0-72-generic
Compiler: gcc 10.3.1 20210422 (Red Hat 10.3.1-1)
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/23814/
UNH-IOL DPDK Community Lab
To manage your email subscriptions, visit:
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/
^ permalink raw reply [flat|nested] 6+ messages in thread
* |FAILURE| pw117504 [PATCH] eal: non-temporal memcpy
@ 2022-10-06 21:36 dpdklab
0 siblings, 0 replies; 6+ messages in thread
From: dpdklab @ 2022-10-06 21:36 UTC (permalink / raw)
To: Test Report
Cc: dpdk-test-reports, David Marchand, Thomas Monjalon, Morten Brørup
[-- Attachment #1: Type: text/plain, Size: 3638 bytes --]
Test-Label: iol-x86_64-unit-testing
Test-Status: FAILURE
http://dpdk.org/patch/117504
_Testing issues_
Submitter: Morten Brørup <mb@smartsharesystems.com>
Date: Thursday, October 06 2022 20:34:26
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:4ed890495594a71e618d62fd975c5868915eb4a1
117504 --> testing fail
Test environment and result as below:
+---------------------+----------------+
| Environment | dpdk_unit_test |
+=====================+================+
| RHEL 7 | FAIL |
+---------------------+----------------+
| Windows Server 2019 | FAIL |
+---------------------+----------------+
| Fedora 34 clang | FAIL |
+---------------------+----------------+
| RHEL8 | FAIL |
+---------------------+----------------+
| Fedora 34 | FAIL |
+---------------------+----------------+
| Fedora 32 | FAIL |
+---------------------+----------------+
| Ubuntu 20.04 | FAIL |
+---------------------+----------------+
| Fedora 31 | FAIL |
+---------------------+----------------+
| Ubuntu 18.04 | FAIL |
+---------------------+----------------+
| Fedora 33 | FAIL |
+---------------------+----------------+
| openSUSE Leap 15 | FAIL |
+---------------------+----------------+
==== 20 line log output for openSUSE Leap 15 (dpdk_unit_test): ====
93/103 DPDK:fast-tests / telemetry_json_autotest OK 0.17 s
94/103 DPDK:fast-tests / telemetry_data_autotest OK 0.17 s
95/103 DPDK:fast-tests / table_autotest OK 6.09 s
96/103 DPDK:fast-tests / ring_pmd_autotest OK 0.18 s
97/103 DPDK:fast-tests / event_eth_tx_adapter_autotest OK 0.52 s
98/103 DPDK:fast-tests / bitratestats_autotest OK 0.17 s
99/103 DPDK:fast-tests / latencystats_autotest OK 0.17 s
100/103 DPDK:fast-tests / pdump_autotest OK 5.23 s
101/103 DPDK:fast-tests / vdev_autotest OK 0.17 s
102/103 DPDK:fast-tests / compressdev_autotest SKIP 0.17 s
103/103 DPDK:fast-tests / telemetry_all SKIP 0.01 s
Ok: 93
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 9
Timeout: 0
Full log written to /home-local/jenkins-local/jenkins-agent/workspace/Generic-Unit-Test-DPDK@2/dpdk/build/meson-logs/testlog.txt
==== End log output ====
RHEL 7
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
Windows Server 2019
Kernel: 10.0
Compiler: clang 14.0 and gcc 8.1.0 (MinGW)
Fedora 34 clang
Kernel: 5.4.0-72-generic
Compiler: clang 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
RHEL8
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 8.3.1 20191121 (Red Hat 8.3.1-5)
Fedora 34
Kernel: 5.4.0-72-generic
Compiler: gcc 11.1.1 20210428 (Red Hat 11.1.1-1)
Fedora 32
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 10.2.1
Ubuntu 20.04
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 9.3.0-17ubuntu1~20.04
Fedora 31
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 9.3.1
Ubuntu 18.04
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 7.5.0-3ubuntu1~18.04
Fedora 33
Kernel: 5.4.0-72-generic
Compiler: gcc 10.3.1 20210422 (Red Hat 10.3.1-1)
openSUSE Leap 15
Kernel: 4.18.0-240.10.1.el8_3.x86_64
Compiler: gcc 7.5.0
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/23814/
UNH-IOL DPDK Community Lab
To manage your email subscriptions, visit:
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/
^ permalink raw reply [flat|nested] 6+ messages in thread
* |FAILURE| pw117504 [PATCH] eal: non-temporal memcpy
@ 2022-10-06 21:26 dpdklab
0 siblings, 0 replies; 6+ messages in thread
From: dpdklab @ 2022-10-06 21:26 UTC (permalink / raw)
To: Test Report; +Cc: dpdklab, David Marchand, Thomas Monjalon, Morten Brørup
[-- Attachment #1: Type: text/plain, Size: 3375 bytes --]
Test-Label: iol-aarch64-compile-testing
Test-Status: FAILURE
http://dpdk.org/patch/117504
_Testing issues_
Submitter: Morten Brørup <mb@smartsharesystems.com>
Date: Thursday, October 06 2022 20:34:26
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:4ed890495594a71e618d62fd975c5868915eb4a1
117504 --> testing fail
Test environment and result as below:
+----------------------------------------+--------------------+
| Environment | dpdk_meson_compile |
+========================================+====================+
| Ubuntu 20.04 ARM Clang Native | FAIL |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM GCC Native | FAIL |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM GCC Cross Compile | FAIL |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM Clang Cross Compile | FAIL |
+----------------------------------------+--------------------+
| Ubuntu 20.04 aarch32 GCC Cross Compile | FAIL |
+----------------------------------------+--------------------+
| Ubuntu 20.04 ARM SVE | FAIL |
+----------------------------------------+--------------------+
==== 20 line log output for Ubuntu 20.04 ARM SVE (dpdk_meson_compile): ====
217 | __rte_experimental
| ^
| ;
218 | static __rte_always_inline
| ~~~~~~
../lib/eal/include/generic/rte_memcpy.h:220:36: error: "GCC_VERSION" is not defined, evaluates to 0 [-Werror=undef]
220 | #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)
| ^~~~~~~~~~~
../lib/eal/include/generic/rte_memcpy.h:218:8: error: type defaults to 'int' in declaration of '__rte_always_inline' [-Werror=implicit-int]
218 | static __rte_always_inline
| ^~~~~~~~~~~~~~~~~~~
../lib/eal/include/generic/rte_memcpy.h:223:1: error: 'nonnull' attribute only applies to function types [-Werror=attributes]
223 | void rte_memcpy_ex(void * __rte_restrict dst, const void * __rte_restrict src, size_t len,
| ^~~~
../lib/eal/include/generic/rte_memcpy.h:223:1: error: expected ',' or ';' before 'void'
../lib/eal/include/generic/rte_memcpy.h:218:8: error: '__rte_always_inline' defined but not used [-Werror=unused-variable]
218 | static __rte_always_inline
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==== End log output ====
Ubuntu 20.04 ARM Clang Native
Kernel: 5.4.0-53-generic
Compiler: clang 10.0.0-4ubuntu1
Ubuntu 20.04 ARM GCC Native
Kernel: 5.4.0-53-generic
Compiler: gcc 9.3
Ubuntu 20.04 ARM GCC Cross Compile
Kernel: 5.4.0-72-generic
Compiler: aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Ubuntu 20.04 ARM Clang Cross Compile
Kernel: 5.4.0-72-generic
Compiler: clang version 10.0.0-4ubuntu1
Ubuntu 20.04 aarch32 GCC Cross Compile
Kernel: 5.4.0-72-generic
Compiler: gcc 9.3.0
Ubuntu 20.04 ARM SVE
Kernel: 5.4.0-80-generic
Compiler: gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04)
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/23814/
UNH-IOL DPDK Community Lab
To manage your email subscriptions, visit:
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/
^ permalink raw reply [flat|nested] 6+ messages in thread
* |FAILURE| pw117504 [PATCH] eal: non-temporal memcpy
@ 2022-10-06 20:59 dpdklab
0 siblings, 0 replies; 6+ messages in thread
From: dpdklab @ 2022-10-06 20:59 UTC (permalink / raw)
To: Test Report; +Cc: dpdklab, David Marchand, Thomas Monjalon, Morten Brørup
[-- Attachment #1: Type: text/plain, Size: 3005 bytes --]
Test-Label: iol-aarch64-unit-testing
Test-Status: FAILURE
http://dpdk.org/patch/117504
_Testing issues_
Submitter: Morten Brørup <mb@smartsharesystems.com>
Date: Thursday, October 06 2022 20:34:26
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:4ed890495594a71e618d62fd975c5868915eb4a1
117504 --> testing fail
Test environment and result as below:
+-------------------------------+--------------+----------------+
| Environment | lpm_autotest | dpdk_unit_test |
+===============================+==============+================+
| Ubuntu 20.04 ARM SVE | FAIL | SKIPPED |
+-------------------------------+--------------+----------------+
| Ubuntu 20.04 ARM GCC Native | SKIPPED | FAIL |
+-------------------------------+--------------+----------------+
| Ubuntu 20.04 ARM Clang Native | SKIPPED | FAIL |
+-------------------------------+--------------+----------------+
==== 20 line log output for Ubuntu 20.04 ARM Clang Native (dpdk_unit_test): ====
[91/3505] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o
[92/3505] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[93/3505] Compiling C object lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o
[94/3505] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o
[95/3505] Compiling C object lib/librte_net.a.p/net_rte_net.c.o
[96/3505] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_tm.c.o
[97/3505] Compiling C object lib/librte_eal.a.p/eal_linux_eal_interrupts.c.o
[98/3505] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[99/3505] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
[100/3505] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o
[101/3505] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[102/3505] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[103/3505] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[104/3505] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[105/3505] Compiling C object lib/librte_eal.a.p/eal_linux_eal_memory.c.o
[106/3505] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[107/3505] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[108/3505] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
[109/3505] Compiling C object lib/librte_eal.a.p/eal_linux_eal_vfio.c.o
ninja: build stopped: subcommand failed.
==== End log output ====
Ubuntu 20.04 ARM SVE
Kernel: 5.4.0-80-generic
Compiler: gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04)
Ubuntu 20.04 ARM GCC Native
Kernel: 5.4.0-53-generic
Compiler: gcc 9.3
Ubuntu 20.04 ARM Clang Native
Kernel: 5.4.0-53-generic
Compiler: clang 10.0.0-4ubuntu1
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/23814/
UNH-IOL DPDK Community Lab
To manage your email subscriptions, visit:
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-10-06 21:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20221006203426.78743-1-mb@smartsharesystems.com>
2022-10-06 20:35 ` |WARNING| pw117504 [PATCH] eal: non-temporal memcpy checkpatch
2022-10-06 21:39 ` |FAILURE| " 0-day Robot
2022-10-06 20:59 dpdklab
2022-10-06 21:26 dpdklab
2022-10-06 21:36 dpdklab
2022-10-06 21:43 dpdklab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).