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"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux