Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2013 11:55:07 -0400
From:      Peter Lai <cowbert@gmail.com>
To:        freebsd-gecko@freebsd.org
Subject:   Firefox23 PGO build fails on automation.py error code -10
Message-ID:  <CACPAC31sFfUXEXKXA3SWke5DObazdOSYbCpUpfwT8Foz1O6BYQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I patched Firefox 23 from a portsnap taken 2013-09-08 with the patches
from http://lists.freebsd.org/pipermail/freebsd-gecko/2013-August/003598.html
It will not PGO. I su -m, confirm shell can access X (run glxgears),
PGO build fails after automation.py tries to run with error code -10.

 # make showconfig
===> The following configuration options are available for firefox-23.0.1,1:
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Install debug symbols
     GCONF=off: GConf configuration backend support
     GIO=on: GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GNOMEVFS2=off: GnomeVFS2 (virtual file system) support
     GSTREAMER=off: Multimedia support via GStreamer
     LIBPROXY=off: Proxy support via libproxy
     LOGGING=off: Additional log messages
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     PGO=on: Use Profile-Guided Optimization
     WEBRTC=off: Web Real-Time Communication

I commented out the ALSA and Pulseaudio lines from bsd.gecko.mk since
I don't want either and don't care about sound support:
#.if ${PORT_OPTIONS:MALSA}
#LIB_DEPENDS+=  asound.2:${PORTSDIR}/audio/alsa-lib
#RUN_DEPENDS+=
${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
#MOZ_OPTIONS+=  --enable-alsa
#. if exists(${FILESDIR}/extra-bug780531)
#EXTRA_PATCHES+=        ${FILESDIR}/extra-bug780531
#. endif
#.endif

#.if ${PORT_OPTIONS:MPULSEAUDIO}
#LIB_DEPENDS+=  pulse.0:${PORTSDIR}/audio/pulseaudio
#MOZ_OPTIONS+=  --enable-pulseaudio
#.endif


uname -a
FreeBSD xxx 9.1-STABLE FreeBSD 9.1-STABLE #0 r250413: Thu May  9
19:24:03 EDT 2013     xxx@xxx:/usr/obj/usr/src/sys/UAB  amd64

% gcc46 -v
Using built-in specs.
COLLECT_GCC=gcc46
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd9.1/4.6.3/lto-wrapper
Target: x86_64-portbld-freebsd9.1
Configured with: ./../gcc-4.6.3/configure --disable-bootstrap
--disable-nls --libdir=/usr/local/lib/gcc46
--libexecdir=/usr/local/libexec/gcc46 --program-suffix=46
--with-as=/usr/local/bin/as --with-gmp=/usr/local
--with-gxx-include-dir=/usr/local/lib/gcc46/include/c++/
--with-ld=/usr/local/bin/ld --with-libiconv-prefix=/usr/local
--with-pkgversion='FreeBSD Ports Collection' --with-system-zlib
--with-ecj-jar=/usr/local/share/java/ecj-4.5.jar
--enable-languages=c,c++,objc,fortran,java --prefix=/usr/local
--mandir=/usr/local/man --infodir=/usr/local/info/gcc46
--build=x86_64-portbld-freebsd9.1
Thread model: posix
gcc version 4.6.3 (FreeBSD Ports Collection)

gcc-4.6.3 and binutils-2.23.2 were built and installed right before
trying to build firefox.
sqlite3-3.8.0.2, py27-sqlite3-2.7.5_3, nss-3.15.1, nspr-4.10 all built
immediately before gcc46
sqllite3 built with following options:
===> The following configuration options are available for sqlite3-3.8.0.2:
     DIRECT_READ=off: File is read directly from disk
     EXTENSION=on: Allow loadable extensions
     FTS3=on: Enable FTS3/4 (Full Text Search) module
     ICU=on: Enable built with ICU
     MEMMAN=on: Allows it to release unused memory
     METADATA=on: Enable column metadata
     RAMTABLE=off: Store temporary tables in RAM =
     RTREE=on: Enable R*Tree module ("float")
     SECURE_DELETE=on: Overwrite deleted information with zeros
     SOUNDEX=on: Enables the soundex() SQL function
     STAT3=on: Help SQLite to chose a better query plan
     THREADSAFE=on: Build thread-safe library
     UNLOCK_NOTIFY=on: Enable notification on unlocking
     UPD_DEL_LIMIT=on: ORDER BY and LIMIT on UPDATE and DELETE
     URI=on: Enable use the URI filename
     URI_AUTHORITY=off: Allow convert URL into a UNC


/etc/make.conf:
CPUTYPE?=nocona
WRKDIRPREFIX=/usr/obj
WITHOUT_NOUVEAU=yes
WITH_OPTIMIZED_CFLAGS=yes
WITH_OPTIMIZED_FLAGS=yes
MAKE_JOBS_NUMBER=18
NO_PROFILE=true
.include "/usr/local/etc/ports_sites.conf"
QT4_OPTIONS=QGTKSTYLE
WITH_SETUID_LUIT=yes
PYTHON_DEFAULT_VERSION=python2.7
# added by use.perl 2013-05-12 22:39:11
PERL_VERSION=5.16.2
WITH_NEW_XORG=yes

% python
Python 2.7.5 (default, May 17 2013, 18:02:58)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACPAC31sFfUXEXKXA3SWke5DObazdOSYbCpUpfwT8Foz1O6BYQ>