This is example bug wchich I've had http://bugs.gentoo.org/show_bug.cgi?id=52265 I've had problems with mplayer1.0pre-r3 and abiwrod2.0.7 - after I've uncoment FEATURES="sandbox" everything compiled without error Reproducible: Always Steps to Reproduce: 1.emerge mplayer or abiword 2.must have portage 2.0.50-r7 Actual Results: Adding FEATURES="sandbox" resolves problems Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6-love1) ================================================================= System uname: 2.6.6-love1 i686 AMD Athlon(tm) Gentoo Base System version 1.4.15 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -ftracer -fomit-frame-pointer -momit-leaf-frame-pointer -fprefetch-loop-arrays -fforce-addr -freduce-all-givs -mfpmath=387 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -ftracer -fomit-frame-pointer -momit-leaf-frame-pointer -fprefetch-loop-arrays -fforce-addr -freduce-all-givs -mfpmath=387 -maccumulate-outoging-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.pl/gentoo-portage" USE="3dnow X aalib alsa apm avi berkdb cdr crypt cups dvd encode esd flac foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg lame libg++ libwww mad matroska mikmod mitshm mmx motif mozilla mpeg ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
considering sandbox is in the default FEATURES i doubt that's the problem what is the output of `emerge info` if you dont add that line to make.conf ? why dont you try with less suicidal CFLAGS ?
Of course I've tried - with: 1. -march=athlon-xp -O3 -fomit-frame-pointer -pipe 2. -march=athlon-xp -O2 -pipe And my current make.conf #FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox notitles noclean noauto cvs keeptemp keepwork autoaddcvs" #FEATURES="sandbox ccache distcc autoaddcvs" #FEATURES="distcc" #FEATURES="sandbox" I said when I uncomment sandbox I have no problems if not - cannot emerge abiword and mplayer at this moment
what about simply CFLAGS="-pipe" ? also, you didnt answer my other question about `emerge info`
So you think that it's something wrong with make.global...? And till this update evertyhing worked fine. I'll chceck this tommorow on diffrent computer and report what I've experienced also try pure -O2 march=athlon-xp
I'd venture: tempermental hardware induced by optimizations. "Adding" sandbox will not fix a problem. It's enabled by default on x86 unless you explicitly disable it. You're seeing a phantom bug. You can't simply test building something by changing your cflags. You have to rebuild the entire system with something more sane first, then you can try it.