From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1303631617371919713==" MIME-Version: 1.0 From: Wenhua Liu Subject: [SPDK] Unit test failure for review submission Date: Fri, 01 May 2020 03:05:06 +0000 Message-ID: List-ID: To: spdk@lists.01.org --===============1303631617371919713== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, I tried to submit a change for review, some unit test was run and failed, b= ut I did not touch any of these files. I=E2=80=99m on top of the master bra= nch. warning: redirecting to https://review.spdk.io/gerrit/spdk/spdk/ Running make with clang ... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/vmware/spdk/spdk/dpdk/build/include/rte_memcpy.h:359:23: error: cast = from 'uint8_t *' (aka 'unsigned char *') to '__m256i *' increases required = alignment from 1 to 32 [-Werror,-Wcast-align] _mm256_storeu_si256((__m256i *)((uint8_t *)dst + 1 * 32), y= mm1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/vmware/spdk/spdk/dpdk/build/include/rte_memcpy.h:360:23: error: cast = from 'uint8_t *' (aka 'unsigned char *') to '__m256i *' increases required = alignment from 1 to 32 [-Werror,-Wcast-align] _mm256_storeu_si256((__m256i *)((uint8_t *)dst + 2 * 32), y= mm2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/vmware/spdk/spdk/dpdk/build/include/rte_memcpy.h:361:23: error: cast = from 'uint8_t *' (aka 'unsigned char *') to '__m256i *' increases required = alignment from 1 to 32 [-Werror,-Wcast-align] _mm256_storeu_si256((__m256i *)((uint8_t *)dst + 3 * 32), y= mm3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 errors generated. make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:11= 4: malloc_heap.o] Error 1 make[7]: *** [/home/vmware/spdk/spdk/dpdk/mk/rte.subdir.mk:37: eal] Error 2 make[6]: *** [/home/vmware/spdk/spdk/dpdk/mk/rte.subdir.mk:37: linux] Error= 2 make[5]: *** [/home/vmware/spdk/spdk/dpdk/mk/rte.subdir.mk:37: librte_eal] = Error 2 make[4]: *** [/home/vmware/spdk/spdk/dpdk/mk/rte.sdkbuild.mk:48: lib] Error= 2 make[3]: *** [/home/vmware/spdk/spdk/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[2]: *** [Makefile:12: all] Error 2 make[1]: *** [Makefile:150: all] Error 2 make: *** [/home/vmware/spdk/spdk/mk/spdk.subdirs.mk:44: dpdkbuild] Error 2 ERROR make CC=3Dclang CXX=3Dclang++ returned errors! ERROR Fix the problem and use 'git commit' to update your changes. ERROR See /home/vmware/spdk/spdk/make.log for more information. error: failed to push some refs to 'https://review.spdk.io/spdk/spdk' Checking make.log, I did not see any test failed. What could be wrong? Thanks, -Wenhua Liu --===============1303631617371919713==--