firefox-3.6,1 compile error with OPTIMIZED_CFLAGS
Chris
phatfish at gmail.com
Wed Feb 10 17:54:35 UTC 2010
FreeBSD my.host 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sat Dec 12
15:29:46 GMT 2009 me at my.host:/usr/obj/usr/src/sys/MYLO.20091212 amd64
#
# $FreeBSD: ports/www/firefox/Makefile,v 1.220 2010/02/07 21:48:43 beat Exp
$
#
I attempted a compile with OPTIMIZED_CFLAGS on. On two consecutive attempts
the system hung when compiling this file:
c++ -o nsHtml5ElementName.o -c -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_COM_OBSOLETE -D_IMPL_NS_GFX
-D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES
-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-1.9.2/dist/include/nss
-I/usr/include -I./../../content/base/src -I/usr/local/include -fPIC
-I/usr/local/include -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-long-long -O2
-pipe -march=nocona -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing
-fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/local/include
-I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h
nsHtml5ElementName.cpp
- On the first attempt i received "swap_pager: indefinite wait buffer:
..." errors at the console.
- The second attempt the machine was "frozen" in the same manner, but no
errors were printed that time.
- I run a system with ZFS as the root and swap file system.
After running make config and removing the the OPTIMIZED_CFLAGS option the
compile ran without issue, and firefox appears to be working fine.
I realise swap_pager: indefinite wait buffer: could be symptoms of another
problem. But the firefox compile froze the system twice with
OPTIMIZED_CFLAGS, and compiled fine without it. There seems to be something
significant there.
FYI, i don't usually mess with compiler flags and my make.conf only has a
cpu architecture defined (core2).
Maybe this is of help.
Chris
More information about the freebsd-gecko
mailing list