When emerging bbapm, there is a compiler error, thus the program will not emerge. Below is the output while trying to emerge bbapm: >>> Unpacking source... >>> Unpacking bbapm-0.0.1.tar.gz [32;01m*[0m Applying bbapm-0.0.1-gcc3.patch... [A[73G [34;01m[ [32;01mok [34;01m][0m >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for sed... sed checking for gcc... gcc checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -s) works... yes checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -s) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... g++ checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe -fomit-frame-pointer -s) works... yes checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe -fomit-frame-pointer -s) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking for a BSD compatible install... /bin/install -c checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for ANSI C header files... yes checking for malloc.h... yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for select... yes checking for strstr... yes updating cache ./config.cache creating ./config.status creating version.h creating Makefile creating data/Makefile Making all in data make[1]: Entering directory `/var/tmp/portage/bbapm-0.0.1-r3/work/bbapm-0.0.1/data' sed -e "s,@configdir@,/usr/share/bbtools," bbtoolsrc.in > bbtoolsrc make[1]: Leaving directory `/var/tmp/portage/bbapm-0.0.1-r3/work/bbapm-0.0.1/data' make[1]: Entering directory `/var/tmp/portage/bbapm-0.0.1-r3/work/bbapm-0.0.1' g++ -DPACKAGE=\"bbapm\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -I. -I. -DDEFAULT_CONF=\"/usr/share/bbtools/bbapm.conf\" -DDEFAULT_NOBB=\"/usr/share/bbtools/bbapm.nobb\" -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/X11R6/include -c bbapm.cc g++ -DPACKAGE=\"bbapm\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -I. -I. -DDEFAULT_CONF=\"/usr/share/bbtools/bbapm.conf\" -DDEFAULT_NOBB=\"/usr/share/bbtools/bbapm.nobb\" -march=pentium3 -O3 -pipe -fomit-frame-pointer -I/usr/X11R6/include -c Image.cc In file included from Image.hh:49, from bbapm.hh:28, from bbapm.cc:26: LinkedList.hh:66: friend declaration requires class-key, i.e. `friend class __llist_iterator' make[1]: *** [bbapm.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from Image.hh:49, from Basewindow.hh:38, from Image.cc:34: LinkedList.hh:66: friend declaration requires class-key, i.e. `friend class __llist_iterator' make[1]: *** [Image.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/bbapm-0.0.1-r3/work/bbapm-0.0.1' make: *** [all-recursive] Error 1 !!! ERROR: x11-misc/bbapm-0.0.1-r3 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) Calculating dependencies ...done! >>> emerge (1 of 1) x11-misc/bbapm-0.0.1-r3 to / >>> md5 ;-) bbapm-0.0.1.tar.gz Reproducible: Always Steps to Reproduce: 1. emerge bbapm 2. 3. Actual Results: A compiler error occurs preventing bbapm from being merged. Expected Results: Should have compiled without errors and merged. Portage 3.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java X gpm tcpd pam ssl python esd imlib gtk motif opengl alsa -arts dvd -gnome gphoto2 -kde mozilla pcmcia perl pnp samba sse tiff usb x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
One thing I forgot to add the bug report. bbapm compiled fine when I ran Slackware using gcc2.95, however, also would not compile in Slackware after upgrading to gcc3.2.
fixed in cvs -fomit causes this now filtering out
I still get the error even in r3 with the -fomit-frame-pointer filtering.