PGO build fails with firefox 23

am-pub at kuri.mu am-pub at kuri.mu
Mon Aug 12 15:32:24 UTC 2013


Hello,

* Output from 'uname -a'.


FreeBSD aaa 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253193: Thu Jul
11 12:52:39 CEST 2013     aaa at aaa:/usr/obj/usr/src/sys/AAA
amd64


* Output from 'ident /usr/ports/www/firefox/Makefile'


/usr/ports/www/firefox/Makefile:
     $FreeBSD: www/firefox/Makefile 324409 2013-08-08 18:42:03Z flo $


* Where/when did the problem occur: configuring, building, or
    running firefox

building with the following options


===> The following configuration options are available for firefox-23.0,1:
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Install debug symbols
     GCONF=off: GConf configuration backend support
     GIO=off: GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GNOMEVFS2=off: GnomeVFS2 (virtual file system) support
     GSTREAMER=on: Multimedia support via GStreamer
     LIBPROXY=on: Proxy support via libproxy
     LOGGING=off: Additional log messages
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     PGO=on: Use Profile-Guided Optimization
     WEBRTC=on: Web Real-Time Communication
====> Options available for the single AUDIO: you have to select exactly one of them
     ALSA=on: ALSA audio architecture support
     PULSEAUDIO=off: PulseAudio sound server support


* How can you reproduce the problem?

So far I had two issues, one with a workaround and one where I am
stuck.

First at some point the compilation fails with an error about missing
pgo-profile-run. This was solved by adding:


pgo-profile-run:
    $(PYTHON) $(DEPTH)/_profile/pgo/profileserver.py


to work/mozilla-release/obj-x86_64-unknown-freebsd10.0/Makefile

This workaround did the trick with firefox-22.0,1, however with 23
something fails later on (not sure if PGO related though):

gmake -C ipc export
gmake[5]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/ipc'
gmake[5]: *** No rule to make target `app/Makefile', needed by `export'. Stop.
gmake[5]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/ipc'
gmake[4]: *** [export_tier_platform] Error 2
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake[3]: *** [tier_platform] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake[1]: *** [realbuild] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake: *** [profiledbuild] Error 2


Thanks,
a.





More information about the freebsd-gecko mailing list