Building wheel torch-1.5.0a0+79d47c1
– Building version 1.5.0a0+79d47c1
cmake --build . --target install --config Release – -j 4
[  0%] Built target clog
[  0%] Built target pthreadpool
[  0%] Built target libprotobuf-lite
[  0%] Built target gtest
[  0%] Built target benchmark
[  3%] Built target libprotobuf
[  5%] Built target c10
[  5%] Built target foxi_loader
[  5%] Built target common
[  5%] Built target ATEN_CPU_FILES_GEN_TARGET
[  5%] Built target mkrename
[  5%] Built target mkalias
[  5%] Built target mkmasked_gnuabi
[  5%] Built target torch_global_deps
[  5%] Built target headers
[  5%] Built target mkdisp
[  5%] Built target mkrename_gnuabi
[ 24%] Built target python_copy_files
[ 24%] Built target arraymap
[ 24%] Built target torch_python_stubs
[ 24%] Built target generate-torch-sources
[ 25%] Built target cpuinfo_internals
[ 25%] Built target nnpack_reference_layers
[ 25%] Built target cpuinfo
[ 25%] Built target gmock
[ 25%] Built target gtest_main
[ 28%] Built target libprotoc
[ 28%] Built target benchmark_main
[ 28%] Built target c10_intrusive_ptr_benchmark
[ 28%] Built target __aten_op_header_gen
[ 28%] Built target renamePURECFMA_SCALAR.h_generated
[ 28%] Built target renamePUREC_SCALAR.h_generated
[ 28%] Built target alias_neon32.h_generated
[ 28%] Linking CXX executable …/…/…/bin/protoc
[ 28%] Built target renameNEON32VFPV4.h_generated
[ 28%] Built target renameNEON32.h_generated
[ 29%] Built target nnpack
[ 31%] Built target qnnpack
[ 32%] Built target pytorch_qnnpack
[ 32%] Built target gmock_main
[ 32%] Built target c10_ordered_preserving_dict_test
[ 32%] Built target c10_intrusive_ptr_test
[ 32%] Built target c10_tempfile_test
[ 32%] Built target c10_flags_test
[ 32%] Built target c10_typeid_test
[ 32%] Built target c10_Half_test
[ 32%] Built target c10_registry_test
[ 51%] Built target XNNPACK
[ 51%] Built target c10_InlineStreamGuard_test
[ 51%] Built target c10_DeviceGuard_test
[ 51%] Built target c10_TypeTraits_test
[ 51%] Built target c10_StreamGuard_test
[ 52%] Built target c10_exception_test
[ 52%] Built target c10_logging_test
[ 52%] Built target c10_InlineDeviceGuard_test
[ 52%] Built target c10_DispatchKeySet_test
[ 52%] Built target c10_string_view_test
[ 52%] Built target c10_C++17_test
[ 52%] Built target c10_TypeList_test
[ 52%] Built target c10_LeftRight_test
[ 52%] Built target c10_either_test
[ 52%] Built target c10_Array_test
/usr/bin/ld: …/…/…/lib/libprotobuf.a(arena.cc.o): in function google::protobuf::internal::ArenaImpl::Init()': arena.cc:(.text+0x24): undefined reference to __atomic_fetch_add_8’
collect2: error: ld returned 1 exit status
make[2]: *** [third_party/protobuf/cmake/CMakeFiles/protoc.dir/build.make:87: bin/protoc] Error 1
make[1]: *** [CMakeFiles/Makefile2:241: third_party/protobuf/cmake/CMakeFiles/protoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 52%] Built target c10_Metaprogramming_test
[ 52%] Built target c10_ConstexprCrc_test
[ 52%] Built target c10_TypeIndex_test
make: *** [Makefile:141: all] Error 2
Traceback (most recent call last):
File “setup.py”, line 737, in 
build_deps()
File “setup.py”, line 316, in build_deps
cmake=cmake)
File “/home/pi/pytorch_install1/pytorch/tools/build_pytorch_libs.py”, line 62, in build_caffe2
cmake.build(my_env)
File “/home/pi/pytorch_install1/pytorch/tools/setup_helpers/cmake.py”, line 339, in build
self.run(build_args, my_env)
File “/home/pi/pytorch_install1/pytorch/tools/setup_helpers/cmake.py”, line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File “/usr/lib/python3.7/subprocess.py”, line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘–build’, ‘.’, ‘–target’, ‘install’, ‘–config’, ‘Release’, ‘–’, ‘-j’, ‘4’]’ returned non-zero exit status 2.