While doing an update of libvorbis the ./configure phase fails when checking whether gcc produces valid executables. When running the same test manually the following happened. minimon libvorbis-1.0 # gcc -Dsimd-3dn conftest.c conftest.c:0: malformed option `-D simd-3dn' I tracked the macro entry down to a line in the ebuild. # if [ `use x86` ] ; then # use sse && epatch ${FILESDIR}/${PN}-simd.patch # use 3dnow && append-flags -Dsimd-3dn # fi By disabling the lines related to this macro entry, the ebuild works. I could then update libvorbis. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. export ACCEPT_KEYWORDS="~x86" 3. emerge /usr/portage/media-libs/libvorbis/libvorbis-1.0-r4.ebuild Actual Results: root@minimon ee0mdc # emerge /usr/portage/media-libs/libvorbis/libvorbis-1.0-r4.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/libvorbis-1.0-r4 to / >>> md5 src_uri ;-) libvorbis-1.0.tar.gz >>> Unpacking source... >>> Unpacking libvorbis-1.0.tar.gz to /var/tmp/portage/libvorbis-1.0-r4/work * Applying libvorbis-m4.patch... [ ok ]>>> Source unpacked. * Working directory: /var/tmp/portage/libvorbis-1.0-r4/work/libvorbis-1.0... * Applying libtool-relink.patch... * Applying libtool-tmp.patch... * Applying libtool-sed.patch... * Applying libtool-portage.patch... 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 gcc... gcc checking whether the C compiler (gcc -march=i686 -O3 -pipe -L/usr/X11R6/lib -I/usr/qt/3/include -Dsimd-3dn ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! ERROR: media-libs/libvorbis-1.0-r4 failed. !!! Function src_compile, Line 45, Exitcode 1 !!! (no error message) Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8) ================================================================= System uname: 2.6.0-test2 i686 Mobile Intel(R) Celeron(R) CPU 1.50GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /etc/fstab /etc/mail/aliases /etc/modules.d/alsa /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 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="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb bonobo cdr esd gdbm gif gnome-libs gpm gtkhtml guile imlib libwww motif mozilla mysql nls oggvorbis opengl pam perl png postgres python readline sdl slang ssl svga tcltk tcpd tiff X gtk gnome alsa dvd apache acpi4linux -java -qt -kde -arts -xemacs -emacs" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe -L/usr/X11R6/lib -I/usr/qt/3/include" CXXFLAGS="-march=i686 -O3 -pipe -L/usr/X11R6/lib -I/usr/qt/3/include" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j6" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox buildpkg"
The reason it fails is because you have 3dnow in your use flags, and since a Celeron does not support 3dnow instructions, the test fails. Remove 3dnow from your use flags and it should configure just fine.
Yep, that'd be the cause. Thank-you.
wrong CFLAGS