This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross-testing libsanitizer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]