Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error in gloo::getInterfaceSpeedGLinkSettings #58286

Closed
meerfrau opened this issue Oct 20, 2023 · 3 comments
Closed

Build error in gloo::getInterfaceSpeedGLinkSettings #58286

meerfrau opened this issue Oct 20, 2023 · 3 comments
Assignees
Labels
status/close 已关闭 type/build 编译/安装问题

Comments

@meerfrau
Copy link

meerfrau commented Oct 20, 2023

问题描述 Issue Description

I can't build Paddle due to gloo:

In file included from /Paddle/third_party/gloo/gloo/common/linux.cc:15:
/usr/include/linux/ethtool.h: In function 'int gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)':
/usr/include/linux/ethtool.h:2199:17: error: flexible array member 'ethtool_link_settings::link_mode_masks' not at end of 'struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>'
 2199 |         __u32   link_mode_masks[];
      |                 ^~~~~~~~~~~~~~~
/Paddle/third_party/gloo/gloo/common/linux.cc:192:11: note: next member '__u32 gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed struct>::link_mode_data [381]' declared here
  192 |     __u32 link_mode_data[link_mode_data_nwords];
      |           ^~~~~~~~~~~~~~
/Paddle/third_party/gloo/gloo/common/linux.cc:190:10: note: in the definition of 'struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>'
  190 |   struct {
      |          ^

Re-reported because #55730 only has a screenshot ;)

版本&环境信息 Version & Environment Information

Paddle version: N/A
Paddle With CUDA: N/A

OS: arch rolling
GCC version: (GCC) 12.3
Clang version: 15.0.7
CMake version: version 3.27.7
Libc version: glibc 2.38
Python version: 3.10.10

CUDA version: N/A
cuDNN version: N/A
Nvidia driver version: N/A
Nvidia driver List: N/A

→AMD Radeon GPU

@meerfrau meerfrau added status/new-issue 新建 type/build 编译/安装问题 labels Oct 20, 2023
@lugimzzz
Copy link
Contributor

看这个issue是否能够解决这个问题 #55712

@paddle-bot paddle-bot bot added status/following-up 跟进中 and removed status/new-issue 新建 labels Oct 23, 2023
@meerfrau
Copy link
Author

@lugimzzz I'm on a Linux desktop, can impossibly use the Raspberry wheel.

@risemeup1
Copy link
Contributor

AMD的显卡我们不支持,编cpu吧

@paddle-bot paddle-bot bot added the status/close 已关闭 label Oct 24, 2023
@paddle-bot paddle-bot bot closed this as completed Oct 24, 2023
@paddle-bot paddle-bot bot removed the status/following-up 跟进中 label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/close 已关闭 type/build 编译/安装问题
Projects
None yet
Development

No branches or pull requests

3 participants