Firefox-4.0.1,1 on 8.1-RELEASE

Warren Block wblock at wonkity.com
Mon Jun 20 22:01:06 UTC 2011


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 <URL:http://gcc.gnu.org/bugs.html> 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


More information about the freebsd-questions mailing list