When trying to update mod_php from 4.3.2 to 4.3.2-r3 via emerge -u world, it fails on the configure script. The exact error is: configure: error: can not run test program while cross compiling !!! ERROR: dev-php/mod_php-4.3.2-r3 failed. !!! Function econf, Line 304, Exitcode 1 !!! econf failed I'm running a T-bird Athlon with the following in my make.conf: CFLAGS="-march=athlon-tbird -O3 -pipe" Reproducible: Always Steps to Reproduce: 1.Attempt to upgrade mod_php from 4.3.2 to 4.3.2-r3 using the above cflags line. 2. 3. Actual Results: configure: error: can not run test program while cross compiling !!! ERROR: dev-php/mod_php-4.3.2-r3 failed. !!! Function econf, Line 304, Exitcode 1 !!! econf failed Expected Results: The configure script should have completed and emerge should have moved on to compile and install mod_php. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/conf ig /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb" 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 arts avi crypt cups encode foomaticdb gif gpm gtk imlib jpeg kde gnome libg++ mad mikmod mmx mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql X tcpd pam libwww ssl perl python qt motif opengl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Created attachment 14609 [details] script capture of the emerge session. The attachment is a script copy of the emerge session which produced the crash.
*** This bug has been marked as a duplicate of 23751 ***