Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407043 - www-client/firefox-10.0.1-r1: fails to compile with profile guided optimization
Summary: www-client/firefox-10.0.1-r1: fails to compile with profile guided optimization
Status: RESOLVED DUPLICATE of bug 388585
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 23:15 UTC by Hubert Kowalski
Modified: 2012-03-06 00:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log. (build.log,664.97 KB, text/plain)
2012-03-05 23:17 UTC, Hubert Kowalski
Details
ebuild environment (environment,253.15 KB, text/plain)
2012-03-05 23:17 UTC, Hubert Kowalski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Kowalski 2012-03-05 23:15:59 UTC
The compilation of firefox fails on second step of process with issues complaining about makefile client.mk with param set to 'profilebuild'

Reproducible: Always

Steps to Reproduce:
1. enable pgo
2. compile firefox
3. fail
Actual Results:  
 │ERROR: compile                                                                                                                                                                                    │
│ERROR: www-client/firefox-10.0.1-r1 failed (compile phase):                                                                                                                                       │
│  virtualmake: the emake failed.  
│Call stack:                                                                                                                                                                                       │
│    ebuild.sh, line   85:  Called src_compile                                                                                                                                                     │
│  environment, line 6424:  Called Xemake '-f' 'client.mk' 'profiledbuild'                                                                                                                         │
│  environment, line  656:  Called virtualmake '-f' 'client.mk' 'profiledbuild'                                                                                                                    │
│  environment, line 7141:  Called die                                                                                                                                                             │
│The specific snippet of code:
│      [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed.";

Expected Results:  
firefox should compile and install perfectly. during profile run it runs quite smoothly...

# emerge --info =www-client/firefox-10.0.1-r1
Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.2-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.2-gentoo-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Mon, 05 Mar 2012 09:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac ace acl acpi alsa amr apache2 apng archive auto-hinter autotrace berkdb branding bzip2 cairo cdda cdr cli collada color compress consolekit contrib cracklib crypt cups curl curlwrappers cxx dbus dell detex device-mapper dia djvu dot dri dts dvd dvdr dvi2tty dvipdfm emboss encode exif extra fam fbcondecor ffmpeg fftw firefox flac fontconfig fortran ftp fts3 g3dvl games gd gdbm gdu gif gimp gles1 gles2 gnome-keyring gnutls gpm graphics graphviz gs gstreamer gtk hash hddtemp httpd humanities iconv icu idn imagemagick imlib inkjar ipv6 java java5 java6 jpeg json kpathsea lame laptop latex latex3 lcdfilter lcms lexlive libffi libnotify live lm_sensors lqr lua luatex lzma lzo mad matroska mmx mng modules mozdevelop mp2 mp3 mp4 mpeg mplayer mudflap musepack music mysql ncurses nettle nls nptl nptlonly ogg omega openal opengl openmp openvg pam pango pcre pdf pdo pgo php plotutils pmu png pnm policykit postproc postscript ppds pppd publishers qt3support quicktime rar raw readline rpm ruby schroedinger science sdl secure-delete session shared-dricore simplexml smaba smp sound spell sqlite sqlite3 sse sse2 ssl startup-notification stream subversion suhosin svg swig synctex sysfs t1lib tcl tcpd terminal tex4ht tga theora threads thunar tiff tk tokenizer toolbar track-src-odirect truetype udev unicode urandom usb userlocales uuencode vala vlm vorbis webkit webp wifi win32codecs wmf wxwidgets x264 x86 xcb xcomposite xml xmp xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd groovy gsf identity j2ee mobility php profiler soa visualweb webcommon xml dlight enterprise ruby ergonomics" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19 jruby" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="menu brightness trash logout" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv =www-client/firefox-10.0.1-r1
[ebuild     U ] www-client/firefox-10.0.1-r1 [10.0.1] USE="alsa crashreporter dbus ipc libnotify minimal pgo startup-notification webm wifi -bindist -custom-cflags -custom-optimization -debug (-selinux) -system-sqlite" LINGUAS="pl -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu"
Comment 1 Hubert Kowalski 2012-03-05 23:17:10 UTC
Created attachment 304347 [details]
Build log.
Comment 2 Hubert Kowalski 2012-03-05 23:17:50 UTC
Created attachment 304349 [details]
ebuild environment
Comment 3 Hubert Kowalski 2012-03-05 23:19:16 UTC
This issue is caused by pgo (mot propably) I will now disable pgo and try to install firefox again. However the previous version worked normally with pgo.
Comment 4 Jory A. Pratt gentoo-dev 2012-03-06 00:20:45 UTC
Please do not change the severity of a bug, this is not a critical bug by any means, if it is pgo failure you can always emerge with -pgo, I am actually thinking of masking pgo completely for all archs until we find a better way to support it.

*** This bug has been marked as a duplicate of bug 388585 ***