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

xmake 安装 libtorch 失败 #4032

Open
shaojunjie0912 opened this issue May 15, 2024 · 3 comments
Open

xmake 安装 libtorch 失败 #4032

shaojunjie0912 opened this issue May 15, 2024 · 3 comments
Labels

Comments

@shaojunjie0912
Copy link

Xmake 版本

2.9.1

操作系统版本和架构

Linux 5.15.146.1-microsoft-standard-WSL2 x86_64

描述问题

为一个 demo 项目添加 libtorch 包时安装失败。

具体报错为自动编译 libtorch 时提示 cc1plus: all warnings being treated as errors

期待的结果

libtorch 顺利安装。

工程配置

xmake.lua 文件如下:

add_rules("plugin.compile_commands.autoupdate")
add_requires("libtorch")

target("cnn", function()
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("libtorch")
end)

附加信息和错误日志

[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-x4.c.o
[ 20%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/unknown_field_set.cc.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-x1.c.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-x2.c.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-x4.c.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qu8-avgpool/qu8-avgpool-9p8x-minmax-fp32-scalar-imagic-c1.c.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qu8-avgpool/qu8-avgpool-9x-minmax-fp32-scalar-imagic-c1.c.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qu8-dwconv/gen/qu8-dwconv-9p1c-minmax-fp32-scalar-fmagic.c.o
cc1plus: all warnings being treated as errors
make[2]: *** [third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/build.make:174: third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2113: third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: xmake failed to install libtorch

@shaojunjie0912
Copy link
Author

.xmake/cache/packages/2405/l/libtorch/v2.2.2/installdir.failed/logs/install.txt 主要日志内容如下:

[  4%] Built target kineto_api
In file included from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.cc:35:
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = bool]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 1 and 2147483647 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = bool]’:
cc1plus: note: source object is likely at address zero
[  4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/spmmUtilsAvx2.cc.o
[  4%] Building CXX object third_party/ideep/mkl-dnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/brgemm/brgemm_containers.cpp.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/vendor.c.o
[  4%] Building CXX object third_party/ideep/mkl-dnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/brgemm/brgemm_utils.cpp.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]’:
cc1plus: note: source object is likely at address zero
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/uarch.c.o
[  4%] Building CXX object third_party/ideep/mkl-dnn/src/common/CMakeFiles/dnnl_common.dir/concat.cpp.o
[  4%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-kernel.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/name.c.o
[  4%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/common.cc.o
[  4%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/errorhandler.cpp.o
[  4%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/fully-connected-output.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = unsigned int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = unsigned int]’:
cc1plus: note: source object is likely at address zero
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o
[  4%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/formatter.cpp.o
[  4%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/int128.cc.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o
[  4%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/max-pooling-output.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long int]’:
cc1plus: note: source object is likely at address zero
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/topology.c.o
[  4%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/softmax-output.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/isa.c.o
[  4%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-output.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long unsigned int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long unsigned int]’:
cc1plus: note: source object is likely at address zero
[  4%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/func.cpp.o
[  4%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-input-gradient.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/init.c.o
[  4%] Linking C static library ../../lib/libnnpack_reference_layers.a
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/descriptor.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = float]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = float]’:
cc1plus: note: source object is likely at address zero
[  4%] Building CXX object third_party/ideep/mkl-dnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/brgemm/jit_brdgmm_kernel.cpp.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o
[  4%] Built target nnpack_reference_layers
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/deterministic.c.o
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = double]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = double]’:
cc1plus: note: source object is likely at address zero
[  4%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o
[  4%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/status.cc.o
[  4%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-4x1.c.o
[  4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmFP16UKernelsAvx2.cc.o
[  4%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-5x1.c.o
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/ideep/mkl-dnn/src/cpu/x64/brgemm/jit_brgemm_amx_uker.cpp:223:22: warning: ‘virtual bool dnnl::impl::cpu::x64::jit_brgemm_amx_uker_base_t::dim_iteration_t::operator==(const dnnl::impl::cpu::x64::jit_brgemm_amx_uker_base_t::dim_iteration_t&) const’ was hidden [-Woverloaded-virtual=]
  223 |         virtual bool operator==(const dim_iteration_t &rhs) const {
      |                      ^~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/ideep/mkl-dnn/src/cpu/x64/brgemm/jit_brgemm_amx_uker.cpp:270:22: note:   by ‘virtual bool dnnl::impl::cpu::x64::jit_brgemm_amx_uker_base_t::bd_iteration_t::operator==(const dnnl::impl::cpu::x64::jit_brgemm_amx_uker_base_t::bd_iteration_t&) const’
  270 |         virtual bool operator==(const bd_iteration_t &rhs) const {
      |                      ^~~~~~~~
[  4%] Building CXX object c10/CMakeFiles/c10.dir/core/AutogradState.cpp.o
[  4%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-dwconv2d-chw/gen/f32-dwconv2d-chw-3x3p1-minmax-scalar-6x1.c.o
[  4%] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o
[ 11%] Building CXX object third_party/ideep/mkl-dnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/cpu_barrier.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-gemm/gen/f32-gemm-2x4-relu-scalar.c.o
[ 11%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/arm/a64formatter.cpp.o
In function ‘void fbgemm::internal::transpose_contiguous_16x2_block(const float*, float*, int64_t, int)’,
    inlined from ‘void fbgemm::internal::transpose_avx512_contiguous_thin(int64_t, int64_t, const T*, int64_t, T*, int64_t) [with T = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/fbgemm/src/UtilsAvx512.cc:1827:38:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/fbgemm/src/UtilsAvx512.cc:970:35: error: ‘r’ may be used uninitialized [-Werror=maybe-uninitialized]
  970 |   d[0] = _mm512_permutex2var_epi32(r[0], index1, r[1]);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/fbgemm/src/UtilsAvx512.cc: In function ‘void fbgemm::internal::transpose_avx512_contiguous_thin(int64_t, int64_t, const T*, int64_t, T*, int64_t) [with T = float]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/fbgemm/src/UtilsAvx512.cc:922:11: note: ‘r’ declared here
  922 |   __m512i r[2], d[2];
      |           ^
[ 11%] Built target sleefdetsse4
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-gemm/gen/f32-gemm-2x4-scalar.c.o
[ 11%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86assembler.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-gemm/gen/f32-gemm-4x4-scalar.c.o
cc1plus: all warnings being treated as errors
make[2]: *** [third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/build.make:174: third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2113: third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-gemm/gen/f32-gemminc-1x4-minmax-scalar.c.o
[ 11%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86builder.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-prod.dir/src/tables/exp2minus-k-over-2048.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-igemm/gen/f32-igemm-4x2-relu-scalar.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-prod.dir/src/tables/vlog.c.o
[ 11%] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/CuptiActivityApi.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-igemm/gen/f32-igemm-4x2-scalar.c.o
[ 11%] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/DaemonConfigLoader.cpp.o
[ 11%] Built target microkernels-prod
[ 11%] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/Demangle.cpp.o
[ 11%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Fbgemm.cc.o
In file included from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.cc:35:
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = bool]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = bool]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 1 and 2147483647 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = bool]’:
cc1plus: note: source object is likely at address zero
[ 11%] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/GenericTraceActivity.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-igemm/gen/f32-igemm-4x4-minmax-scalar.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-igemm/gen/f32-igemm-4x4-relu-scalar.c.o
[ 11%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86emithelper.cpp.o
[ 11%] Built target sleefsse2
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-igemm/gen/f32-igemm-4x4-scalar.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-maxpool/f32-maxpool-9p8x-minmax-scalar-c1.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-pavgpool/f32-pavgpool-9p8x-minmax-scalar-c1.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]’:
cc1plus: note: source object is likely at address zero
[ 11%] Building CXX object c10/CMakeFiles/c10.dir/core/GradMode.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-pavgpool/f32-pavgpool-9x-minmax-scalar-c1.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-ppmm/gen/f32-ppmm-2x4-minmax-scalar.c.o
[ 11%] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/ILoggerObserver.cpp.o
[ 11%] Building CXX object c10/CMakeFiles/c10.dir/core/InferenceMode.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-ppmm/gen/f32-ppmm-3x3-minmax-scalar.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-ppmm/gen/f32-ppmm-4x2-minmax-scalar.c.o
[ 11%] Building CXX object c10/CMakeFiles/c10.dir/core/RefcountedDeleter.cpp.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = unsigned int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = unsigned int]’:
cc1plus: note: source object is likely at address zero
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-ppmm/gen/f32-ppmm-4x4-minmax-scalar.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-prelu/gen/f32-prelu-scalar-2x1.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-prelu/gen/f32-prelu-scalar-2x4.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-fmagic-x1.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-fmagic-x2.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-fmagic-x3.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long int]’:
cc1plus: note: source object is likely at address zero
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-fmagic-x4.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-x1.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-x2.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-x3.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = long unsigned int]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long unsigned int]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = long unsigned int]’:
cc1plus: note: source object is likely at address zero
[ 11%] Built target sleefsse4
[ 11%] Building CXX object c10/CMakeFiles/c10.dir/core/SafePyObject.cpp.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-x4.c.o
[ 11%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-x1.c.o
In file included from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:12,
                 from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/src/IpcFabricConfigClient.h:21,
                 from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/src/DaemonConfigLoader.cpp:16:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h: In instantiation of ‘bool dynolog::ipcfabric::EndPoint<kMaxNumFds>::tryPeekMsg(TCtxt&) [with long unsigned int kMaxNumFds = 0; TCtxt = dynolog::ipcfabric::EndPointCtxt<0>]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:155:33:   required from here
  155 |         success = ep_.tryPeekMsg(*peek_ctxt);
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:174:5: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  174 |     throw std::runtime_error(std::strerror(errno));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-x2.c.o
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h: In instantiation of ‘const char* dynolog::ipcfabric::EndPoint<kMaxNumFds>::getName(const TCtxt&) const [with long unsigned int kMaxNumFds = 0; TCtxt = dynolog::ipcfabric::EndPointCtxt<0>]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:170:43:   required from here
  170 |         msg->src = std::string(ep_.getName(*peek_ctxt));
      |                                ~~~~~~~~~~~^~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:185:9: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  185 |         throw std::invalid_argument(
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  186 |             "Unexpected socket name: " + std::string(ctxt.msg_name.sun_path) +
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  187 |             ". Expected to start with " + std::string(socket_dir));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:192:9: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  192 |         throw std::invalid_argument(
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  193 |             "Expected abstract socket, got " +
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  194 |             std::string(ctxt.msg_name.sun_path));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h: In instantiation of ‘bool dynolog::ipcfabric::EndPoint<kMaxNumFds>::tryRcvMsg(TCtxt&) [with long unsigned int kMaxNumFds = 0; TCtxt = dynolog::ipcfabric::EndPointCtxt<0>]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:178:34:   required from here
  178 |           success = ep_.tryRcvMsg(*recv_ctxt);
      |                     ~~~~~~~~~~~~~^~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:160:5: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  160 |     throw std::runtime_error(std::strerror(errno));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-x3.c.o
[ 12%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86formatter.cpp.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-lrintf-x4.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-fmagic-x1.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = float]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = float]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 4 and 8589934588 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = float]’:
cc1plus: note: source object is likely at address zero
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-fmagic-x2.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-fmagic-x3.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-fmagic-x4.c.o
[ 12%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86func.cpp.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-x1.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-x2.c.o
In member function ‘void google::protobuf::internal::ElementCopier<Element, true>::operator()(Element*, const Element*, int) [with Element = double]’,
    inlined from ‘void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1626:37,
    inlined from ‘void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1620:12,
    inlined from ‘void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1601:14,
    inlined from ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = double]’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1196:12:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/repeated_field.h:1641:11: warning: ‘void* memcpy(void*, const void*, size_t)’ reading between 8 and 17179869176 bytes from a region of size 0 [-Wstringop-overread]
 1641 |     memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In copy constructor ‘google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = double]’:
cc1plus: note: source object is likely at address zero
[ 12%] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-x3.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-x4.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-spmm/gen/f32-spmm-1x1-minmax-scalar.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-spmm/gen/f32-spmm-2x1-minmax-scalar-pipelined.c.o
In file included from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:12,
                 from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/src/IpcFabricConfigClient.h:21,
                 from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/src/IpcFabricConfigClient.cpp:11:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h: In instantiation of ‘bool dynolog::ipcfabric::EndPoint<kMaxNumFds>::tryPeekMsg(TCtxt&) [with long unsigned int kMaxNumFds = 0; TCtxt = dynolog::ipcfabric::EndPointCtxt<0>]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:155:33:   required from here
  155 |         success = ep_.tryPeekMsg(*peek_ctxt);
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:174:5: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  174 |     throw std::runtime_error(std::strerror(errno));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h: In instantiation of ‘const char* dynolog::ipcfabric::EndPoint<kMaxNumFds>::getName(const TCtxt&) const [with long unsigned int kMaxNumFds = 0; TCtxt = dynolog::ipcfabric::EndPointCtxt<0>]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:170:43:   required from here
  170 |         msg->src = std::string(ep_.getName(*peek_ctxt));
      |                                ~~~~~~~~~~~^~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:185:9: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  185 |         throw std::invalid_argument(
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  186 |             "Unexpected socket name: " + std::string(ctxt.msg_name.sun_path) +
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  187 |             ". Expected to start with " + std::string(socket_dir));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:192:9: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  192 |         throw std::invalid_argument(
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  193 |             "Expected abstract socket, got " +
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  194 |             std::string(ctxt.msg_name.sun_path));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h: In instantiation of ‘bool dynolog::ipcfabric::EndPoint<kMaxNumFds>::tryRcvMsg(TCtxt&) [with long unsigned int kMaxNumFds = 0; TCtxt = dynolog::ipcfabric::EndPointCtxt<0>]’:
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/FabricManager.h:178:34:   required from here
  178 |           success = ep_.tryRcvMsg(*recv_ctxt);
      |                     ~~~~~~~~~~~~~^~~~~~~~~~~~
/home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric/Endpoint.h:160:5: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  160 |     throw std::runtime_error(std::strerror(errno));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-spmm/gen/f32-spmm-2x1-minmax-scalar.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-spmm/gen/f32-spmm-4x1-minmax-scalar-pipelined.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-spmm/gen/f32-spmm-4x1-minmax-scalar.c.o
[ 12%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/f32-spmm/gen/f32-spmm-8x1-minmax-scalar-pipelined.c.o
[ 20%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/datapiece.cc.o
[ 20%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/default_value_objectwriter.cc.o
[ 20%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/error_listener.cc.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-dwconv/gen/qs8-dwconv-9p4c-minmax-fp32-scalar-fmagic.c.o
[ 20%] Building CXX object third_party/ideep/mkl-dnn/src/common/CMakeFiles/dnnl_common.dir/primitive_desc_iface.cpp.o
In file included from /usr/include/c++/14.1.1/string:51,
                 from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/unknown_field_set.h:43,
                 from /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/unknown_field_set.cc:35:
In static member function ‘static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = google::protobuf::UnknownField; _Up = google::protobuf::UnknownField; bool _IsMove = true]’,
    inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = google::protobuf::UnknownField*; _OI = google::protobuf::UnknownField*]’ at /usr/include/c++/14.1.1/bits/stl_algobase.h:521:30,
    inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = true; _II = google::protobuf::UnknownField*; _OI = google::protobuf::UnknownField*]’ at /usr/include/c++/14.1.1/bits/stl_algobase.h:548:42,
    inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = __gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, vector<google::protobuf::UnknownField> >; _OI = google::protobuf::UnknownField*]’ at /usr/include/c++/14.1.1/bits/stl_algobase.h:555:31,
    inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, vector<google::protobuf::UnknownField> > >; _OI = google::protobuf::UnknownField*]’ at /usr/include/c++/14.1.1/bits/stl_algobase.h:651:7,
    inlined from ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; _ForwardIterator = google::protobuf::UnknownField*]’ at /usr/include/c++/14.1.1/bits/stl_uninitialized.h:147:27,
    inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, vector<google::protobuf::UnknownField> > >; _ForwardIterator = google::protobuf::UnknownField*]’ at /usr/include/c++/14.1.1/bits/stl_uninitialized.h:185:15,
    inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, vector<google::protobuf::UnknownField> > >; _ForwardIterator = google::protobuf::UnknownField*; _Tp = google::protobuf::UnknownField]’ at /usr/include/c++/14.1.1/bits/stl_uninitialized.h:373:37,
    inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]’ at /usr/include/c++/14.1.1/bits/vector.tcc:1017:38,
    inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; <template-parameter-2-2> = void; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]’ at /usr/include/c++/14.1.1/bits/stl_vector.h:1488:19,
    inlined from ‘void google::protobuf::UnknownFieldSet::MergeFromAndDestroy(google::protobuf::UnknownFieldSet*)’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/unknown_field_set.cc:94:19:
/usr/include/c++/14.1.1/bits/stl_algobase.h:452:30: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing between 17 and 9223372036854775792 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
  452 |             __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
      |             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
                 from /usr/include/c++/14.1.1/bits/allocator.h:46,
                 from /usr/include/c++/14.1.1/string:43:
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = google::protobuf::UnknownField]’,
    inlined from ‘static _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = google::protobuf::UnknownField]’ at /usr/include/c++/14.1.1/bits/alloc_traits.h:478:28,
    inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]’ at /usr/include/c++/14.1.1/bits/stl_vector.h:380:33,
    inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]’ at /usr/include/c++/14.1.1/bits/vector.tcc:1008:40,
    inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; <template-parameter-2-2> = void; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]’ at /usr/include/c++/14.1.1/bits/stl_vector.h:1488:19,
    inlined from ‘void google::protobuf::UnknownFieldSet::MergeFromAndDestroy(google::protobuf::UnknownFieldSet*)’ at /home/olioolii/.xmake/cache/packages/2405/l/libtorch/v2.2.2/source/libtorch/third_party/protobuf/src/google/protobuf/unknown_field_set.cc:94:19:
/usr/include/c++/14.1.1/bits/new_allocator.h:151:55: note: at offset [-9223372036854775808, -1] into destination object of size [16, 9223372036854775792] allocated by ‘operator new’
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                       ^
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-dwconv/gen/qs8-dwconv-9p4c-minmax-fp32-scalar-imagic.c.o
[ 20%] Building CXX object third_party/ideep/mkl-dnn/src/common/CMakeFiles/dnnl_common.dir/primitive_exec_types.cpp.o
[ 20%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qs8-dwconv/gen/qs8-dwconv-9p4c-minmax-fp32-scalar-lrintf.c.o
[ 54%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qu8-gemm/gen/qu8-gemm-2x4c2-minmax-fp32-avx-ld64.c.o
[ 54%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/qu8-gemm/gen/qu8-gemm-1x4c8-minmax-fp32-avx-ld128.c.o
[ 74%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/tables/exp2minus-k-over-2048.c.o
[ 74%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/tables/vlog.c.o
[ 74%] Built target microkernels-all
[ 74%] Built target dnnl_cpu_x64
[ 74%] Built target dnnl_cpu
[ 74%] Built target fbgemm_avx2
make: *** [Makefile:146: all] Error 2

@shaojunjie0912
Copy link
Author

补充一下,我的系统是在 WSL2 中运行的 Arch Linux

各编译工具版本如下:

~
❯ gcc --version
gcc (GCC) 14.1.1 20240507
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~
❯ g++ --version
g++ (GCC) 14.1.1 20240507
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~
❯ make --version
GNU Make 4.4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
~
❯ cmake --version
cmake version 3.29.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants