[LLVMdev] ASan unit test/libcxx build break

Kostya Serebryany kcc at google.com
Mon May 13 02:16:37 PDT 2013


You can use
#if __GLIBC_PREREQ(2, 17)


On Mon, May 13, 2013 at 1:13 PM, İsmail Dönmez <ismail at donmez.ws> wrote:

> Hi,
>
>
> On Mon, May 13, 2013 at 11:07 AM, Evgeniy Stepanov <
> eugeni.stepanov at gmail.com> wrote:
>
>> On Mon, May 13, 2013 at 11:03 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
>> > I am guessing you are running on this on an old system. My glibc
>> version is
>> > 2.17
>>
>> Yes. Ubuntu 12.04 LTS with glibc 2.15 does not have aligned_alloc.
>>
>
> Then I guess we'll somehow need a glibc version check or something. Not
> sure how to do it atm.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130513/ba952394/attachment.html>


More information about the llvm-dev mailing list