From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 22:01:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A4D7106566B for ; Mon, 20 Jun 2011 22:01:06 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D5DF48FC16 for ; Mon, 20 Jun 2011 22:01:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p5KM14M9064614; Mon, 20 Jun 2011 16:01:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p5KM13YD064611; Mon, 20 Jun 2011 16:01:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 20 Jun 2011 16:01:03 -0600 (MDT) From: Warren Block To: Devin Teske In-Reply-To: <01a701cc2f81$346fca90$9d4f5fb0$@vicor.com> Message-ID: References: <01a701cc2f81$346fca90$9d4f5fb0$@vicor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 20 Jun 2011 16:01:04 -0600 (MDT) Cc: freebsd-questions@freebsd.org, "Teske, Devin" Subject: Re: Firefox-4.0.1,1 on 8.1-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 22:01:06 -0000 On Mon, 20 Jun 2011, Devin Teske wrote: > I'm trying to compile /usr/ports/www/firefox on FreeBSD-8.1, to no avail. I keep > running into this error: > > ============================================================ > > gmake[4]: Entering directory > `/usr/ports/www/firefox/work/mozilla-2.0/parser/html' > nsHtml5ElementName.cpp > c++ -o nsHtml5ElementName.o -c -I../../dist/stl_wrappers > -I../../dist/system_wrappers -include ../../config/gcc_hidden.h > -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API > -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES > -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"FreeBSD8\" -DOSARCH=FreeBSD -I. -I. > -I../../dist/include -I../../dist/include/nsprpub -I/usr/local/include/nspr > -I/usr/ports/www/firefox/work/mozilla-2.0/dist/include/nss > -I./../../content/base/src -fPIC -I/usr/local/include -fno-rtti > -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth > -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof > -Wno-variadic-macros -Werror=return-type -O2 -pipe -O2 -fno-strict-aliasing -O2 > -fno-strict-aliasing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 > -I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h > nsHtml5ElementName.cpp > In file included from nsHtml5StreamParser.h:54, > from nsHtml5Parser.h:62, > from nsHtml5TreeBuilder.h:46, > from nsHtml5ElementName.cpp:50: > nsHtml5Speculation.h:103:33: warning: no newline at end of file > {standard input}: Assembler messages: > {standard input}:0: Warning: end of file not at end of a line; newline inserted > {standard input}:164: Error: unknown pseudo-op: `.' > c++: Internal error: Killed: 9 (program cc1plus) > Please submit a full bug report. > See for instructions. > gmake[4]: *** [nsHtml5ElementName.o] Error 1 > gmake[4]: Leaving directory > `/usr/ports/www/firefox/work/mozilla-2.0/parser/html' > gmake[3]: *** [libs] Error 2 > gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0/parser' > gmake[2]: *** [libs_tier_platform] Error 2 > gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0' > gmake[1]: *** [tier_platform] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-2.0' > gmake: *** [default] Error 2 > *** Error code 1 > > Stop in /usr/ports/www/firefox. > *** Error code 1 > > Stop in /usr/ports/www/firefox. > > ============================================================ > > Has anybody else ran into this? Any way around this? OPTIMIZED_CFLAGS causes huge use of memory and sometimes it runs out of swap space: http://forums.freebsd.org/showthread.php?t=24436