Skip to contentSkip to conversation

build failure on linus' latest master branch

DISCUSSION Steve Wise 3 participants 6 messages Oct 10, 2016 – Oct 12, 2016 3 messages not in the archive InfiniBand

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

Hey Leon, I hit this trying to compile Linus' latest master branch.

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:347: error: call to â__compiletime_assert_347â 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

Is there a fix for this?

Thanks,

Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 14 lines · Steve Wise

Hey Leon, I hit this trying to compile Linus' latest master branch.

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:347: error: call to â__compiletime_assert_347â 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

Quoted 1 line

Is there a fix for this?

We investigated a lot this failure and it appears on specific and very old GCC 4.4.
http://www.spinics.net/lists/linux-rdma/msg39135.html
http://marc.info/?t=147614305200001&r=1&w=2

And the fix is http://marc.info/?l=linux-netdev&m=147615976207362&w=2

Quoted 9 lines

Thanks,

Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#3 lore raw
In reply to a message not in the archive
Quoted 9 lines
Quoted 1 line

Is there a fix for this?

We investigated a lot this failure and it appears on specific and very old GCC 4.4.
http://www.spinics.net/lists/linux-rdma/msg39135.html
http://marc.info/?t=147614305200001&r=1&w=2

And the fix is http://marc.info/?l=linux-netdev&m=147615976207362&w=2

Thanks. So was it ever merged?

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 11 lines · Steve Wise
Quoted 9 lines
Quoted 1 line

Is there a fix for this?

We investigated a lot this failure and it appears on specific and very old GCC 4.4.
http://www.spinics.net/lists/linux-rdma/msg39135.html
http://marc.info/?t=147614305200001&r=1&w=2

And the fix is http://marc.info/?l=linux-netdev&m=147615976207362&w=2

Thanks. So was it ever merged?

Not yet, I hope that Dave or Doug will forward that patch to Linus before -rc1 is released.

Quoted 6 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to a message not in the archive
Quoted 8 lines · Leon Romanovsky
Quoted 7 lines · Steve Wise
Quoted 7 lines
Quoted 1 line

Is there a fix for this?

We investigated a lot this failure and it appears on specific and very old GCC 4.4.
http://www.spinics.net/lists/linux-rdma/msg39135.html
http://marc.info/?t=147614305200001&r=1&w=2

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

And the fix is http://marc.info/?l=linux-netdev&m=147615976207362&w=2

Thanks. So was it ever merged?

Not yet, I hope that Dave or Doug will forward that patch to Linus before -rc1 is released.

That patch isn't even on my radar.

Signature · 2 lines
Doug Ledford <[email protected]>
    GPG Key ID: 0E572FDD
#8 lore raw
In reply to a message not in the archive
Quoted 12 lines · Doug Ledford
Quoted 11 lines · Leon Romanovsky
Quoted 10 lines · Steve Wise
Quoted 9 lines
Quoted 1 line

Is there a fix for this?

We investigated a lot this failure and it appears on specific and very old GCC 4.4.
http://www.spinics.net/lists/linux-rdma/msg39135.html
http://marc.info/?t=147614305200001&r=1&w=2

And the fix is http://marc.info/?l=linux-netdev&m=147615976207362&w=2

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Thanks. So was it ever merged?

Not yet, I hope that Dave or Doug will forward that patch to Linus before -rc1 is released.

That patch isn't even on my radar.

I had in mind to wait till v2 will be sent before asking you and/or Dave forward it to Linus.
http://marc.info/?l=linux-netdev&m=147623786131380&w=2

Thanks

Quoted 6 lines

--
Doug Ledford <[email protected]>
GPG Key ID: 0E572FDD