http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46681
Summary: insn-recog.c is too taxing on bootstrap compiler (Apple gcc 4.0.1) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: jay.kr...@cornell.edu gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual \ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute \ -Wold-style-definition -fno-common -DHAVE_CONFIG_H -I. -I. \ -I/src/gcc-trunk/gcc -I/src/gcc-trunk/gcc/. \ -I/src/gcc-trunk/gcc/../include -I/src/gcc-trunk/gcc/../libcpp/include \ -I/src/gcc-trunk/gcc/../libdecnumber \ -I/src/gcc-trunk/gcc/../libdecnumber/dpd -I../libdecnumber \ insn-recog.c -o insn-recog.o cc1(5564) malloc: *** mmap(size=453095424) failed (error code=12) This is on trunk with -disable-bootstrap. I got something similar with 4.5.1, also -disable-bootstrap. jbook2:~ jay$ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5493) jbook2:~ jay$ uname -a Darwin jbook2 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 jbook2:~ jay$ head /obj/gcc-trunk/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ /src/gcc-trunk/configure -prefix=/usr/local/gcc-trunk -enable-checking=assert,df,fold,misc,rtl,rtlflag,runtime,tree -disable-bootstrap -disable-intl -disable-nls -disable-libmudflap -disable-libssp -disable-libgomp jbook2:~ jay$ head /obj/gcc-4.5.1/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ /src/gcc-4.5.1/configure -prefix=/usr/local/gcc-4.5.1 -enable-checking=assert,df,fold,misc,rtl,rtlflag,runtime,tree -disable-bootstrap -disable-intl -disable-nls -disable-libmudflap -disable-libssp -disable-libgomp Running make a second time seems to work. Machine has 4GB but isn't necessarily single tasking.