* 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"
@ 2016-08-16 18:57 Vinson Lee
[not found] ` <CACKvgLHp0jc_0drhk2u7GChhZkwBXhA0ps55=+J8NXp=u7u7Nw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Vinson Lee @ 2016-08-16 18:57 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi.
Commit a533ed5e179c "net/mlx5: Pages management commands via mlx5 ifc"
introduced this build error with GCC 4.4.
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
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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"
[not found] ` <CACKvgLHp0jc_0drhk2u7GChhZkwBXhA0ps55=+J8NXp=u7u7Nw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-08-17 6:00 ` Leon Romanovsky
0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2016-08-17 6:00 UTC (permalink / raw)
To: Vinson Lee; +Cc: Saeed Mahameed, linux-rdma-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-17 6:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 18:57 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" Vinson Lee
[not found] ` <CACKvgLHp0jc_0drhk2u7GChhZkwBXhA0ps55=+J8NXp=u7u7Nw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-17 6:00 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox