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

[gloo] Build failure on x64-linux #38852

Open
ktimam opened this issue May 22, 2024 · 3 comments · May be fixed by #39032
Open

[gloo] Build failure on x64-linux #38852

ktimam opened this issue May 22, 2024 · 3 comments · May be fixed by #39032
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@ktimam
Copy link

ktimam commented May 22, 2024

Package: gloo:x64-linux@20201203#3

Host Environment

  • Host: x64-linux
  • Compiler: GNU 13.2.0
  • vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
    vcpkg-scripts version: 7eb700c 2024-05-17 (4 days ago)

To Reproduce

vcpkg install gloo

Failure logs

-- Using cached facebookincubator-gloo-1da21174054eaabbbd189b7f657ea24842d821e2.tar.gz.
-- Cleaning sources at /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/c/Kiko/Tools/vcpkg/downloads/facebookincubator-gloo-1da21174054eaabbbd189b7f657ea24842d821e2.tar.gz
-- Applying patch fix-array.patch
-- Using source at /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /mnt/c/Kiko/Tools/vcpkg/downloads/tools/cmake-3.29.2-linux/cmake-3.29.2-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j17
    Working Directory: /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg
    See logs for more information:
      /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/install-x64-linux-dbg-out.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/gloo/portfile.cmake:27 (vcpkg_cmake_install)
  scripts/ports.cmake:175 (include)



/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/install-x64-linux-dbg-out.log
Change Dir: '/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg'

Run Build Command(s): /mnt/c/Kiko/Tools/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j17 install
[1/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/types.cc.o -MF gloo/CMakeFiles/gloo.dir/types.cc.o.d -o gloo/CMakeFiles/gloo.dir/types.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/types.cc
[2/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/common/logging.cc.o -MF gloo/CMakeFiles/gloo.dir/common/logging.cc.o.d -o gloo/CMakeFiles/gloo.dir/common/logging.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/common/logging.cc
[3/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/algorithm.cc.o -MF gloo/CMakeFiles/gloo.dir/algorithm.cc.o.d -o gloo/CMakeFiles/gloo.dir/algorithm.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/algorithm.cc
[4/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/barrier.cc.o -MF gloo/CMakeFiles/gloo.dir/barrier.cc.o.d -o gloo/CMakeFiles/gloo.dir/barrier.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/barrier.cc
[5/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/gather.cc.o -MF gloo/CMakeFiles/gloo.dir/gather.cc.o.d -o gloo/CMakeFiles/gloo.dir/gather.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/gather.cc
[6/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/broadcast.cc.o -MF gloo/CMakeFiles/gloo.dir/broadcast.cc.o.d -o gloo/CMakeFiles/gloo.dir/broadcast.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/broadcast.cc
[7/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/allgather.cc.o -MF gloo/CMakeFiles/gloo.dir/allgather.cc.o.d -o gloo/CMakeFiles/gloo.dir/allgather.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/allgather.cc
[8/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/alltoall.cc.o -MF gloo/CMakeFiles/gloo.dir/alltoall.cc.o.d -o gloo/CMakeFiles/gloo.dir/alltoall.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/alltoall.cc
[9/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/gatherv.cc.o -MF gloo/CMakeFiles/gloo.dir/gatherv.cc.o.d -o gloo/CMakeFiles/gloo.dir/gatherv.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/gatherv.cc
[10/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/scatter.cc.o -MF gloo/CMakeFiles/gloo.dir/scatter.cc.o.d -o gloo/CMakeFiles/gloo.dir/scatter.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/scatter.cc
[11/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/buffer.cc
[12/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/allgatherv.cc.o -MF gloo/CMakeFiles/gloo.dir/allgatherv.cc.o.d -o gloo/CMakeFiles/gloo.dir/allgatherv.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/allgatherv.cc
[13/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/context.cc.o -MF gloo/CMakeFiles/gloo.dir/context.cc.o.d -o gloo/CMakeFiles/gloo.dir/context.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/context.cc
[14/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/alltoallv.cc.o -MF gloo/CMakeFiles/gloo.dir/alltoallv.cc.o.d -o gloo/CMakeFiles/gloo.dir/alltoallv.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/alltoallv.cc
[15/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/common/linux.cc.o -MF gloo/CMakeFiles/gloo.dir/common/linux.cc.o.d -o gloo/CMakeFiles/gloo.dir/common/linux.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/common/linux.cc
FAILED: gloo/CMakeFiles/gloo.dir/common/linux.cc.o 
/usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/common/linux.cc.o -MF gloo/CMakeFiles/gloo.dir/common/linux.cc.o.d -o gloo/CMakeFiles/gloo.dir/common/linux.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/common/linux.cc
In file included from /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/common/linux.cc:15:
/usr/include/linux/ethtool.h: In function ‘int gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)’:
/usr/include/linux/ethtool.h:2214:17: error: flexible array member ‘ethtool_link_settings::link_mode_masks’ not at end of ‘struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>’
 2214 |         __u32   link_mode_masks[];
      |                 ^~~~~~~~~~~~~~~
/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/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];
      |           ^~~~~~~~~~~~~~
/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/common/linux.cc:190:10: note: in the definition of ‘struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>’
  190 |   struct {
      |          ^
[16/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/reduce.cc.o -MF gloo/CMakeFiles/gloo.dir/reduce.cc.o.d -o gloo/CMakeFiles/gloo.dir/reduce.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/reduce.cc
[17/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o -MF gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o.d -o gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/allreduce_local.cc
[18/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/address.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/address.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/address.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/address.cc
[19/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/unbound_buffer.cc
[20/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/allreduce.cc.o -MF gloo/CMakeFiles/gloo.dir/allreduce.cc.o.d -o gloo/CMakeFiles/gloo.dir/allreduce.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/allreduce.cc
[21/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o -MF gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o.d -o gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/rendezvous/store.cc
[22/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/pair.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/pair.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/pair.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/pair.cc
[23/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/device.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/device.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/device.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/device.cc
[24/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o -MF gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o.d -o gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/rendezvous/prefix_store.cc
[25/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/tcp/address.cc
[26/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/context.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/context.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/context.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/context.cc
[27/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o -MF gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o.d -o gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/rendezvous/hash_store.cc
[28/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o -MF gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o.d -o gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/rendezvous/file_store.cc
[29/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/tcp/buffer.cc
[30/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o -MF gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o.d -o gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/rendezvous/context.cc
[31/37] /usr/bin/c++  -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean -I/mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o -c /mnt/c/Kiko/Tools/vcpkg/buildtrees/gloo/src/4842d821e2-a23aea63a5.clean/gloo/transport/tcp/context.cc
ninja: build stopped: subcommand failed.
@FrankXie05 FrankXie05 added the category:port-bug The issue is with a library, which is something the port should already support label May 22, 2024
@FrankXie05
Copy link
Contributor

Reproduce on x64-linux.

@FrankXie05
Copy link
Contributor

@ktimam
The flexible array member link_mode_masks should be at the end of the structure, otherwise it is illegal in C++.

And this structure requires dynamic allocation of memory to ensure that the flexible array members have enough space to store the required data.

I think this is an upstream problem, I will submit a solution to upstream and ask for help from upstream. :)

@dg0yt
Copy link
Contributor

dg0yt commented May 30, 2024

I think it is a compiler bug: The array is to have a static (constexpr) size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
3 participants