I have tried to build the kdm-3.5.3 package several times, and it always comes up with an error at the same point. Here is my emerge --info Gentoo Base System version 1.12.1 Portage 2.1_rc4-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 mobile AMD Athlon(tm) XP2800+ dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://cs.ubishops.ca/pub/gentoo/" LANG="en_CA" LC_ALL="en_CA" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --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="x86 3dnow 3dnowext 7zip X a52 aac acpi alsa amr apache2 arts audiofile automount avi bash-completion bcmath berkdb bitmap-fonts bzip2 cairo cdinstall cdr cli crypt css ctype cups cvs dba dbi dbm dbus directfb dpms dri dts dvd dvdread eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild fat fbcon ffmpeg fftw firefox font-server foomaticdb force-cgi-redirect fortran ftp gatos gd gdbm geoip gif glut gmail gmailtimestamps gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile gzip hal hash howl id3 idea idn ieee1394 imagemagick imlib isdnlog java javascript jpeg jpeg2k kde kdexdeltas kernel_linux lame lapack lcms libg++ libwww logrotate mad math matroska memlimit mikmod mjpeg mmx mmxext mng motif moznocompose moznoirc moznomail moznoroaming moznoxft mozsvg mp3 mp4 mpeg mpeg2 mplayer mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl oss pam pcmcia pcre pdf pdflib perl php png posix pppd python qt quicktime readline real reflection reiser4 reiserfs samba sdl sensord session simplexml skey slang soap sockets spell spl sse ssl subversion svg symlink sysfs tcltk tcpd theora thesaurus tiff tokenizer transcode truetype truetype-fonts type1-fonts udev usb userland_GNU userlocales v4l v4l2 vcd vcdimager videos vim vim-pager vim-with-x vorbis wifi win32codecs wma wxwindows x264 xml xml2 xmms xorg xosd xscreensaver xsl xv xvid yv12 zip zlib input_devices_keyboard input_devices_synaptics input_devices_evdev input_devices_mouse linguas_en video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS And here is a copy of the build process. Making all in sessions make[4]: Entering directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3/kdm/kfrontend/sessions' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3/kdm/kfrontend/sessions' make[4]: Entering directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3/kdm/kfrontend' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I.. -I../../kcontrol/background -I../../kdmlib -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon-xp -O2 -pipe s -Wformat-security -Wmissing-format-attribute -c `test -f 'kdm_config.c' || echo './'`kdm_config.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I.. -I../../kcontrol/background -I../../kdmlib -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon-xp -O2 -pipe s -Wformat-security -Wmissing-format-attribute -c `test -f 'kdm_greet.c' || echo './'`kdm_greet.c i686-pc-linux-gnu-gcc: s: No such file or directory i686-pc-linux-gnu-gcc: s: No such file or directory ./../backend/printf.c: In function `fmtstr': ./../backend/printf.c:210: warning: 'lastcol' might be used uninitialized in this function ./../backend/printf.c: In function `fmtstr': ./../backend/printf.c:210: warning: 'lastcol' might be used uninitialized in this function ./../backend/printf.c: In function `Logger': ./../backend/printf.c:298: warning: 'radix' might be used uninitialized in this function ./../backend/printf.c:300: warning: 'arlen' might be used uninitialized in this function kdm_config.c: In function `GetValue': kdm_config.c:632: warning: 'bestsec' might be used uninitialized in this function make[4]: *** [kdm_greet.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [kdm_config.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3/kdm/kfrontend' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3/kdm/kfrontend' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3/kdm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdm-3.5.3/work/kdm-3.5.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdm-3.5.3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile kdm-3.5.3.ebuild, line 51: Called kde-meta_src_compile 'make' kde-meta.eclass, line 408: Called kde_src_compile 'make' kde.eclass, line 275: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. If there is any other information needed, I will send it as soon as I can.
-fomit-frame-pointers is not a valid flag.
(In reply to comment #1) > -fomit-frame-pointers is not a valid flag. > Not that I'm trying to argue or anything, but how is it that I've been able to build every other package on my system with that flag if it's not valid?
Because gcc silently ignores the invalid flags. But when -fomit-frame-pointer is filtered, it becomes "s", that is what your message refers to.
Ok, that makes sense. Seems kind of stupid, to me anyway, that it would just silently ignore them without spitting out some kind of warning at least. At least the option doesn't severely affect the system.