This is on a brand new hardened-profile install, nothing shows up on revdep-rebuild. When I emerge mplayer, it fails to build with the following output near the end: mplayer/gtk/opts.c: In function `audioButton': mplayer/gtk/opts.c:1538: warning: passing arg 1 of `gfree' from incompatible pointer type mplayer/gtk/opts.c:1540: warning: passing arg 1 of `gfree' from incompatible pointer type mplayer/gtk/opts.c:1542: warning: passing arg 1 of `gfree' from incompatible pointer type mplayer/gtk/opts.c:1548: warning: passing arg 1 of `gfree' from incompatible pointer type i686-pc-linux-gnu-gcc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o mplayer/gtk/url.o mplayer/gtk/url.c i686-pc-linux-gnu-gcc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o mplayer/gtk/eq.o mplayer/gtk/eq.c In file included from mplayer/gtk/url.c:17: mplayer/gtk/../gmplayer.h:19: warning: redundant redeclaration of 'mplEventHandling' mplayer/gtk/../gmplayer.h:16: warning: previous declaration of 'mplEventHandling' was here i686-pc-linux-gnu-gcc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o mplayer/gtk/common.o mplayer/gtk/common.c In file included from mplayer/gtk/eq.c:17: ../libvo/video_out.h:180: warning: redundant redeclaration of 'vo_format_name' ../libmpcodecs/img_format.h:118: warning: previous declaration of 'vo_format_name' was here In file included from mplayer/gtk/eq.c:21: ../libmpcodecs/dec_video.h:3: warning: redundant redeclaration of 'video_read_properties' ../libmpdemux/stheader.h:119: warning: previous declaration of 'video_read_properties' was here In file included from mplayer/gtk/../widgets.h:13, from mplayer/gtk/eq.c:22: ../mplayer.h:39: warning: redundant redeclaration of 'force_ni' ../libmpdemux/demuxer.h:358: warning: previous declaration of 'force_ni' was here ../mplayer.h:40: warning: redundant redeclaration of 'index_mode' ../libmpdemux/demuxer.h:356: warning: previous declaration of 'index_mode' was here mplayer/gtk/eq.c: In function `ecButtonReleased': mplayer/gtk/eq.c:544: warning: dereferencing type-punned pointer will break strict-aliasing rules mplayer/gtk/eq.c:545: warning: dereferencing type-punned pointer will break strict-aliasing rules mplayer/gtk/eq.c:546: warning: dereferencing type-punned pointer will break strict-aliasing rules mplayer/gtk/eq.c:547: warning: dereferencing type-punned pointer will break strict-aliasing rules mplayer/gtk/eq.c:548: warning: dereferencing type-punned pointer will break strict-aliasing rules mplayer/gtk/eq.c:549: warning: dereferencing type-punned pointer will break strict-aliasing rules ar r libgui.a wm/ws.o wm/wsxdnd.o app.o interface.o cfg.o bitmap.o skin/skin.o skin/font.o skin/cut.o mplayer/widgets.o mplayer/play.o mplayer/mw.o mplayer/sw.o mplayer/menu.o mplayer/pb.o mplayer/common.o mplayer/gtk/menu.o mplayer/gtk/mb.o mplayer/gtk/about.o mplayer/gtk/pl.o mplayer/gtk/sb.o mplayer/gtk/fs.o mplayer/gtk/opts.o mplayer/gtk/url.o mplayer/gtk/eq.o mplayer/gtk/common.o ar: creating libgui.a true libgui.a make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc1_p20070622-r4/work/mplayer-20070622/gui' !!! ERROR: media-video/mplayer-1.0_rc1_p20070622-r4 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile mplayer-1.0_rc1_p20070622-r4.ebuild, line 442: Called die Reproducible: Always I would have put emerge --info here, but bugs.gentoo.org says the comment is too long.
And once again, here's the output from emerge --info: Portage 2.1.2.12 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.20-hardened-r6 i686) ================================================================= System uname: 2.6.20-hardened-r6 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 30 Aug 2007 00:30:11 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe -fforce-addr -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -O2 -pipe -fforce-addr -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="a52 aac aalib acl acpi aim alsa ao apm berkdb bluetooth bzip2 cairo calendar caps cddb cdr cjk clamav cracklib crypt cups curl dbm dbx doc dri dvd dvdr dvdread encode fastcgi ffmpeg firefox flac gnutls gphoto2 gtk hardened iconv ieee1394 imagemagick imap imlib javascript jpeg libcaca matroska midi mime mmap mmx mp3 msn ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal opengl pam pango pcre pdf perl pic png posix postgres python readline samba sasl sdl skey sockets sox speex spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype unicode urandom usb vorbis wifi win32codecs x264 x86 xcomposite xorg xscreensaver xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 i915" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I'll file a bug about comments being too long momentarily.
What happens when you remove -fforce-addr from your C[XX]FLAGS??
Well, dunno what happens without --fforce-addr, 1.0_rc1_p20070824 compiles just fine with that flag (on non-hardened), but first of all there's no error whatsoever visible in the output you've posted. Set MAKEOPTS="-j1" and try again.
*** Bug 191071 has been marked as a duplicate of this bug. ***
Sorry about the duplicate bug. I emerged it with MAKEOPTS=-j1 and it failed at a different point: i686-pc-linux-gnu-gcc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o vf_cropdetect.o vf_cropdetect.c i686-pc-linux-gnu-gcc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o vf_decimate.o vf_decimate.c vf_decimate.c: In function `diff_MMX': vf_decimate.c:26: error: can't find a register in class `BREG' while reloading `asm' make[1]: *** [vf_decimate.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc1_p20070824/work/mplayer-20070824/libmpcodecs' make: *** [libmpcodecs/libmpcodecs.a] Error 2 !!! ERROR: media-video/mplayer-1.0_rc1_p20070824 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile mplayer-1.0_rc1_p20070824.ebuild, line 443: Called die
Dupe.
*** This bug has been marked as a duplicate of bug 175627 ***
I can see how the second bug is related to the -fPIC stuff/hardened issues.. Should this bug at least be reopened for the MAKEOPTS=-j1 thing?
Please leave this bug alone. It's a dupe and not a different issue, your original output was useless due to MAKEOPTS. *** This bug has been marked as a duplicate of bug 175627 ***