Doesn't work either on x86 nor amd64 >>> Unpacking source... >>> Unpacking epix-0.8.10a_complete.tar.bz2 to /var/tmp/portage/epix-0.8.10a-r1/work >>> Source unpacked. c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer pairs.cc /bin/bash: c: command not found make: [pairs.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer segment.cc /bin/bash: c: command not found make: [segment.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer circle.cc /bin/bash: c: command not found make: [circle.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer lengths.cc /bin/bash: c: command not found make: [lengths.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer camera.cc /bin/bash: c: command not found make: [camera.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer output.cc c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer objects.cc /bin/bash: c: command not found make: [output.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer curves.cc /bin/bash: c: command not found /bin/bash: c: command not found make: [objects.o] Error 127 (ignored) make: [curves.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer plots.cc /bin/bash: c: command not found make: [plots.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer geometry.cc /bin/bash: c: command not found make: [geometry.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer functions.cc /bin/bash: c: command not found make: [functions.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer arcana.cc /bin/bash: c: command not found make: [arcana.o] Error 127 (ignored) c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer meshplots.cc c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer contrib/epix_ext.cc /bin/bash: c: command not found /bin/bash: c: command not found make: [meshplots.o] Error 127 (ignored) make: [epix_ext.o] Error 127 (ignored) ar -ru libepix.a pairs.o segment.o circle.o lengths.o camera.o output.o objects.o curves.o plots.o geometry.o functions.o arcana.o meshplots.o ar: creating libepix.a ar: pairs.o: No such file or directory make: *** [libepix.a] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686) ================================================================= System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.6 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi adns alsa apache2 arts artswrappersuid avi bcmath berkdb bitmap-fonts bootsplash bzlib cdparanoia cdr codecs crypt cups dba dga divx4linux dvd encode esd exif f77 fam fftw flac foomaticdb fortran gd gdbm gif gimp gimpprint gnuplot gphoto2 gpm gsl gtk gtk2 hbci imagemagick imlib java jpeg junit kde latex libg++ libwww mad mikmod mmx motif moznoirc moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pcre pdflib perl php png ppds python qt quicktime readline rtc scanner sdl session simplexml slang soap spell spl sqlite ssl svg svga tcltk tcpd tetex tiff truetype usb v4l2 x86 xine xml xml2 xmms xosd xsl xv zlib video_cards_matrox"
Looks like you have the CXX variable exported in your environment somewhere - possibly in make.conf or somewhere else? I can build this application in both x86 and amd64 without any problems unless I export CXX and then it will fail in a similar way. It would normally read, g++ -c -march=k8 -O2 -pipe pairs.cc Try unset CXX in bash, or checking for it make.conf.
I unsetted CXX and CXXFLAGS but it still fails
The ebuild relied on CXX set (which it can't any more) - changed. Please give it a try when the corrected ebuild hits your portage mirror. Re-open if you still have problems.