Date: Fri, 20 Apr 2012 05:57:18 -0700 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes Message-ID: <20120420125718.GD1582@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--48TaNjbzBVislYPb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I update my local mirror of the SVN repo nightly, then use it to track stable/8, stable/9, and head in the mornings -- both on my laptop & on my local build machine. While that usually "just works," head has been a bit more turbulent in the last few days. My last successful build of head is reflected in: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #537 234416= M: Wed Apr 18 05:35:03 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr= /src/sys/CANARY i386 (I note that I have not attempted to migrate to using clang/llvm to perform the build.) The update after 234416 was to 234454; the attempted buildworld failed: -------------------------------------------------------------- >>> Building an up-to-date make(1) -------------------------------------------------------------- cc -O2 -pipe -I/usr/src/usr.bin/make -DMAKE_VERSION=3D\"5201111300\" -DDEFS= HELLNAME=3D\"sh\" -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wn= o-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototy= pes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wsh= adow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-ex= terns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/sr= c/usr.bin/make/arch.c cc -O2 -pipe -I/usr/src/usr.bin/make -DMAKE_VERSION=3D\"5201111300\" -DDEFS= HELLNAME=3D\"sh\" -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wn= o-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototy= pes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wsh= adow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-ex= terns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/sr= c/usr.bin/make/buf.c =2E.. =3D=3D=3D> tools/build (obj,includes,depend,all,install) cd /usr/src/tools/build; /usr/obj/usr/src/make.i386/make buildincludes; /us= r/obj/usr/src/make.i386/make installincludes sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libegacy.a /usr/o= bj/usr/src/tmp/legacy/usr/lib -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp INSTALL=3D"sh /usr/sr= c/tools/install.sh" PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/u= sr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:= /usr/sbin:/usr/bin WORLDTMP=3D/usr/obj/usr/src/tmp VERSION=3D"FreeBSD 10.= 0-CURRENT i386 1000011" MAKEFLAGS=3D"-m /usr/src/tools/build/mk -j 4 -D N= OCLEAN -m /usr/src/share/mk TARGET=3Di386 TARGET_ARCH=3Di386" /usr/obj/usr/= src/make.i386/make -f Makefile.inc1 DESTDIR=3D BOOTSTRAPPING=3D1000011 S= SP_CFLAGS=3D -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_P= IC -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF bootstrap-= tools =3D=3D=3D> lib/clang/libllvmsupport (obj,depend,all,install) =2E.. c++ -O2 -pipe -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/in= clude -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/tools/clan= g/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/Ta= bleGen -I. -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/../..= /lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -= D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE= =3D\"i386-unknown-freebsd10.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include -= c /usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen/Mai= n.cpp c++ -O2 -pipe -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/in= clude -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/tools/clan= g/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/Ta= bleGen -I. -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/../..= /lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -= D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE= =3D\"i386-unknown-freebsd10.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include -= c /usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen/Tab= leGenBackend.cpp c++ -O2 -pipe -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/in= clude -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/tools/clan= g/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/Ta= bleGen -I. -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/../..= /lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -= D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE= =3D\"i386-unknown-freebsd10.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include -= c /usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen/Rec= ord.cpp c++ -O2 -pipe -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/in= clude -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/tools/clan= g/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/Ta= bleGen -I. -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/../..= /lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -= D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE= =3D\"i386-unknown-freebsd10.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include -= c /usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen/TGL= exer.cpp c++ -O2 -pipe -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/in= clude -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/tools/clan= g/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/Ta= bleGen -I. -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/../..= /lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -= D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE= =3D\"i386-unknown-freebsd10.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include -= c /usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen/TGP= arser.cpp /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288= 000 bytes *** [Record.o] Error code 1 1 error *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 1 error This morning, after updating the repo & the head working copy to 234489, I'm still seeing the same problem. (And this is on both the laptop & the build machine.) So at this point, I suspect that something was built "successfully" (perhaps as recently as Wednesday, 18 Apr) that doesn't actually work quite right. I have access to a machine at work that I had last updated to head as of 234311 (15 Apr; also i386), so I should be able to grab files from it, if appropriate. But I could use a clue or two. Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --48TaNjbzBVislYPb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+RXS0ACgkQmprOCmdXAD3y7ACfRYqEWYCE8bIH9+YIcGC43HZ+ ag0An3udtDAuZsTvEnKqytvjmAFr/s4W =g+uW -----END PGP SIGNATURE----- --48TaNjbzBVislYPb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120420125718.GD1582>