section __TEXT/__const address out of range for architecture x86_64

I got this error building PyTorch 1.12 on OS X Monterey 12.4, XCode 13.4 in the linker:

ld: in lib/libnnpack.a(conv1x1.py.o), section __TEXT/__const address out of range for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

% clang --version
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

 % lipo -info ./build/lib/*.a 
Non-fat file: ./build/lib/libXNNPACK.a is architecture: x86_64
Non-fat file: ./build/lib/libasmjit.a is architecture: x86_64
Non-fat file: ./build/lib/libbenchmark.a is architecture: x86_64
Non-fat file: ./build/lib/libbenchmark_main.a is architecture: x86_64
Non-fat file: ./build/lib/libcaffe2_protos.a is architecture: x86_64
Non-fat file: ./build/lib/libclog.a is architecture: x86_64
Non-fat file: ./build/lib/libcpuinfo.a is architecture: x86_64
Non-fat file: ./build/lib/libcpuinfo_internals.a is architecture: x86_64
Non-fat file: ./build/lib/libdnnl.a is architecture: x86_64
Non-fat file: ./build/lib/libfbgemm.a is architecture: x86_64
Non-fat file: ./build/lib/libfmt.a is architecture: x86_64
Non-fat file: ./build/lib/libfoxi_loader.a is architecture: x86_64
Non-fat file: ./build/lib/libgmock.a is architecture: x86_64
Non-fat file: ./build/lib/libgmock_main.a is architecture: x86_64
Non-fat file: ./build/lib/libgtest.a is architecture: x86_64
Non-fat file: ./build/lib/libgtest_main.a is architecture: x86_64
Non-fat file: ./build/lib/libkineto.a is architecture: x86_64
Non-fat file: ./build/lib/libnnpack.a is architecture: x86_64
Non-fat file: ./build/lib/libnnpack_reference_layers.a is architecture: x86_64
Non-fat file: ./build/lib/libonnx.a is architecture: x86_64
Non-fat file: ./build/lib/libonnx_proto.a is architecture: x86_64
Non-fat file: ./build/lib/libprotobuf-lite.a is architecture: x86_64
Non-fat file: ./build/lib/libprotobuf.a is architecture: x86_64
Non-fat file: ./build/lib/libprotoc.a is architecture: x86_64
Non-fat file: ./build/lib/libpthreadpool.a is architecture: x86_64
Non-fat file: ./build/lib/libpytorch_qnnpack.a is architecture: x86_64
Non-fat file: ./build/lib/libqnnpack.a is architecture: x86_64
(base) davidlaxer@x86_64-apple-darwin13 pytorch 

linkText linkText

Any suggestions?

section __TEXT/__const address out of range for architecture x86_64
 
 
Q