[dpdk-test-report] |FAILURE| pw93078 [dpdk-dev] [PATCH 2/2] eal: fix side effects in ptr align macros

0-day Robot robot at bytheb.org
Sun May 9 20:59:32 CEST 2021


From: robot at bytheb.org

Test-Label: github-robot
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/93078/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/825728496
Build Logs:
-----------------------Summary of failed steps-----------------------
ubuntu-18.04-gcc-static failed at step "Build and test"
ubuntu-18.04-gcc-shared-abi+doc+tests failed at step "Build and test"
ubuntu-18.04-clang-static failed at step "Build and test"
ubuntu-18.04-clang-shared-doc+tests failed at step "Build and test"
ubuntu-18.04-gcc-static-aarch64 failed at step "Build and test"
ubuntu-18.04-gcc-shared-aarch64 failed at step "Build and test"
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static at step "Build and test"
####################################################################################
../drivers/net/mlx5/mlx5_rxtx_vec.h:29:16: note: in definition of macro ‘S_ASSERT_RTE_MBUF’
  static_assert(s, "A field of struct rte_mbuf is changed")
                ^
../lib/eal/include/rte_common.h:312:15: error: braced-group within expression allowed only inside a function
  __extension__({                                                        \
               ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
../lib/eal/include/rte_common.h:334:31: note: in expansion of macro ‘RTE_ALIGN_CEIL’
 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                               ^~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:66:5: note: in expansion of macro ‘RTE_ALIGN’
     RTE_ALIGN(offsetof(struct mlx5_cqe, sop_drop_qpn), 8));
     ^~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:65:19: error: expression in static assertion is not an integer
 S_ASSERT_MLX5_CQE(offsetof(struct mlx5_cqe, sop_drop_qpn) ==
                   ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
[1536/3091] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_verbs.c.o'.
[1537/3091] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-shared-abi+doc+tests at step "Build and test"
####################################################################################
../drivers/net/mlx5/mlx5_rxtx_vec.h:29:16: note: in definition of macro ‘S_ASSERT_RTE_MBUF’
  static_assert(s, "A field of struct rte_mbuf is changed")
                ^
../lib/eal/include/rte_common.h:312:15: error: braced-group within expression allowed only inside a function
  __extension__({                                                        \
               ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
../lib/eal/include/rte_common.h:334:31: note: in expansion of macro ‘RTE_ALIGN_CEIL’
 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                               ^~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:66:5: note: in expansion of macro ‘RTE_ALIGN’
     RTE_ALIGN(offsetof(struct mlx5_cqe, sop_drop_qpn), 8));
     ^~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:65:19: error: expression in static assertion is not an integer
 S_ASSERT_MLX5_CQE(offsetof(struct mlx5_cqe, sop_drop_qpn) ==
                   ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
[1566/3307] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_verbs.c.o'.
[1567/3307] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-shared-abi+doc+tests at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-clang-static at step "Build and test"
####################################################################################
In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:23:
../drivers/net/mlx5/mlx5_rxtx_vec.h:45:5: error: statement expression not allowed at file scope
                  RTE_ALIGN(offsetof(struct rte_mbuf, rearm_data), 16));
                  ^
../lib/eal/include/rte_common.h:334:31: note: expanded from macro 'RTE_ALIGN'
#define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                              ^
../lib/eal/include/rte_common.h:312:15: note: expanded from macro 'RTE_ALIGN_CEIL'
        __extension__({                                                        \
                     ^
In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:23:
../drivers/net/mlx5/mlx5_rxtx_vec.h:66:5: error: statement expression not allowed at file scope
                  RTE_ALIGN(offsetof(struct mlx5_cqe, sop_drop_qpn), 8));
                  ^
../lib/eal/include/rte_common.h:334:31: note: expanded from macro 'RTE_ALIGN'
#define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                              ^
../lib/eal/include/rte_common.h:312:15: note: expanded from macro 'RTE_ALIGN_CEIL'
        __extension__({                                                        \
                     ^
2 errors generated.
[1536/3093] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_linux_mlx5_os.c.o'.
[1537/3093] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-clang-static at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-clang-shared-doc+tests at step "Build and test"
####################################################################################
In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:23:
../drivers/net/mlx5/mlx5_rxtx_vec.h:45:5: error: statement expression not allowed at file scope
                  RTE_ALIGN(offsetof(struct rte_mbuf, rearm_data), 16));
                  ^
../lib/eal/include/rte_common.h:334:31: note: expanded from macro 'RTE_ALIGN'
#define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                              ^
../lib/eal/include/rte_common.h:312:15: note: expanded from macro 'RTE_ALIGN_CEIL'
        __extension__({                                                        \
                     ^
In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:23:
../drivers/net/mlx5/mlx5_rxtx_vec.h:66:5: error: statement expression not allowed at file scope
                  RTE_ALIGN(offsetof(struct mlx5_cqe, sop_drop_qpn), 8));
                  ^
../lib/eal/include/rte_common.h:334:31: note: expanded from macro 'RTE_ALIGN'
#define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                              ^
../lib/eal/include/rte_common.h:312:15: note: expanded from macro 'RTE_ALIGN_CEIL'
        __extension__({                                                        \
                     ^
2 errors generated.
[1567/3309] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_txpp.c.o'.
[1568/3309] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-clang-shared-doc+tests at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-static-aarch64 at step "Build and test"
####################################################################################
../drivers/net/mlx5/mlx5_rxtx_vec.h:29:16: note: in definition of macro ‘S_ASSERT_RTE_MBUF’
  static_assert(s, "A field of struct rte_mbuf is changed")
                ^
../lib/eal/include/rte_common.h:312:15: error: braced-group within expression allowed only inside a function
  __extension__({                                                        \
               ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
../lib/eal/include/rte_common.h:334:31: note: in expansion of macro ‘RTE_ALIGN_CEIL’
 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                               ^~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:66:5: note: in expansion of macro ‘RTE_ALIGN’
     RTE_ALIGN(offsetof(struct mlx5_cqe, sop_drop_qpn), 8));
     ^~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:65:19: error: expression in static assertion is not an integer
 S_ASSERT_MLX5_CQE(offsetof(struct mlx5_cqe, sop_drop_qpn) ==
                   ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
[1536/3091] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_verbs.c.o'.
[1537/3091] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-static-aarch64 at step "Build and test"
####################################################################################




####################################################################################
#### [Begin job log] ubuntu-18.04-gcc-shared-aarch64 at step "Build and test"
####################################################################################
../drivers/net/mlx5/mlx5_rxtx_vec.h:29:16: note: in definition of macro ‘S_ASSERT_RTE_MBUF’
  static_assert(s, "A field of struct rte_mbuf is changed")
                ^
../lib/eal/include/rte_common.h:312:15: error: braced-group within expression allowed only inside a function
  __extension__({                                                        \
               ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
../lib/eal/include/rte_common.h:334:31: note: in expansion of macro ‘RTE_ALIGN_CEIL’
 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align)
                               ^~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:66:5: note: in expansion of macro ‘RTE_ALIGN’
     RTE_ALIGN(offsetof(struct mlx5_cqe, sop_drop_qpn), 8));
     ^~~~~~~~~
../drivers/net/mlx5/mlx5_rxtx_vec.h:65:19: error: expression in static assertion is not an integer
 S_ASSERT_MLX5_CQE(offsetof(struct mlx5_cqe, sop_drop_qpn) ==
                   ^
../drivers/net/mlx5/mlx5_rxtx_vec.h:31:16: note: in definition of macro ‘S_ASSERT_MLX5_CQE’
  static_assert(s, "A field of struct mlx5_cqe is changed")
                ^
[1562/3304] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_linux_mlx5_ethdev_os.c.o'.
[1563/3304] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_tx_mpw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] ubuntu-18.04-gcc-shared-aarch64 at step "Build and test"
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list