[PATCH] aligned_alloc is missing from older glibc

İsmail Dönmez ismail at donmez.ws
Mon May 13 06:30:42 PDT 2013


On Mon, May 13, 2013 at 11:54 AM, Evgeniy Stepanov <
eugeni.stepanov at gmail.com> wrote:

> Hi,
>
> a recent change that enabled at_quick_exit in cstdlib on linux also
> enabled aligned_alloc, which is missing from glibc 2.15 (current
> Ubuntu LTS).
>
> This patch fixes the issue by adding glibc version checks on linux.
>
> Please review.
>

Tested & works fine on Linux w/ libc 2.17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130513/96fa2d8b/attachment.html>


More information about the cfe-commits mailing list