Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280012 - xfce-base/xfconf-4.6.1 compilation failure: -pg and -fomit-frame-pointer are incompatible
Summary: xfce-base/xfconf-4.6.1 compilation failure: -pg and -fomit-frame-pointer are ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 10:01 UTC by Giacomo Ritucci
Modified: 2009-08-02 10:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Ritucci 2009-08-02 10:01:38 UTC
Compiling xfce-base/xfconf-4.6.1 I got the following error:

make[3]: Entering directory `/var/tmp/portage/xfce-base/xfconf-4.6.1/work/xfconf-4.6.1/xfconfd'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -DHAVE_GNUC_VISIBILITY -DG_LOG_DOMAIN=\"xfconfd\" -DLIBXFCONF_COMPILATION -DBINDIR=\"/usr/bin\" -DLOCALEDIR=\"/usr/share/locale\" -I.. -I../common -I.. -I../common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pg -O2 -march=i686 -fomit-frame-pointer -pipe -c -o xfconfd-main.o `test -f 'main.c' || echo './'`main.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -DHAVE_GNUC_VISIBILITY -DG_LOG_DOMAIN=\"xfconfd\" -DLIBXFCONF_COMPILATION -DBINDIR=\"/usr/bin\" -DLOCALEDIR=\"/usr/share/locale\" -I.. -I../common -I.. -I../common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pg -O2 -march=i686 -fomit-frame-pointer -pipe -c -o xfconfd-xfconf-backend-factory.o `test -f 'xfconf-backend-factory.c' || echo './'`xfconf-backend-factory.c
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible
make[3]: *** [xfconfd-xfconf-backend-factory.o] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible
make[3]: *** [xfconfd-main.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfce-base/xfconf-4.6.1/work/xfconf-4.6.1/xfconfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfconf-4.6.1/work/xfconf-4.6.1/xfconfd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/xfconf-4.6.1/work/xfconf-4.6.1'
make: *** [all] Error 2
 *
 * ERROR: xfce-base/xfconf-4.6.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3251:  Called die
 * The specific snippet of code:
 *       emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
 *  The die message:
 *   emake failed

The problem should be here:
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible

Seems like the profiling flag has been left into the ebuild.

It's my first bug report, please tell me if something is missed.

Reproducible: Didn't try

Steps to Reproduce:
1. emerge xfce-base/xfconf-4.6.1
2. ????
3. PROFIT!

Actual Results:  
compilation of xfce-base/xfconf-4.6.1 failed

Expected Results:  
compilation of xfce-base/xfconf-4.6.1 going fine

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5-triciclo-su-misura-test i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-triciclo-su-misura-test-i686-Intel-R-_Pentium-R-_M_processor_1.50GHz-with-glibc2.0
Timestamp of tree: Sun, 02 Aug 2009 09:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bzip2 cdrw cli cracklib crypt cups dbus dri dvd emacs encode fbcon flac gdbm gpm hal iconv ipod ipv6 jpeg kpathsea loop-aes mmx mp3 mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection sasl session spl sse ssl startup-notification svg sysfs tcpd threads truetype unicode v4l2 vim-syntax vorbis x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-08-02 10:16:21 UTC
sync in a hour and it's fixed