Thread (1 message) 1 message, 1 author, 2016-08-17

Re: linux-next build error "call to ‘__compiletime_assert_341’ declared with attribute error: BUILD_BUG_ON failed: __mlx5_bit_off(manage_pages_out, pas[i]) % 64"

From: Leon Romanovsky <hidden>
Date: 2016-08-17 06:00:34

On Tue, Aug 16, 2016 at 11:57:23AM -0700, Vinson Lee wrote:
Hi.

Commit a533ed5e179c "net/mlx5: Pages management commands via mlx5 ifc"
introduced this build error with GCC 4.4.
Hi Vinson,

Fenggauang reported this issue a couple of days before [1] and from our
investigation, we didn't find any reason for such failure [2]. It is
caused for specific compiler for structure which is aligned.

Any suggestions?
  CC [M]  drivers/net/ethernet/mellanox/mlx5/core/pagealloc.o
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c: In function
‘reclaim_pages_cmd.clone.0’:
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c:341: error: call
to ‘__compiletime_assert_341’ declared with attribute error:
BUILD_BUG_ON failed: __mlx5_bit_off(manage_pages_out, pas[i]) % 64
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c: In function ‘give_pages’:
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c:290: error: call
to ‘__compiletime_assert_290’ declared with attribute error:
BUILD_BUG_ON failed: __mlx5_bit_off(manage_pages_in, pas[i]) % 64
make[5]: *** [drivers/net/ethernet/mellanox/mlx5/core/pagealloc.o] Error 1
[1] https://lists.01.org/pipermail/kbuild-all/2016-August/023040.html
[2] https://lists.01.org/pipermail/kbuild-all/2016-August/023050.html
Cheers,
Vinson
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help