这是indexloc提供的服务,不要输入任何密码
Skip to content

Build failure when using XNNPACK_LIBRARY_TYPE=shared on MacOS #8720

@AntonBondarenkoArm

Description

@AntonBondarenkoArm

Error message

[3804/4164] Linking CXX executable test/maxpool-minmax-test
FAILED: test/maxpool-minmax-test
.....
Undefined symbols for architecture arm64:
  "_xnn_params", referenced from:
      _xnn_pack_kai_qs8_conv_goki_w_sme2 in packing.cc.o
      _xnn_pack_kai_qs8_conv_goki_w_sme2 in packing.cc.o
ld: symbol(s) not found for architecture arm64
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Same report repeated over several files
Revision: 5162055

Command to reproduce:

./scripts/build-local.sh -DXNNPACK_LIBRARY_TYPE=shared

Other errors:

Undefined symbols for architecture arm64:
  "_xnn_compute_convolution_output_dimension", referenced from:
      xnnpack::(anonymous namespace)::IndirectionTester::Test() in indirection.cc.o
      xnnpack::(anonymous namespace)::IndirectionTester::Test() in indirection.cc.o
      xnnpack::(anonymous namespace)::IndirectionTester::TestCompressed() in indirection.cc.o
      xnnpack::(anonymous namespace)::IndirectionTester::TestCompressed() in indirection.cc.o
  "_xnn_params", referenced from:
      _xnn_pack_kai_qs8_conv_goki_w_sme2 in packing.cc.o
      _xnn_pack_kai_qs8_conv_goki_w_sme2 in packing.cc.o
ld: symbol(s) not found for architecture arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions