Displaying 8 results from an estimated 8 matches for "at_quick_exit".
2013 May 13
2
[LLVMdev] ASan unit test/libcxx build break
Thanks, it works.
2.15 has quick_exit and at_quick_exit. The attached patch also works.
On Mon, May 13, 2013 at 11:22 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
>
> On Mon, May 13, 2013 at 11:16 AM, Kostya Serebryany <kcc at google.com> wrote:
>>
>> __GLIBC_PREREQ(2, 17)
>
>
> Attached patch should work. Pleas...
2013 May 13
0
[LLVMdev] ASan unit test/libcxx build break
...> include/__config:
>
> #if ( defined(__FreeBSD__) || defined(__linux__) ) && (__ISO_C_VISIBLE
> >= 2011 || __cplusplus >= 201103L)
> #define _LIBCPP_HAS_QUICK_EXIT
> #define _LIBCPP_HAS_C11_FEATURES
> #endif
>
>
I added that line since libc on linux defines at_quick_exit.
>
> include/cstdlib:
>
> #include <__config>
> #include <stdlib.h>
> #ifdef _LIBCPP_HAS_C11_FEATURES
> using ::aligned_alloc;
> #endif
And yes my stdlib.h has
/usr/include/stdlib.h:extern void *aligned_alloc (size_t __alignment,
size_t __size)
I am guess...
2013 May 13
0
[LLVMdev] ASan unit test/libcxx build break
Hi,
On Mon, May 13, 2013 at 11:37 AM, Evgeniy Stepanov <
eugeni.stepanov at gmail.com> wrote:
> Thanks, it works.
> 2.15 has quick_exit and at_quick_exit. The attached patch also works.
>
Looks good, please send it as a patch so it can be applied. Sorry for the
breakage.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130513/5ed445de/attachment.h...
2023 Mar 22
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On Wed, Mar 22, 2023 at 04:53:42PM +0100, Laszlo Ersek wrote:
> The solution is that glibc *too* has a bug, and that bug hides the busybox bug. Namely, in glibc, going back to historical commit
>
> commit 6a032d81581978187f562e5533a32e0a6a3d352b (tag: cvs/libc-960210)
> Author: Roland McGrath <roland at gnu.org>
> Date: Sat Feb 10 10:00:27 1996 +0000
>
> Sat Feb
2013 May 13
2
[LLVMdev] ASan unit test/libcxx build break
A recent change added defined(__linux__) condition to the code below.
Now it says that on linux with --std=c++0x (or --std=c++11) the system
stdlib.h header must define aligned_alloc(). Really?
include/__config:
#if ( defined(__FreeBSD__) || defined(__linux__) ) && (__ISO_C_VISIBLE
>= 2011 || __cplusplus >= 201103L)
#define _LIBCPP_HAS_QUICK_EXIT
#define _LIBCPP_HAS_C11_FEATURES
2013 May 13
2
[LLVMdev] ASan unit test/libcxx build break
...gt;> #if ( defined(__FreeBSD__) || defined(__linux__) ) && (__ISO_C_VISIBLE
>> >= 2011 || __cplusplus >= 201103L)
>> #define _LIBCPP_HAS_QUICK_EXIT
>> #define _LIBCPP_HAS_C11_FEATURES
>> #endif
>>
>
> I added that line since libc on linux defines at_quick_exit.
>
>
>>
>>
>> include/cstdlib:
>>
>> #include <__config>
>> #include <stdlib.h>
>> #ifdef _LIBCPP_HAS_C11_FEATURES
>> using ::aligned_alloc;
>> #endif
>
>
> And yes my stdlib.h has
>
> /usr/include/stdlib.h:exte...
2013 May 13
2
[LLVMdev] ASan unit test/libcxx build break
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
2013 May 13
0
[LLVMdev] ASan unit test/libcxx build break
On Mon, May 13, 2013 at 11:16 AM, Kostya Serebryany <kcc at google.com> wrote:
> __GLIBC_PREREQ(2, 17)
Attached patch should work. Please test.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130513/7670a30e/attachment.html>
-------------- next part --------------
A non-text