facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.95k forks source link

build_ios script fails with error #1662

Open varunlakshmanan opened 6 years ago

varunlakshmanan commented 6 years ago

After cloning Caffe2 with git clone --recursive https://github.com/caffe2/caffe2.git,

I ran the build_ios.sh file with ./scripts/build_ios.sh. This is the output from Terminal:

Building protoc -- The C compiler identification is AppleClang 8.0.0.8000038 -- The CXX compiler identification is AppleClang 8.0.0.8000038 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_host_protoc/build Scanning dependencies of target js_embed Scanning dependencies of target libprotobuf [ 0%] Building CXX object CMakeFiles/js_embed.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/js/embed.cc.o [ 0%] Linking CXX executable js_embed ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) [ 0%] Built target js_embed Scanning dependencies of target libprotobuf-lite [ 0%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/arena.cc.o [ 1%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/arenastring.cc.o [ 2%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/arena.cc.o [ 2%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/arenastring.cc.o [ 2%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/extension_set.cc.o [ 3%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/extension_set.cc.o [ 4%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 4%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/generated_message_util.cc.o [ 4%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 5%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/coded_stream.cc.o [ 6%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/generated_message_util.cc.o [ 6%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc.o [ 6%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/coded_stream.cc.o [ 7%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 8%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/message_lite.cc.o [ 8%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc.o [ 8%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 9%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/repeated_field.cc.o [ 10%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/message_lite.cc.o [ 10%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o [ 10%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/repeated_field.cc.o [ 11%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc.o [ 11%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc.o [ 12%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o [ 12%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc.o [ 13%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/common.cc.o [ 14%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc.o [ 14%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/int128.cc.o [ 14%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/common.cc.o [ 15%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc.o [ 15%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/once.cc.o [ 16%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/int128.cc.o [ 17%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/status.cc.o [ 17%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc.o [ 18%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/once.cc.o [ 18%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/statusor.cc.o [ 18%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/status.cc.o [ 19%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc.o [ 20%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/statusor.cc.o [ 20%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc.o [ 20%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc.o [ 20%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc.o [ 21%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc.o [ 22%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/strutil.cc.o [ 22%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc.o [ 22%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/time.cc.o [ 23%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/strutil.cc.o [ 24%] Building CXX object CMakeFiles/libprotobuf-lite.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/wire_format_lite.cc.o [ 24%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/time.cc.o [ 24%] Linking CXX static library libprotobuf-lite.a [ 25%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/wire_format_lite.cc.o [ 25%] Built target libprotobuf-lite [ 25%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/any.cc.o [ 26%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/any.pb.cc.o [ 26%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/api.pb.cc.o [ 27%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/importer.cc.o [ 27%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/parser.cc.o [ 28%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/descriptor.cc.o [ 28%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/descriptor.pb.cc.o [ 28%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/descriptor_database.cc.o [ 29%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/duration.pb.cc.o [ 29%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/dynamic_message.cc.o [ 30%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/empty.pb.cc.o [ 30%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/extension_set_heavy.cc.o [ 31%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/field_mask.pb.cc.o [ 31%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/generated_message_reflection.cc.o [ 32%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/generated_message_table_driven.cc.o [ 32%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/gzip_stream.cc.o [ 33%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/printer.cc.o [ 33%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/strtod.cc.o [ 34%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/tokenizer.cc.o [ 34%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc.o [ 35%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/map_field.cc.o [ 35%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/message.cc.o [ 36%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/reflection_ops.cc.o [ 36%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/service.cc.o [ 37%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/source_context.pb.cc.o [ 37%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc.o /Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc:88:3: warning: offset of on non-POD type 'google::protobuf::ValueDefaultTypeInternal' [-Winvalid-offsetof] offsetof(ValueDefaultTypeInternal, nullvalue), ^ ~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'

define offsetof(t, d) __builtin_offsetof(t, d)

                   ^                     ~

/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc:89:3: warning: offset of on non-POD type 'google::protobuf::ValueDefaultTypeInternal' [-Winvalid-offsetof] offsetof(ValueDefaultTypeInternal, numbervalue), ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'

define offsetof(t, d) __builtin_offsetof(t, d)

                   ^                     ~

/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc:90:3: warning: offset of on non-POD type 'google::protobuf::ValueDefaultTypeInternal' [-Winvalid-offsetof] offsetof(ValueDefaultTypeInternal, stringvalue), ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'

define offsetof(t, d) __builtin_offsetof(t, d)

                   ^                     ~

/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc:91:3: warning: offset of on non-POD type 'google::protobuf::ValueDefaultTypeInternal' [-Winvalid-offsetof] offsetof(ValueDefaultTypeInternal, boolvalue), ^ ~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'

define offsetof(t, d) __builtin_offsetof(t, d)

                   ^                     ~

/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc:92:3: warning: offset of on non-POD type 'google::protobuf::ValueDefaultTypeInternal' [-Winvalid-offsetof] offsetof(ValueDefaultTypeInternal, structvalue), ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'

define offsetof(t, d) __builtin_offsetof(t, d)

                   ^                     ~

/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/struct.pb.cc:93:3: warning: offset of on non-POD type 'google::protobuf::ValueDefaultTypeInternal' [-Winvalid-offsetof] offsetof(ValueDefaultTypeInternal, listvalue), ^ ~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'

define offsetof(t, d) __builtin_offsetof(t, d)

                   ^                     ~

[ 38%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/mathlimits.cc.o 6 warnings generated. [ 38%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/stubs/substitute.cc.o [ 39%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/text_format.cc.o [ 39%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/timestamp.pb.cc.o [ 40%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/type.pb.cc.o [ 40%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/unknown_field_set.cc.o [ 41%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc.o [ 41%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/field_comparator.cc.o [ 42%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/field_mask_util.cc.o [ 42%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc.o [ 43%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [ 43%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc.o [ 44%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc.o [ 44%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc.o [ 45%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc.o [ 45%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc.o [ 45%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc.o [ 46%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc.o [ 46%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc.o [ 47%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [ 47%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/type_info.cc.o [ 48%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/type_info_test_helper.cc.o [ 48%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/internal/utility.cc.o [ 49%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/json_util.cc.o [ 49%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/message_differencer.cc.o [ 50%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/time_util.cc.o [ 50%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc.o [ 51%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/wire_format.cc.o [ 51%] Building CXX object CMakeFiles/libprotobuf.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/wrappers.pb.cc.o [ 52%] Linking CXX static library libprotobuf.a [ 52%] Built target libprotobuf [ 53%] Generating /Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc Scanning dependencies of target libprotoc [ 53%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc.o [ 54%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc.o [ 54%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc.o [ 55%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc.o [ 55%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc.o [ 56%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc.o [ 56%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc.o [ 57%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc.o [ 57%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc.o [ 58%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc.o [ 58%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc.o [ 59%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc.o [ 59%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc.o [ 60%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc.o [ 60%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o [ 61%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o [ 61%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc.o [ 62%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o [ 62%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o [ 63%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc.o [ 63%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc.o [ 64%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc.o [ 64%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc.o [ 65%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc.o [ 65%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc.o [ 66%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.o [ 66%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc.o [ 66%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc.o [ 67%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc.o [ 67%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.o [ 68%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc.o [ 68%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc.o [ 69%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc.o [ 69%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc.o [ 70%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc.o [ 70%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc.o [ 71%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc.o [ 71%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc.o [ 72%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc.o [ 72%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc.o [ 73%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc.o [ 73%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc.o [ 74%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc.o [ 74%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc.o [ 75%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o [ 75%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o [ 76%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc.o [ 76%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc.o [ 77%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc.o [ 77%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc.o [ 78%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc.o [ 78%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc.o [ 79%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc.o [ 79%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc.o [ 80%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc.o [ 80%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc.o [ 81%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc.o [ 81%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc.o [ 82%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc.o [ 82%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc.o [ 83%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc.o [ 83%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_enum.cc.o [ 83%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_enum_field.cc.o [ 84%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_extension.cc.o [ 84%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_field.cc.o [ 85%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_file.cc.o [ 85%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_generator.cc.o [ 86%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_helpers.cc.o [ 86%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_map_field.cc.o [ 87%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_message.cc.o [ 87%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_message_field.cc.o [ 88%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_primitive_field.cc.o [ 88%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc.o [ 89%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc.o [ 89%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc.o [ 90%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o [ 90%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o [ 91%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o [ 91%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o [ 92%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o [ 92%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o [ 93%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o [ 93%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o [ 94%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o [ 94%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o [ 95%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o [ 95%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc.o [ 96%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/plugin.cc.o [ 96%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc.o [ 97%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc.o [ 97%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc.o [ 98%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc.o [ 98%] Building CXX object CMakeFiles/libprotoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc.o [ 99%] Linking CXX static library libprotoc.a [ 99%] Built target libprotoc Scanning dependencies of target protoc [ 99%] Building CXX object CMakeFiles/protoc.dir/Users/admin/caffe2/third_party/protobuf/src/google/protobuf/compiler/main.cc.o [100%] Linking CXX executable protoc ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) [100%] Built target protoc Install the project... -- Install configuration: "" -- Installing: /Users/admin/caffe2/build_host_protoc/lib/libprotobuf-lite.a -- Installing: /Users/admin/caffe2/build_host_protoc/lib/libprotobuf.a -- Installing: /Users/admin/caffe2/build_host_protoc/lib/libprotoc.a -- Installing: /Users/admin/caffe2/build_host_protoc/bin/protoc -- Installing: /Users/admin/caffe2/build_host_protoc/lib/pkgconfig/protobuf.pc -- Installing: /Users/admin/caffe2/build_host_protoc/lib/pkgconfig/protobuf-lite.pc -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/any.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/any.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/api.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/arena.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/arena_impl.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/arenastring.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/code_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/command_line_interface.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/cpp/cpp_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/csharp/csharp_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/csharp/csharp_names.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/importer.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/java/java_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/java/java_names.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/javanano/javanano_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/js/js_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/js/well_known_types_embed.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/objectivec/objectivec_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/objectivec/objectivec_helpers.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/parser.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/php/php_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/plugin.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/plugin.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/python/python_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/ruby/ruby_generator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/descriptor.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/descriptor.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/descriptor_database.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/duration.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/dynamic_message.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/empty.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/extension_set.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/field_mask.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/generated_enum_reflection.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/generated_enum_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/generated_message_reflection.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/generated_message_table_driven.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/generated_message_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/has_bits.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/coded_stream.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/gzip_stream.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/printer.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/strtod.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/tokenizer.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/zero_copy_stream.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/zero_copy_stream_impl.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/io/zero_copy_stream_impl_lite.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map_entry.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map_entry_lite.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map_field.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map_field_inl.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map_field_lite.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/map_type_handler.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/message.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/message_lite.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/metadata.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/metadata_lite.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/reflection.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/reflection_ops.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/repeated_field.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/service.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/source_context.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/struct.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomic_sequence_num.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_arm64_gcc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_arm_gcc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_arm_qnx.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_generic_gcc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_mips_gcc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_power.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_ppc_gcc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_solaris.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_tsan.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/atomicops_internals_x86_msvc.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/bytestream.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/callback.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/casts.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/common.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/fastmem.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/hash.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/logging.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/macros.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/mutex.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/once.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/platform_macros.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/port.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/scoped_ptr.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/shared_ptr.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/singleton.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/status.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/stl_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/stringpiece.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/template_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/stubs/type_traits.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/text_format.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/timestamp.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/type.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/unknown_field_set.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/delimited_message_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/field_comparator.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/field_mask_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/json_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/message_differencer.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/time_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/type_resolver.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/util/type_resolver_util.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/wire_format.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/wire_format_lite.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/wire_format_lite_inl.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/wrappers.pb.h -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/descriptor.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/any.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/api.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/duration.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/empty.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/field_mask.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/source_context.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/struct.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/timestamp.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/type.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/wrappers.proto -- Installing: /Users/admin/caffe2/build_host_protoc/include/google/protobuf/compiler/plugin.proto -- Installing: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf/protobuf-targets.cmake -- Installing: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf/protobuf-targets-noconfig.cmake -- Up-to-date: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf -- Installing: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf/protobuf-config-version.cmake -- Installing: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf/protobuf-config.cmake -- Installing: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf/protobuf-module.cmake -- Installing: /Users/admin/caffe2/build_host_protoc/lib/cmake/protobuf/protobuf-options.cmake -- Toolchain using default iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk -- The CXX compiler identification is AppleClang 8.0.0.8000038 -- The C compiler identification is AppleClang 8.0.0.8000038 -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test CAFFE2_LONG_IS_INT32_OR_64 -- Performing Test CAFFE2_LONG_IS_INT32_OR_64 - Failed -- Need to define long as a separate typeid. -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Failed -- Turning off deprecation warning due to glog. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Failed -- Use custom protobuf build. -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/usr/lib/libz.tbd (found version "1.2.8") -- Using protobuf compiler /Users/admin/caffe2/build_host_protoc/bin/protoc -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at cmake/Dependencies.cmake:33 (message): Cannot find git, so Caffe2 won't have any git build info available Call Stack (most recent call first): CMakeLists.txt:77 (include)

-- The BLAS backend of choice:Eigen -- Could NOT find NNPACK (missing: NNPACK_INCLUDE_DIR NNPACK_LIBRARY PTHREADPOOL_LIBRARY) -- Brace yourself, we are building NNPACK -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/fp16-download Scanning dependencies of target fp16 [ 11%] Creating directories for 'fp16' [ 22%] Performing download step (git clone) for 'fp16' Cloning into 'fp16'... Already on 'master' Your branch is up-to-date with 'origin/master'. [ 33%] No patch step for 'fp16' [ 44%] Performing update step for 'fp16' Current branch master is up to date. [ 55%] No configure step for 'fp16' [ 66%] No build step for 'fp16' [ 77%] No install step for 'fp16' [ 88%] No test step for 'fp16' [100%] Completed 'fp16' [100%] Built target fp16 -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/fxdiv-download Scanning dependencies of target fxdiv [ 11%] Creating directories for 'fxdiv' [ 22%] Performing download step (git clone) for 'fxdiv' Cloning into 'fxdiv'... Already on 'master' Your branch is up-to-date with 'origin/master'. [ 33%] No patch step for 'fxdiv' [ 44%] Performing update step for 'fxdiv' Current branch master is up to date. [ 55%] No configure step for 'fxdiv' [ 66%] No build step for 'fxdiv' [ 77%] No install step for 'fxdiv' [ 88%] No test step for 'fxdiv' [100%] Completed 'fxdiv' [100%] Built target fxdiv -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/psimd-download Scanning dependencies of target psimd [ 11%] Creating directories for 'psimd' [ 22%] Performing download step (git clone) for 'psimd' Cloning into 'psimd'... Already on 'master' Your branch is up-to-date with 'origin/master'. [ 33%] No patch step for 'psimd' [ 44%] Performing update step for 'psimd' Current branch master is up to date. [ 55%] No configure step for 'psimd' [ 66%] No build step for 'psimd' [ 77%] No install step for 'psimd' [ 88%] No test step for 'psimd' [100%] Completed 'psimd' [100%] Built target psimd -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/pthreadpool-download Scanning dependencies of target pthreadpool [ 11%] Creating directories for 'pthreadpool' [ 22%] Performing download step (git clone) for 'pthreadpool' Cloning into 'pthreadpool'... Already on 'master' Your branch is up-to-date with 'origin/master'. [ 33%] No patch step for 'pthreadpool' [ 44%] Performing update step for 'pthreadpool' Current branch master is up to date. [ 55%] No configure step for 'pthreadpool' [ 66%] No build step for 'pthreadpool' [ 77%] No install step for 'pthreadpool' [ 88%] No test step for 'pthreadpool' [100%] Completed 'pthreadpool' [100%] Built target pthreadpool -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googletest-download Scanning dependencies of target googletest [ 11%] Creating directories for 'googletest' [ 22%] Performing download step (download, verify and extract) for 'googletest' -- Downloading... dst='/Users/admin/caffe2/build_ios/googletest-download/googletest-prefix/src/release-1.8.0.zip' timeout='none' -- Using src='https://github.com/google/googletest/archive/release-1.8.0.zip' -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 4% complete] -- [download 5% complete] -- [download 6% complete] -- [download 7% complete] -- [download 8% complete] -- [download 9% complete] -- [download 10% complete] -- [download 11% complete] -- [download 12% complete] -- [download 13% complete] -- [download 14% complete] -- [download 15% complete] -- [download 16% complete] -- [download 17% complete] -- [download 19% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 24% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 29% complete] -- [download 30% complete] -- [download 31% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 35% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 39% complete] -- [download 40% complete] -- [download 41% complete] -- [download 42% complete] -- [download 43% complete] -- [download 44% complete] -- [download 45% complete] -- [download 46% complete] -- [download 47% complete] -- [download 48% complete] -- [download 49% complete] -- [download 50% complete] -- [download 51% complete] -- [download 52% complete] -- [download 53% complete] -- [download 54% complete] -- [download 55% complete] -- [download 56% complete] -- [download 57% complete] -- [download 58% complete] -- [download 59% complete] -- [download 60% complete] -- [download 61% complete] -- [download 62% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 68% complete] -- [download 69% complete] -- [download 70% complete] -- [download 71% complete] -- [download 72% complete] -- [download 73% complete] -- [download 74% complete] -- [download 75% complete] -- [download 76% complete] -- [download 77% complete] -- [download 78% complete] -- [download 79% complete] -- [download 80% complete] -- [download 81% complete] -- [download 82% complete] -- [download 83% complete] -- [download 84% complete] -- [download 85% complete] -- [download 86% complete] -- [download 87% complete] -- [download 88% complete] -- [download 89% complete] -- [download 90% complete] -- [download 91% complete] -- [download 92% complete] -- [download 93% complete] -- [download 94% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- verifying file... file='/Users/admin/caffe2/build_ios/googletest-download/googletest-prefix/src/release-1.8.0.zip' -- Downloading... done -- extracting... src='/Users/admin/caffe2/build_ios/googletest-download/googletest-prefix/src/release-1.8.0.zip' dst='/Users/admin/caffe2/build_ios/confu-srcs/googletest' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No patch step for 'googletest' [ 44%] No update step for 'googletest' [ 55%] No configure step for 'googletest' [ 66%] No build step for 'googletest' [ 77%] No install step for 'googletest' [ 88%] No test step for 'googletest' [100%] Completed 'googletest' [100%] Built target googletest -- Performing Test COMPILER_SUPPORTS_FP16_FORMAT -- Performing Test COMPILER_SUPPORTS_FP16_FORMAT - Failed -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/fxdiv-download [ 11%] Performing update step for 'fxdiv' Current branch master is up to date. [ 22%] No configure step for 'fxdiv' [ 33%] No build step for 'fxdiv' [ 44%] No install step for 'fxdiv' [ 55%] No test step for 'fxdiv' [ 66%] Completed 'fxdiv' [100%] Built target fxdiv -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googletest-download [100%] Built target googletest -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googlebenchmark-download Scanning dependencies of target googlebenchmark [ 11%] Creating directories for 'googlebenchmark' [ 22%] Performing download step (download, verify and extract) for 'googlebenchmark' -- Downloading... dst='/Users/admin/caffe2/build_ios/googlebenchmark-download/googlebenchmark-prefix/src/v1.2.0.zip' timeout='none' -- Using src='https://github.com/google/benchmark/archive/v1.2.0.zip' -- verifying file... file='/Users/admin/caffe2/build_ios/googlebenchmark-download/googlebenchmark-prefix/src/v1.2.0.zip' -- Downloading... done -- extracting... src='/Users/admin/caffe2/build_ios/googlebenchmark-download/googlebenchmark-prefix/src/v1.2.0.zip' dst='/Users/admin/caffe2/build_ios/confu-srcs/googlebenchmark' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 33%] No patch step for 'googlebenchmark' [ 44%] No update step for 'googlebenchmark' [ 55%] No configure step for 'googlebenchmark' [ 66%] No build step for 'googlebenchmark' [ 77%] No install step for 'googlebenchmark' [ 88%] No test step for 'googlebenchmark' [100%] Completed 'googlebenchmark' [100%] Built target googlebenchmark -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googletest-download [100%] Built target googletest -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googlebenchmark-download [100%] Built target googlebenchmark -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googletest-download [100%] Built target googletest -- Configuring done -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios/googlebenchmark-download [100%] Built target googlebenchmark -- Could NOT find GFlags (missing: GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY) CMake Warning at cmake/Dependencies.cmake:93 (message): gflags is not found. Caffe2 will build without gflags support but it is strongly recommended that you install gflags. Suppress this warning with -DUSE_GFLAGS=OFF Call Stack (most recent call first): CMakeLists.txt:77 (include)

-- Could NOT find Glog (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY) CMake Warning at cmake/Dependencies.cmake:109 (message): glog is not found. Caffe2 will build without glog support but it is strongly recommended that you install glog. Suppress this warning with -DUSE_GLOG=OFF Call Stack (most recent call first): CMakeLists.txt:77 (include)

-- Could NOT find RocksDB (missing: RocksDB_INCLUDE_DIR RocksDB_LIBRARIES) CMake Warning at cmake/Dependencies.cmake:177 (message): Not compiling with RocksDB. Suppress this warning with -DUSE_ROCKSDB=OFF Call Stack (most recent call first): CMakeLists.txt:77 (include)

CMake Warning at cmake/Dependencies.cmake:241 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:77 (include)

-- Did not find system Eigen. Using third party subdirectory. -- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) CMake Warning at cmake/Dependencies.cmake:367 (message): If not using cuda, one should not use NCCL either. Call Stack (most recent call first): CMakeLists.txt:77 (include)

CMake Warning at cmake/Dependencies.cmake:392 (message): Gloo can only be used on Linux. Call Stack (most recent call first): CMakeLists.txt:77 (include)

-- TODO item for adding ios opengl dependency -- NCCL operators skipped due to no CUDA support -- Include NNPACK operators -- CUDA RTC operators skipped due to no CUDA support -- Excluding image processing operators due to no opencv -- Excluding video processing operators due to no opencv -- Excluding mkl operators as we are not using mkl -- MPI operators skipped due to no MPI support -- -- **** Summary **** -- General: -- Git version : -- System : Darwin -- C++ compiler : /usr/bin/g++ -- C++ compiler version : 8.0.0.8000038 -- Protobuf compiler : /Users/admin/caffe2/build_host_protoc/bin/protoc -- CXX flags : -fembed-bitcode -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -O2 -fPIC -Wno-narrowing -- Build type : Release -- Compile definitions : -- -- BUILD_BINARY : OFF -- BUILD_PYTHON : OFF -- BUILD_SHARED_LIBS : OFF -- BUILD_TEST : OFF -- USE_ATEN : OFF -- USE_ASAN : OFF -- USE_CUDA : OFF -- USE_EIGEN_FOR_BLAS : 1 -- USE_FFMPEG : OFF -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_GLOO : OFF -- USE_LEVELDB : OFF -- USE_LITE_PROTO : OFF -- USE_LMDB : OFF -- USE_METAL : ON -- USE_MKL : -- USE_MOBILE_OPENGL : ON -- USE_MPI : OFF -- USE_NCCL : OFF -- USE_NERVANA_GPU : OFF -- USE_NNPACK : ON -- USE_OBSERVERS : OFF -- USE_OPENCV : OFF -- USE_OPENMP : OFF -- USE_REDIS : OFF -- USE_ROCKSDB : OFF -- USE_THREADS : ON -- USE_ZMQ : OFF CMake Warning at CMakeLists.txt:159 (message): Generated cmake files are only fully tested if one builds with system glog, gflags, and protobuf.

CMake Warning at CMakeLists.txt:192 (message): Generated cmake files are only available when building shared libs.

-- Configuring done WARNING: Target "libprotoc" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it. CMake does not define behavior for this case. WARNING: Target "protoc" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it. CMake does not define behavior for this case. -- Generating done -- Build files have been written to: /Users/admin/caffe2/build_ios Scanning dependencies of target js_embed Scanning dependencies of target libprotobuf [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/js_embed.dir//src/google/protobuf/compiler/js/embed.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir//src/google/protobuf/arena.cc.o [ 1%] Linking CXX executable ../../../bin/js_embed ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) [ 1%] Built target js_embed Scanning dependencies of target libprotobuf-lite [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir//src/google/protobuf/arena.cc.o [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir//src/google/protobuf/arenastring.cc.o [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir//src/google/protobuf/arenastring.cc.o [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir//src/google/protobuf/extension_set.cc.o [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir//src/google/protobuf/extension_set.cc.o fatal error: error in backend: Cannot select: 0x7f925988f310: v2i64 = ctlz 0x7f925908d130 0x7f925908d130: v2i64 = or 0x7f925908d4c0, 0x7f925908ee40 0x7f925908d4c0: v2i64 = xor 0x7f925908e5f0, 0x7f9259018510 0x7f925908e5f0: v2i64 = AArch64ISD::VSHL 0x7f9259098330, Constant:i32<1> 0x7f9259098330: v2i64,ch = load<LD16%scevgep225(tbaa=<0x7f9258d1dbb8>)> 0x7f9258f47570, 0x7f9259018180, undef:i64 0x7f9259018180: i64 = add 0x7f9259017b90, Constant:i64<-16> 0x7f9259017b90: i64,ch = CopyFromReg 0x7f9258f47570, Register:i64 %vreg24 0x7f9259073200: i64 = Register %vreg24 0x7f925908e4c0: i64 = Constant<-16> 0x7f925908dd10: i64 = undef 0x7f925908d720: i32 = Constant<1> 0x7f9259018510: v2i64 = AArch64ISD::VASHR 0x7f9259098330, Constant:i32<63> 0x7f9259098330: v2i64,ch = load<LD16%scevgep225(tbaa=<0x7f9258d1dbb8>)> 0x7f9258f47570, 0x7f9259018180, undef:i64 0x7f9259018180: i64 = add 0x7f9259017b90, Constant:i64<-16> 0x7f9259017b90: i64,ch = CopyFromReg 0x7f9258f47570, Register:i64 %vreg24 0x7f9259073200: i64 = Register %vreg24 0x7f925908e4c0: i64 = Constant<-16> 0x7f925908dd10: i64 = undef 0x7f9259017f20: i32 = Constant<63> 0x7f925908ee40: v2i64 = AArch64ISD::DUP Constant:i64<1> 0x7f925908eab0: i64 = Constant<1> In function: _ZNK6google8protobuf8internal12ExtensionSet9Extension8ByteSizeEi clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Apple LLVM version 8.0.0 (clang-800.0.38) Target: aarch64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options. make[2]: *** [third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir//src/google/protobuf/extension_set.cc.o] Error 70 make[1]: [third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir//src/google/protobuf/generated_message_table_driven_lite.cc.o fatal error: error in backend: Cannot select: 0x7ff349078110: v2i64 = ctlz 0x7ff34983e730 0x7ff34983e730: v2i64 = or 0x7ff34983eac0, 0x7ff349840440 0x7ff34983eac0: v2i64 = xor 0x7ff34983fbf0, 0x7ff34983a710 0x7ff34983fbf0: v2i64 = AArch64ISD::VSHL 0x7ff349841730, Constant:i32<1> 0x7ff349841730: v2i64,ch = load<LD16%scevgep225(tbaa=<0x7ff348d1dbb8>)> 0x7ff348cc9590, 0x7ff34983a380, undef:i64 0x7ff34983a380: i64 = add 0x7ff349839d90, Constant:i64<-16> 0x7ff349839d90: i64,ch = CopyFromReg 0x7ff348cc9590, Register:i64 %vreg24 0x7ff349852000: i64 = Register %vreg24 0x7ff34983fac0: i64 = Constant<-16> 0x7ff34983f310: i64 = undef 0x7ff34983ed20: i32 = Constant<1> 0x7ff34983a710: v2i64 = AArch64ISD::VASHR 0x7ff349841730, Constant:i32<63> 0x7ff349841730: v2i64,ch = load<LD16%scevgep225(tbaa=<0x7ff348d1dbb8>)> 0x7ff348cc9590, 0x7ff34983a380, undef:i64 0x7ff34983a380: i64 = add 0x7ff349839d90, Constant:i64<-16> 0x7ff349839d90: i64,ch = CopyFromReg 0x7ff348cc9590, Register:i64 %vreg24 0x7ff349852000: i64 = Register %vreg24 0x7ff34983fac0: i64 = Constant<-16> 0x7ff34983f310: i64 = undef 0x7ff34983a120: i32 = Constant<63> 0x7ff349840440: v2i64 = AArch64ISD::DUP Constant:i64<1> 0x7ff3498400b0: i64 = Constant<1> In function: _ZNK6google8protobuf8internal12ExtensionSet9Extension8ByteSizeEi clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Apple LLVM version 8.0.0 (clang-800.0.38) Target: aarch64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options. make[2]: *** [third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir//src/google/protobuf/extension_set.cc.o] Error 70 make[2]: Waiting for unfinished jobs.... make[1]: [third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/all] Error 2 make: *** [all] Error 2

varunlakshmanan commented 6 years ago

I was running build_ios.sh with an older MacBook Pro (2009 running El Capitan). After rerunning the file on a newer MacBook Pro (2012 running Sierra), everything seems to compile just fine, and all of the necessary files are generated.

toby5box commented 6 years ago

I just had the same problem on El Capitan:

[  8%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
warning: unknown warning option '-Wno-invalid-partial-specialization' [-Wunknown-warning-option]
fatal error: error in backend: Cannot select: 0x7fd373802d10: v2i64 = ctlz 0x7fd37500b3e0
  0x7fd37500b3e0: v2i64 = or 0x7fd37109df10, 0x7fd375009b90
    0x7fd37109df10: v2i64 = xor 0x7fd37500b180, 0x7fd37500a800
      0x7fd37500b180: v2i64 = AArch64ISD::VSHL 0x7fd373802130, Constant:i32<1>
        0x7fd373802130: v2i64,ch = load<LD16[%scevgep225](align=8)(tbaa=<0x7fd370c29ac8>)> 0x7fd370e53410, 0x7fd37500acc0, undef:i64
          0x7fd37500acc0: i64 = add 0x7fd371086990, Constant:i64<-16>
            0x7fd371086990: i64,ch = CopyFromReg 0x7fd370e53410, Register:i64 %vreg24
              0x7fd375009cc0: i64 = Register %vreg24
            0x7fd37500b2b0: i64 = Constant<-16>
          0x7fd37109e040: i64 = undef
        0x7fd37500a050: i32 = Constant<1>
      0x7fd37500a800: v2i64 = AArch64ISD::VASHR 0x7fd373802130, Constant:i32<63>
        0x7fd373802130: v2i64,ch = load<LD16[%scevgep225](align=8)(tbaa=<0x7fd370c29ac8>)> 0x7fd370e53410, 0x7fd37500acc0, undef:i64
          0x7fd37500acc0: i64 = add 0x7fd371086990, Constant:i64<-16>
            0x7fd371086990: i64,ch = CopyFromReg 0x7fd370e53410, Register:i64 %vreg24
              0x7fd375009cc0: i64 = Register %vreg24
            0x7fd37500b2b0: i64 = Constant<-16>
          0x7fd37109e040: i64 = undef
        0x7fd375009df0: i32 = Constant<63>
    0x7fd375009b90: v2i64 = AArch64ISD::DUP Constant:i64<1>
      0x7fd37500a3e0: i64 = Constant<1>
In function: _ZNK6google8protobuf8internal12ExtensionSet9Extension8ByteSizeEi
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: aarch64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options.
make[2]: *** [third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/extension_set.cc.o] Error 70
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target nnpack
[  8%] Building C object confu-deps/CMakeFiles/nnpack.dir/src/init.c.o
[  8%] Building C object confu-deps/CMakeFiles/nnpack.dir/src/convolution-inference.c.o
1 warning generated.
warning: unknown warning option '-Wno-invalid-partial-specialization' [-Wunknown-warning-option]
1 warning generated.
fatal error: error in backend: Cannot select: 0x7fd76c024f10: v2i64 = ctlz 0x7fd76c841fe0
  0x7fd76c841fe0: v2i64 = or 0x7fd76d00ed10, 0x7fd76c83d390
    0x7fd76d00ed10: v2i64 = xor 0x7fd76c841d80, 0x7fd76c841400
      0x7fd76c841d80: v2i64 = AArch64ISD::VSHL 0x7fd76c024330, Constant:i32<1>
        0x7fd76c024330: v2i64,ch = load<LD16[%scevgep225](align=8)(tbaa=<0x7fd769c29ac8>)> 0x7fd769e53410, 0x7fd76c8418c0, undef:i64
          0x7fd76c8418c0: i64 = add 0x7fd76c802390, Constant:i64<-16>
            0x7fd76c802390: i64,ch = CopyFromReg 0x7fd769e53410, Register:i64 %vreg24
              0x7fd76c83d4c0: i64 = Register %vreg24
            0x7fd76c841eb0: i64 = Constant<-16>
          0x7fd76d00ee40: i64 = undef
        0x7fd76c83d850: i32 = Constant<1>
      0x7fd76c841400: v2i64 = AArch64ISD::VASHR 0x7fd76c024330, Constant:i32<63>
        0x7fd76c024330: v2i64,ch = load<LD16[%scevgep225](align=8)(tbaa=<0x7fd769c29ac8>)> 0x7fd769e53410, 0x7fd76c8418c0, undef:i64
          0x7fd76c8418c0: i64 = add 0x7fd76c802390, Constant:i64<-16>
            0x7fd76c802390: i64,ch = CopyFromReg 0x7fd769e53410, Register:i64 %vreg24
              0x7fd76c83d4c0: i64 = Register %vreg24
            0x7fd76c841eb0: i64 = Constant<-16>
          0x7fd76d00ee40: i64 = undef
        0x7fd76c83d5f0: i32 = Constant<63>
    0x7fd76c83d390: v2i64 = AArch64ISD::DUP Constant:i64<1>
      0x7fd76c83dbe0: i64 = Constant<1>
In function: _ZNK6google8protobuf8internal12ExtensionSet9Extension8ByteSizeEi
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: aarch64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options.
make[2]: *** [third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set.cc.o] Error 70

Are we to infer from this that building on El Capitan is not meant to be supported?

varunlakshmanan commented 6 years ago

@toby5box I guess so. That was my solution to the problem.

toby5box commented 6 years ago

It does build on Sierra, fwiw. I didn't see any obvious system requirements documented, so if they don't exist, maybe they could be signed off on by the product owner and added somewhere.

wolfchenCCC commented 6 years ago

Do you konw how to use the ios-cmake? I also want to compile the build-ios.sh,but it have an error which is "CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set."

varunlakshmanan commented 6 years ago

@wolfchenCCC I'm not sure what the problem there is. Maybe check your CMake installation?