Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112071 - keepalived 1.1.11 does not compile
Summary: keepalived 1.1.11 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 04:43 UTC by Marcin Deranek
Modified: 2010-09-10 19:00 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 Marcin Deranek 2005-11-10 04:43:29 UTC
keepalived-1.1.11 does not compile when 'profile' USE flag is set and CFLAGS
contain '-fomit-frame-pointer'. gcc return error message:

make[1]: Entering directory
`/var/tmp/portage/keepalived-1.1.11/work/keepalived-1.1.11/lib'
gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -pg -I. -Wall -Wunused
-Wstrict-prototypes  -c memory.c
gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -pg -I. -Wall -Wunused
-Wstrict-prototypes  -c utils.c
gcc: -pg and -fomit-frame-pointer are incompatible
make[1]: *** [memory.o] Error 1

'USE=-profile emerge keepalived' works.

Reproducible: Always
Steps to Reproduce:
1.CFLAGS=-fomit-frame-pointer USE=profile emerge keepalived
2.wait for error message
3.

Actual Results:  
gcc: -pg and -fomit-frame-pointer are incompatible


x4 marcin # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-ck4 i686)
=================================================================
System uname: 2.6.14-ck4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://130.89.175.1/pub/os/linux/gentoo
ftp://mirror.nutsmaas.nl/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib accessibility acpi adns alsa apache2 apm arts audiofile
avi bash-completion bcmath berkdb bidi bindist bitmap-fonts bmp bzip2 bzlib
cdparanoia cdr cpdflib crypt cscope ctype cups curl curlwrappers dga dio
directfb divx4linux dts dv dvb dvd dvdr dvdread eds encode evo exif expat fam
fbcon fdftk ffmpeg fftw flac flatfile foomaticdb ftp gb gcj gd gdbm ggi gif
ginac glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal
iconv idn imagemagick imlib ipv6 java javascript jikes jpeg kde lcms lesstif
libcaca libedit libgda libwww m17n-lib mad maildir matroska mbox mcal memlimit
mhash mikmod mime mmap mmx mng mono motif mozilla mp3 mpeg mpi msession ncurses
nls nptl offensive ogg oggvorbis openal opengl osc oss pam pcntl pcre pda pdflib
perl pic plotutils png portaudio posix ppds profile python qt quicktime readline
recode scanner sdl session sharedmem shorten simplexml skey slang sndfile snmp
sockets socks5 sox speex spell sse sse2 ssl svg sysvipc szip tcltk tcpd test
theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb
v4l vcd videos vorbis wifi win32codecs wmf wxwindows xine xinerama xml xml2
xmlrpc xmms xosd xpm xprint xsl xv xvid yaz zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2005-11-10 12:20:03 UTC
Thank you very much for reporting! 
 
The ebuild now filters -fomit-frame-pointer for USE=profile, since -pg and 
-fomit-frame-pointer are incompatible.  
Applied to keepalived-1.1.11.ebuild in portage cvs.