For some reason mod_php seems to think that it is cross compiling.. I have no cross compiler installed and i'm certain that my CFLAGS are set correctly. Emerge info at the end.. checking for sys/wait.h... yes checking for unistd.h... yes checking for unix.h... no checking for utime.h... yes checking for sys/utsname.h... yes checking for sys/ipc.h... yes checking for dlfcn.h... yes checking for fopencookie... yes configure: error: can not run test program while cross compiling !!! ERROR: dev-php/mod_php-4.3.3 failed. !!! Function econf, Line 324, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1. emerge mod_php 2. watch it choke 3. Actual Results: It fails with the above error.. Expected Results: Compiled. =-=-=- Emerge Info Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test4-bk3) ================================================================= System uname: 2.6.0-test4-bk3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -msse2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache autoaddcvs sandbox" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/ gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirrors.pair .com/ http://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://gentoo.noved .org/ http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ua lberta.ca/pub/unix/Linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg nc urses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline aalib bonobo svga tcltk java guile gpm tcpd pam libw ww ssl perl python imlib gtk motif opengl mozilla cdr joystick samba X apache2 d vd sdl oggvorbis gtk2 gnome oss -avi -alsa -qt -arts -esd -kde"
*** Bug 28613 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 23751 ***