net/mlx5: fix linkage of glue lib with gcc 4.7.2
authorYaroslav Brustinov <ybrustin@cisco.com>
Thu, 19 Jul 2018 10:00:22 +0000 (13:00 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Jul 2018 12:05:52 +0000 (14:05 +0200)
commit2854ba22c583cd4b40c2d52e3279dece175ce1ca
tree3d5d38bd14c0762c0dbb314c697103e2caf2f3b1
parent3f8cb05df5407369025fbc8b67f0f9595b781f73
net/mlx5: fix linkage of glue lib with gcc 4.7.2

addressing a gcc 4.7.2 bug that cannot be reproduced with latter
versions:

"bin/ld: Warning: alignment 8 of symbol `mlx5_glue' in
src/dpdk/drivers/net/mlx5/mlx5_glue.c.21.o is smaller than 16 in
src/dpdk/drivers/net/mlx5/mlx5_rxq.c.21.o"

Fix it be forcing the alignment of the glue lib.

Fixes: 0e83b8e536c1 ("net/mlx5: move rdma-core calls to separate file")
Cc: stable@dpdk.org
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_glue.c