Date: Tue, 13 Oct 2015 09:10:50 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: Eugene Grosbein <egrosbein@rdtc.ru> Cc: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Edge Router Lite runs out of memory on buildworld Message-ID: <CAJ-VmomXjSkty0geHtuT1Ut%2BZ6_-e148EFR=tQU4cuP25EXt5A@mail.gmail.com> In-Reply-To: <561CA5CA.9040100@rdtc.ru> References: <20151013032213.GA52162@lyxys.ka.sub.org> <561CA5CA.9040100@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
hm, is it gcc or clang? -a On 12 October 2015 at 23:33, Eugene Grosbein <egrosbein@rdtc.ru> wrote: > On 13.10.2015 10:22, Wolfgang Zenker wrote: >> Hi, >> >> for a few months now I have been building CURRENT on an Edge Router Lite= , >> last successful build was about a week ago: >> >> % uname -a >> FreeBSD pomona 11.0-CURRENT FreeBSD 11.0-CURRENT #10: Wed Oct 7 07:15:4= 7 CEST 2015 wolfgang@pomona:/usr/obj/usr/src/sys/UBQTERL mips >> >> Today buildworld failed with the system running out of memory >> on building libc.so: >> >> # make buildworld >> [..] >> cc -fpic -DPIC -O -pipe -G0 -I/usr/src/lib/libc/include -I/usr/src/l= ib/libc/../../include -I/usr/src/lib/libc/mips -DNLS -DSOFTFLOAT -D__DBINT= ERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/= ../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/l= ibc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/u= sr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../co= ntrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/local= e -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -I/usr/src/l= ib/libc/mips/softfloat -I/usr/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -= DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=3Dgnu99 -Wsystem-headers -Werror = -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -I/usr/src/lib= /libutil -I/usr/src/lib/msun/mips -I/usr/src/lib/msun/src -c /usr/src/lib/l= ibc/string/wmemset.c -o wmemset.So >> building shared library libc.so.7 >> cc -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x -= Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7 -Wl,-soname,lib= c.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder bt_close.So bt_conv.So bt_debug.So b= t_delete.So bt_get.So bt_open.So bt_overflow.So bt_page.So [..] wmemcpy.So = wmemmove.So wmemset.So | tsort -q` -lcompiler_rt -lssp_nonshared >> cc: Internal error: Killed (program ld) >> Please submit a full bug report. >> See <URL:http://www.freebsd.org/support.html> for instructions. >> *** Error code 1 >> >> [List of .So-files shortened for brevity] >> >> % dmesg -a >> [..] >> pid 37501 (ld), uid 0, was killed: out of swap space >> Oct 13 04:37:27 pomona kernel: pid 37501 (ld), uid 0, was killed: out of= swap space >> >> Kernel is built with "options NO_SWAPPING", so there is no swap space at= all. >> I will try again without tmpfs now, to see if this frees enough memory. >> >> Wolfgang > > Do you use cc option "-Os" too reduce code size? > I use it for MIPS32 while cross-compiling on amd64 and world compiles and= runs just fine. > I wonder if this would free some memory too because of smaller code. > > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomXjSkty0geHtuT1Ut%2BZ6_-e148EFR=tQU4cuP25EXt5A>