[tao-bugs] [compile]: Mac Sierra new features
Lockhart, Thomas G (398I)
Thomas.G.Lockhart at jpl.nasa.gov
Tue Dec 5 16:58:57 CST 2017
> On Dec 4, 2017, at 11:40 PM, Johnny Willemsen <jwillemsen at remedy.nl> wrote:
>
> Hi Thomas,
>
> Thanks for using the PRF form. Could you create a pull request at
> https://github.com/DOCGroup/ACE_TAO to integrate the patches, that is
> the most easiest and fastest.
OK done using branch “esf-headers”. Let me know if it is usable. Thanks!
- Tom
>
> Best regadrs,
>
> Johnny Willemsen
> Remedy IT
> Postbus 81 | 6930 AB Westervoort | The Netherlands
> http://www.remedy.nl
>
> On 12/05/2017 08:04 AM, Lockhart, Thomas G (398I) wrote:
>> I’ve enclosed a patch to enable three features now available in MacOS: clockid_t, CLOCK_MONOTONIC, and CLOCK_REALTIME. ACE and TAO compile cleanly with these enabled.
>>
>> - Tom
>>
>> ACE VERSION: 6.4.5
>>
>> HOST MACHINE and OPERATING SYSTEM:
>> MacOS Sierra
>>
>> COMPILER NAME AND VERSION (AND PATCHLEVEL):
>> Apple LLVM version 9.0.0 (clang-900.0.37)
>> Target: x86_64-apple-darwin16.7.0
>> Thread model: posix
>> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>>
>> THE $ACE_ROOT/ace/config.h FILE:
>> config-macosx-sierra.h
>>
>> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
>> buildbits=64
>> universal=0
>> install_rpath=0
>> inline=1
>> shared_libs_only=1
>> ec_typed_events=0
>> ssl=0
>> LDFLAGS+= -Wl,-rpath,$(INSTALL_PREFIX)/$(INSTALL_LIB)
>> SOFLAGS+= -Wl,-install_name,\@rpath/$@
>> include $(ACE_ROOT)/include/makeinclude/platform_macosx_sierra.GNU
>>
>> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features: n/a
>>
>> AREA/CLASS/EXAMPLE AFFECTED:
>> Compilation.
>>
>> DOES THE PROBLEM AFFECT:
>> COMPILATION?
>> Compilation of TAO. ACE does not seem to use the same features.
>>
>> SYNOPSIS:
>> clockid_t, CLOCK_MONOTONIC, and CLOCK_REALTIME have duplicate definitions on Sierra and above.
>>
>> DESCRIPTION:
>> ACE/TAO includes workarounds for architectures missing the three features clockid_t, CLOCK_MONOTONIC, and CLOCK_REALTIME. Mac OS Sierra now includes those features so unless the workarounds are disabled the compiler notices duplicate definitions.
>>
>> REPEAT BY:
>> Compile TAO on MacOS X Sierra and above.
>>
>> SAMPLE FIX/WORKAROUND:
>> Patch enclosed
>>
>>
>>
>> _______________________________________________
>> tao-bugs mailing list
>> tao-bugs at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/tao-bugs
>>
More information about the tao-bugs
mailing list