This is the mail archive of the
mailing list for the GCC project.
Re: Cross-testing libsanitizer
- From: Yury Gribov <y dot gribov at samsung dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 03 Jun 2014 14:16:17 +0400
- Subject: Re: Cross-testing libsanitizer
- Authentication-results: sourceware.org; auth=none
- References: <CAKdteOZt1FOVXAp0KwQAs7nKeKn=iBSGEEf=KbD_Vcgs66Pgug at mail dot gmail dot com> <538D6DBD dot 4030406 at samsung dot com> <CAKdteOYYg+oAhDPDZN-Q+KDUJMg+Hh-8H4oBgDVUvLYhxV+d2Q at mail dot gmail dot com>
Is this 8G of RAM? If yes - I'd be curious to know which part of
libsanitizer needs so much memory.
Here is what I have in gcc.log:
==12356==ERROR: AddressSanitizer failed to allocate 0x200001000
(8589938688) bytes at address ffffff000 (errno: 12)^M
==12356==ReserveShadowMemoryRange failed while trying to map
0x200001000 bytes. Perhaps you're using ulimit -v^M
Interesting. AFAIK Asan maps shadow memory with NORESERVE flag so it
should not consume any RAM at all...