cd /usr/ports/lang/gcc43 make clean build /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070323/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o gnu/javax/swing/text/html/parser/.libs/HTML_401F.o jc1: out of memory allocating 4072 bytes after a total of 536269360 bytes gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[1]: *** [all-target-libjava] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc43. If the computer is equiped with more memory (2 GByte) this will be exausted too. How-To-Repeat: cd /usr/ports/lang/gcc43 make clean build
Responsible Changed From-To: freebsd-ports-bugs->gerald Over to maintainer
gerald 2007-04-09 18:34:53 UTC FreeBSD ports repository Modified files: lang/gcc43 Makefile Log: Check for, and warn about the datasize limit, before trying to build with Java support. PR: 111126 Suggested by: kris, cperciva Revision Changes Path 1.305 +9 -0 ports/lang/gcc43/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed I added a description of this issue to lang/gcc43/pkg-descr on 2007/03/31. Today, I committed a run-time check that verifies whether we have a sufficiently high datasize limit before trying to build this port. The problem here is that you may have arbitrarily much memory, but by default FreeBSD may not give you more than 512MB per process. Please give the updated port a try and let me know whether the new warning does address this satisfactorily. (If have, of course, also reported the underlying issue upstream earlier this year.) Thanks for the report!
Memory limit is set to 768 MiByte (512 MiByte RAM, 256 MiByte swap for historical reasons). I had the Memory limit set to 768 MiByte, but this lead to instabilities since processes could exaust all memory, even memory needed by the system itself. I lowered the memory limit successive to 540 MiByte. This value seems to avoid instabilities, but is, I think, not enough to compile gcc43 :-( -- Thomas