gcc43 build snafu

Garrett Cooper youshi10 at u.washington.edu
Thu Mar 8 06:09:10 UTC 2007


Sean Bryant wrote:
> Gary Kline wrote:
>>     Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") 
>>     when I've got .75G of RAM and a huge disk?  If the gcc43 port is
>>     experimental, would somebodt kindly clue me in?
>>
>>     I'm building every portinto a package since ftp.freebsd.org 
>>     doesn't have that many  v6- packages and these I can share with
>>     my other platforms.   So far I've been able to figure out every
>>     other build.  At least those not totally fouled up.  Here, I
>>     need help.
>>
>>     gary
>>
>>
>> Makefile:11912: warning: ignoring old commands for target `multi-clean'
>> /bin/sh ./libtool --mode=compile 
>> /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-20070302/libjava/classpath/lib 
>> --encoding=UTF-8
>> -Wno-deprecated -fbootstrap-classes -g -O2 -c -o 
>> gnu/javax/swing/text/html/parser/HTML_401F.lo
>> -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
>> /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-20070302/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 536277936 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.
>>
>>
>>
>>   
> http://gcc.gnu.org/
> 
> It's right there on the front page. So yes I'd call it experimental.

4.3's very experimental, so yes.. be wary and be prepared to post a lot 
of bug reports (esp when building ports with gcc-4.3).

Cheers,
-Garrett


More information about the freebsd-questions mailing list