http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59733

--- Comment #9 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
> It still fails for me.  It has nothing to do with "make -jN". When I

I tried running this on the fresh gcc trunk.

During the 3-rd stage I get this:
checking how to run the C preprocessor... ../libiberty/libiberty.a(regex.o): In
function `byte_compile_range':
... gcc-boot/libiberty/../../gcc/libiberty/regex.c:4495: undefined reference to
`__asan_report_load1'

Before that the builds works fine, but compilation of insn-recog.c
with asan-ified gcc is indeed expensive: takes ~8 minutes and 4+Gb RAM
This excessive memory usage may be the reason of your OOM in case you 
have some sort of limit (Are you by any chance building in x32 mode?)

non-asanified build of insn-recog.c takes ~3.5 minutes and 700M RAM. 

The asan slowdown here is reasonable, but the memory overhead is surprisingly
large...

Reply via email to