[compiler-rt] r211166 - [sanitizer] Intercept pthread_*attr_get*.

Arnold Schwaighofer aschwaighofer at apple.com
Thu Jun 19 07:46:02 PDT 2014


No worries. Thanks for looking at it!

CC’ing Chris about the bot: I assume we turned off mail for http://lab.llvm.org:8013 because it keeps failing in phase3 and would terrorize people pointless with email?


> On Jun 19, 2014, at 2:03 AM, Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:
> 
> Sorry about that.
> Btw, I did not get any mail from this bot about the breakage (or from
> any bot at all).
> 
> On Wed, Jun 18, 2014 at 11:06 PM, Arnold Schwaighofer
> <aschwaighofer at apple.com> wrote:
>> A public buildbot that exhibits this is here:
>> 
>> http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/1024/steps/make/logs/stdio
>> 
>> 
>> On Jun 18, 2014, at 10:41 AM, Arnold Schwaighofer <aschwaighofer at apple.com>
>> wrote:
>> 
>> Hi Evgeniy,
>> 
>> this appears to have broken mac os x builds of compiler-rt:
>> 
>> CHECK_TYPE_SIZE(clockid_t);
>>                ^~~~~~~~~
>>                clock_t
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1263:55:
>> note: expanded from macro 'CHECK_TYPE_SIZE'
>>  COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
>>                                                      ^
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:264:51:
>> note: expanded from macro 'COMPILER_CHECK'
>> #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>>                                                  ^
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:270:65:
>> note: expanded from macro 'IMPL_COMPILER_ASSERT'
>>    typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
>>                                                                ^
>> /usr/include/sys/_types/_clock_t.h:30:33: note: 'clock_t' declared here
>> typedef __darwin_clock_t        clock_t;
>>                                ^
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1061:1:
>> error: 'assertion_failed__1061' declared as an array with a negative size
>> CHECK_TYPE_SIZE(clockid_t);
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1263:3:
>> note: expanded from macro 'CHECK_TYPE_SIZE'
>>  COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
>>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:264:30:
>> note: expanded from macro 'COMPILER_CHECK'
>> #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
>>                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> ../projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:270:57:
>> note: expanded from macro 'IMPL_COMPILER_ASSERT'
>>    typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140619/1fedd1eb/attachment.html>


More information about the llvm-commits mailing list