All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] Re: Unit test failure for review submission
@ 2020-05-01 15:06 Harris, James R
  0 siblings, 0 replies; 5+ messages in thread
From: Harris, James R @ 2020-05-01 15:06 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 4517 bytes --]

Hi Wenhua,

Could you try:

CC=clang CXX=clang++ ./configure
make

There is a bug in our dpdkbuild/Makefile, so please still file an issue for it.  But the above works on my system and should unblock you.

The problem is that DPDK gets configured and built based on the compiler specified when SPDK's configure script was called, not the one specified on the make file.  That's a bug.  We need to fix how CC_TYPE is evaluated in dpdkbuild/Makefile.

-Jim

On 5/1/20, 7:52 AM, "Harris, James R" <james.r.harris(a)intel.com> wrote:

    Hi Wenhua,

    Thanks for the report.  Can you file a github issue for this?  There's no review link required - it's easily reproducible by just running "./configure --enable-werror; make CC=clang CXX=clang++".  It's possible this has been fixed with more recent DPDK, or there is some flag we can pass to the DPDK build to disable this warning.

    Regards,

    -Jim




    On 5/1/20, 5:45 AM, "Luse, Paul E" <paul.e.luse(a)intel.com> wrote:

        Hi Wenhua,

        Can you provide a link to the actual review?

        Thanks
        Paul

        -----Original Message-----
        From: Wenhua Liu [mailto:liuw(a)vmware.com] 
        Sent: Thursday, April 30, 2020 8:05 PM
        To: Storage Performance Development Kit <spdk(a)lists.01.org>
        Subject: [SPDK] Unit test failure for review submission

        Hi,

        I tried to submit a change for review, some unit test was run and failed, but I did not touch any of these files. I’m on top of the master branch.




        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), ymm1);

                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        /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), ymm2);

                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        /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), ymm3);

                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        12 errors generated.

        make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:114: 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=clang CXX=clang++ 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
        _______________________________________________
        SPDK mailing list -- spdk(a)lists.01.org
        To unsubscribe send an email to spdk-leave(a)lists.01.org
        _______________________________________________
        SPDK mailing list -- spdk(a)lists.01.org
        To unsubscribe send an email to spdk-leave(a)lists.01.org



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: Unit test failure for review submission
@ 2020-05-01 17:33 Wenhua Liu
  0 siblings, 0 replies; 5+ messages in thread
From: Wenhua Liu @ 2020-05-01 17:33 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 4098 bytes --]

Hi Paul,

The review is not available yet.  The problem happens when I do "git push review", so the review cannot be pushed up to Gerrit.

Thanks,
-Wenhua

On 5/1/20, 5:45 AM, "Luse, Paul E" <paul.e.luse(a)intel.com> wrote:

    Hi Wenhua,

    Can you provide a link to the actual review?

    Thanks
    Paul

    -----Original Message-----
    From: Wenhua Liu [mailto:liuw(a)vmware.com] 
    Sent: Thursday, April 30, 2020 8:05 PM
    To: Storage Performance Development Kit <spdk(a)lists.01.org>
    Subject: [SPDK] Unit test failure for review submission

    Hi,

    I tried to submit a change for review, some unit test was run and failed, but I did not touch any of these files. I’m on top of the master branch.




    warning: redirecting to https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.spdk.io%2Fgerrit%2Fspdk%2Fspdk%2F&amp;data=02%7C01%7Cliuw%40vmware.com%7C69b851fa037a4001ef2608d7edcd7a8a%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637239339092642264&amp;sdata=4z9q05L9AWTFTHlDCGSnaS0nThoy7n6Pl%2B8FtUY19Oc%3D&amp;reserved=0



    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), ymm1);

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    /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), ymm2);

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    /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), ymm3);

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    12 errors generated.

    make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:114: 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=clang CXX=clang++ 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.spdk.io%2Fspdk%2Fspdk&amp;data=02%7C01%7Cliuw%40vmware.com%7C69b851fa037a4001ef2608d7edcd7a8a%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637239339092642264&amp;sdata=sHqHgUPShZ4Ep8oGvsrNAHBVBEWvLOg87m%2BC2NHQoUM%3D&amp;reserved=0'



    Checking make.log, I did not see any test failed.



    What could be wrong?





    Thanks,

    -Wenhua Liu
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: Unit test failure for review submission
@ 2020-05-01 16:58 Wenhua Liu
  0 siblings, 0 replies; 5+ messages in thread
From: Wenhua Liu @ 2020-05-01 16:58 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 8537 bytes --]

Hi Jim,

Thank you for answering my question. I don't have problem running configure and make. My problem is when running "git push review" which triggers some unit testing which does make with clang. Even I added CC and CXX definitions to the git command (see below) as you suggested, the problem still happens.

vmware(a)ionerds-nvme4t:~/spdk/spdk$ CC=clang CXX=clang++; git push review                                                                                                                                                                                      
Username for 'https://review.spdk.io': liu-wenhua
Password for 'https://liu-wenhua(a)review.spdk.io': 
warning: redirecting to https://review.spdk.io/gerrit/spdk/spdk/
Running make with gcc ...
Running unittest.sh ...
[sudo] password for vmware: 
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), ymm1);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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), ymm2);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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), ymm3);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 errors generated.
make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:114: 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=clang CXX=clang++ 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'
vmware(a)ionerds-nvme4t:~/spdk/spdk$ 

Thanks,
-Wenhua


On 5/1/20, 8:07 AM, "Harris, James R" <james.r.harris(a)intel.com> wrote:

    Hi Wenhua,

    Could you try:

    CC=clang CXX=clang++ ./configure
    make

    There is a bug in our dpdkbuild/Makefile, so please still file an issue for it.  But the above works on my system and should unblock you.

    The problem is that DPDK gets configured and built based on the compiler specified when SPDK's configure script was called, not the one specified on the make file.  That's a bug.  We need to fix how CC_TYPE is evaluated in dpdkbuild/Makefile.

    -Jim

    On 5/1/20, 7:52 AM, "Harris, James R" <james.r.harris(a)intel.com> wrote:

        Hi Wenhua,

        Thanks for the report.  Can you file a github issue for this?  There's no review link required - it's easily reproducible by just running "./configure --enable-werror; make CC=clang CXX=clang++".  It's possible this has been fixed with more recent DPDK, or there is some flag we can pass to the DPDK build to disable this warning.

        Regards,

        -Jim




        On 5/1/20, 5:45 AM, "Luse, Paul E" <paul.e.luse(a)intel.com> wrote:

            Hi Wenhua,

            Can you provide a link to the actual review?

            Thanks
            Paul

            -----Original Message-----
            From: Wenhua Liu [mailto:liuw(a)vmware.com] 
            Sent: Thursday, April 30, 2020 8:05 PM
            To: Storage Performance Development Kit <spdk(a)lists.01.org>
            Subject: [SPDK] Unit test failure for review submission

            Hi,

            I tried to submit a change for review, some unit test was run and failed, but I did not touch any of these files. I’m on top of the master branch.




            warning: redirecting to https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.spdk.io%2Fgerrit%2Fspdk%2Fspdk%2F&amp;data=02%7C01%7Cliuw%40vmware.com%7C888fe40b80a74f69f5b108d7ede15092%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637239424287600257&amp;sdata=6qXrcG3wXLgt1DXWxNSRoCfJ1fMovhkOfk3s%2BGUYtF0%3D&amp;reserved=0



            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), ymm1);

                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            /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), ymm2);

                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            /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), ymm3);

                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            12 errors generated.

            make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:114: 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=clang CXX=clang++ 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.spdk.io%2Fspdk%2Fspdk&amp;data=02%7C01%7Cliuw%40vmware.com%7C888fe40b80a74f69f5b108d7ede15092%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637239424287600257&amp;sdata=GK5sIncc9ZvflYFdkkHGo06ASAExQw9dq6E9fQ5fm3k%3D&amp;reserved=0'



            Checking make.log, I did not see any test failed.



            What could be wrong?





            Thanks,

            -Wenhua Liu
            _______________________________________________
            SPDK mailing list -- spdk(a)lists.01.org
            To unsubscribe send an email to spdk-leave(a)lists.01.org
            _______________________________________________
            SPDK mailing list -- spdk(a)lists.01.org
            To unsubscribe send an email to spdk-leave(a)lists.01.org


    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: Unit test failure for review submission
@ 2020-05-01 14:52 Harris, James R
  0 siblings, 0 replies; 5+ messages in thread
From: Harris, James R @ 2020-05-01 14:52 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 3761 bytes --]

Hi Wenhua,

Thanks for the report.  Can you file a github issue for this?  There's no review link required - it's easily reproducible by just running "./configure --enable-werror; make CC=clang CXX=clang++".  It's possible this has been fixed with more recent DPDK, or there is some flag we can pass to the DPDK build to disable this warning.

Regards,

-Jim




On 5/1/20, 5:45 AM, "Luse, Paul E" <paul.e.luse(a)intel.com> wrote:

    Hi Wenhua,

    Can you provide a link to the actual review?

    Thanks
    Paul

    -----Original Message-----
    From: Wenhua Liu [mailto:liuw(a)vmware.com] 
    Sent: Thursday, April 30, 2020 8:05 PM
    To: Storage Performance Development Kit <spdk(a)lists.01.org>
    Subject: [SPDK] Unit test failure for review submission

    Hi,

    I tried to submit a change for review, some unit test was run and failed, but I did not touch any of these files. I’m on top of the master branch.




    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), ymm1);

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    /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), ymm2);

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    /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), ymm3);

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    12 errors generated.

    make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:114: 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=clang CXX=clang++ 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
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: Unit test failure for review submission
@ 2020-05-01 12:45 Luse, Paul E
  0 siblings, 0 replies; 5+ messages in thread
From: Luse, Paul E @ 2020-05-01 12:45 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 2973 bytes --]

Hi Wenhua,

Can you provide a link to the actual review?

Thanks
Paul

-----Original Message-----
From: Wenhua Liu [mailto:liuw(a)vmware.com] 
Sent: Thursday, April 30, 2020 8:05 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Unit test failure for review submission

Hi,

I tried to submit a change for review, some unit test was run and failed, but I did not touch any of these files. I’m on top of the master branch.




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), ymm1);

                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/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), ymm2);

                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/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), ymm3);

                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

12 errors generated.

make[8]: *** [/home/vmware/spdk/spdk/dpdk/mk/internal/rte.compile-pre.mk:114: 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=clang CXX=clang++ 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
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-01 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 15:06 [SPDK] Re: Unit test failure for review submission Harris, James R
  -- strict thread matches above, loose matches on Subject: below --
2020-05-01 17:33 Wenhua Liu
2020-05-01 16:58 Wenhua Liu
2020-05-01 14:52 Harris, James R
2020-05-01 12:45 Luse, Paul E

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.