[PATCH] compiler-rt darwin macros

David Fang fang at csl.cornell.edu
Mon May 27 13:45:47 PDT 2013


Hi,
 	I don't actually need the various sanitizers to work on 10.4, I 
just need clang_rt.ppc from the compiler-rt project, but at least I can 
make the various sanitizer prokects compile on 10.4 with little effort, 
whatever that is worth.
I edited the compile flag to -mmacosx-version-min=10.4, just so I could 
compile everything.

Fang

> What Alexey says.
> We don't expect libinterception to work on OS X 10.4, and it'll be
> hard for us to support old OSX revisions.
>
> On Mon, May 27, 2013 at 12:00 PM, Alexey Samsonov <samsonov at google.com> wrote:
>> Re the patch to lib/interception/interception.h:
>>
>> lib/interception is currently used only in sanitizers, and they are not
>> expected to work on OS X 10.4.
>> I think we add a compile flag -mmacosx-version-min=10.5 when compiling these
>> files, doesn't it work for you?
>>
>>
>> On Fri, May 24, 2013 at 10:47 PM, David Fang <fang at csl.cornell.edu> wrote:
>>>
>>> Hi,
>>>
>>> I thought I'd share a little patch I needed for the latest compiler-rt to
>>> build on powerpc-darwin8, that might be needed on other darwin platforms.
>>>
>>> The first part of the patch adds a missing NOT_HERE_IN_10_8_AND_EARLIER
>>> macro for the __ppc__ case.
>>>
>>> The second part provides an empty macro for __DARWIN_ALIAS_C on older
>>> systems that didn't define it in <sys/cdefs.h>.
>>>
>>> Any interest in either piece?  (I can commit after approval.)
>>>
>>> Fang
>>>
>>> --
>>> David Fang
>>> http://www.csl.cornell.edu/~fang/
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>>
>>
>>
>>
>> --
>> Alexey Samsonov, MSK
>
>
>
>

-- 
David Fang
http://www.csl.cornell.edu/~fang/




More information about the llvm-commits mailing list