[Bug sanitizer/59733] [4.9 Regression] bootstrap-asan failed to bootstrap
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 23 20:48:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59733
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #7)
> Can't reproduce this, at least not if I use sufficiently lower make -jN
> factor (used -j2). With that
> ../configure --enable-languages=c,c++,fortran,java,lto,objc,obj-c++,go
> --with-build-config=bootstrap-asan --disable-werror
> built all the way through compare and died only on fixincl not being asan
> bootstrap compatible.
It still fails for me. It has nothing to do with "make -jN". When I
ran it by hand, I got
/export/build/gnu/gcc-asan/build-x86_64-linux/./prev-gcc/xg++
-B/export/build/gnu/gcc-asan/build-x86_64-linux/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/export/build/gnu/gcc-asan/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/export/build/gnu/gcc-asan/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/export/build/gnu/gcc-asan/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/export/build/gnu/gcc-asan/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/export/gnu/import/git/gcc-misc/libstdc++-v3/libsupc++
-L/export/build/gnu/gcc-asan/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/export/build/gnu/gcc-asan/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c -O2 -g -fsanitize=address -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I.
-I. -I/export/gnu/import/git/gcc-misc/gcc
-I/export/gnu/import/git/gcc-misc/gcc/.
-I/export/gnu/import/git/gcc-misc/gcc/../include
-I/export/gnu/import/git/gcc-misc/gcc/../libcpp/include
-I/export/gnu/import/git/gcc-misc/gcc/../libdecnumber
-I/export/gnu/import/git/gcc-misc/gcc/../libdecnumber/bid -I../libdecnumber
-I/export/gnu/import/git/gcc-misc/gcc/../libbacktrace -o insn-recog.o -MT
insn-recog.o -MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.c
==19786==ERROR: AddressSanitizer failed to allocate 0x24000 (147456) bytes of
LargeMmapAllocator: 12
ERROR: Failed to mmap
I did it on a Fedora 19 machine with 24GB RAM and 48GB swap. I configured GCC
with
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
--enable-languages=c,c++ --prefix=/usr/local --enable-gnu-indirect-function
--disable-werror --with-arch=corei7 --with-cpu=slm
--with-build-config=bootstrap-asan --with-fpmath=sse
More information about the Gcc-bugs
mailing list