Project

General

Profile

Actions

Bug #3795

closed

Build fails on macOS 10.12 with Xcode 8.0 (debug mode)

Added by Davide Pesavento about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Build
Target version:
Start date:
10/03/2016
Due date:
% Done:

100%

Estimated time:
Tags:

Description

[ 32/305] Compiling tests/unit-tests/util/time-unit-test-clock.t.cpp
[ 33/305] Compiling tests/unit-tests/util/string-helper.t.cpp
[ 35/305] Compiling tests/unit-tests/util/segment-fetcher.t.cpp
[ 36/305] Compiling tests/unit-tests/util/notification-subscriber.t.cpp
[176/305] Compiling tests/unit-tests/util/notification-stream.t.cpp
In file included from ../tests/unit-tests/util/time-unit-test-clock.t.cpp:23:
In file included from /Users/davide/Documents/ndn-cxx/src/util/scheduler.hpp:26:
In file included from /Users/davide/Documents/ndn-cxx/src/util/monotonic_deadline_timer.hpp:31:
In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:24:
In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:45:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
In file included from ../tests/unit-tests/util/time-unit-test-clock.t.cpp:23:
In file included from /Users/davide/Documents/ndn-cxx/src/util/scheduler.hpp:26:
In file included from /Users/davide/Documents/ndn-cxx/src/util/monotonic_deadline_timer.hpp:31:
In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:24:
In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:51:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
2 errors generated.

In file included from ../tests/unit-tests/util/notification-subscriber.t.cpp:28:
In file included from /Users/davide/Documents/ndn-cxx/src/util/notification-subscriber.hpp:56:
In file included from /Users/davide/Documents/ndn-cxx/src/util/scheduler.hpp:26:
In file included from /Users/davide/Documents/ndn-cxx/src/util/monotonic_deadline_timer.hpp:31:
In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:24:
In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:45:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
In file included from ../tests/unit-tests/util/notification-subscriber.t.cpp:28:
In file included from /Users/davide/Documents/ndn-cxx/src/util/notification-subscriber.hpp:56:
In file included from /Users/davide/Documents/ndn-cxx/src/util/scheduler.hpp:26:
In file included from /Users/davide/Documents/ndn-cxx/src/util/monotonic_deadline_timer.hpp:31:
In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:24:
In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:51:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
2 errors generated.

In file included from ../tests/unit-tests/util/notification-stream.t.cpp:33:
In file included from ../tests/unit-tests/util/../identity-management-time-fixture.hpp:28:
In file included from ../tests/unit-tests/util/../unit-test-time-fixture.hpp:27:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:45:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
In file included from ../tests/unit-tests/util/notification-stream.t.cpp:33:
In file included from ../tests/unit-tests/util/../identity-management-time-fixture.hpp:28:
In file included from ../tests/unit-tests/util/../unit-test-time-fixture.hpp:27:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:51:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
2 errors generated.

In file included from ../tests/unit-tests/util/segment-fetcher.t.cpp:22:
In file included from /Users/davide/Documents/ndn-cxx/src/util/segment-fetcher.hpp:25:
In file included from /Users/davide/Documents/ndn-cxx/src/util/scheduler.hpp:26:
In file included from /Users/davide/Documents/ndn-cxx/src/util/monotonic_deadline_timer.hpp:31:
In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:24:
In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:45:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
In file included from ../tests/unit-tests/util/segment-fetcher.t.cpp:22:
In file included from /Users/davide/Documents/ndn-cxx/src/util/segment-fetcher.hpp:25:
In file included from /Users/davide/Documents/ndn-cxx/src/util/scheduler.hpp:26:
In file included from /Users/davide/Documents/ndn-cxx/src/util/monotonic_deadline_timer.hpp:31:
In file included from /usr/local/include/boost/asio/basic_deadline_timer.hpp:24:
In file included from /usr/local/include/boost/asio/basic_io_object.hpp:19:
In file included from /usr/local/include/boost/asio/io_service.hpp:767:
In file included from /usr/local/include/boost/asio/impl/io_service.hpp:71:
In file included from /usr/local/include/boost/asio/detail/task_io_service.hpp:196:
In file included from /usr/local/include/boost/asio/detail/impl/task_io_service.hpp:19:
In file included from /usr/local/include/boost/asio/detail/completion_handler.hpp:20:
In file included from /usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:51:5: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
    OSMemoryBarrier();
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
2 errors generated.

Related issues 1 (0 open1 closed)

Blocked by NFD - Feature #3791: Jenkins: macOS 10.12ClosedEric Newberry

Actions
Actions

Also available in: Atom PDF