This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cross-testing libsanitizer
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Yury Gribov <y dot gribov at samsung dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 3 Jun 2014 12:06:15 +0200
- 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>
On 3 June 2014 08:39, Yury Gribov <y.gribov@samsung.com> wrote:
> Christophe,
>
>
>> Indeed, when testing on my laptop, execution tests fail because
>> libsanitizer wants to allocated 8GB of memory (I am using qemu as
>> execution engine).
>
> Is this 8G of RAM? If yes - I'd be curious to know which part of
> libsanitizer needs so much memory.
>
> -Y
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
qemu: uncaught target signal 6 (Aborted) - core dumped^M
proot info: pid 12356: terminated with signal 6^M
FAIL: c-c++-common/asan/asan-interface-1.c -O0 execution test
and ulimit -a says:
virtual memory (kbytes, -v) unlimited
Christophe