ID: 21823 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Gentoo Linux 1.4 PHP Version: 4.3.0 New Comment:
In that case remove -pipe and try again. Previous Comments: ------------------------------------------------------------------------ [2003-01-22 16:16:35] [EMAIL PROTECTED] Ack. I'm running too many servers. I was wrong about this one running GCC 3.2.1. It's still running 2.95 version. I've included the output of gcc -v below. Sorry for the confusion! Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release) ------------------------------------------------------------------------ [2003-01-22 15:47:57] [EMAIL PROTECTED] Change -march=i686 to -march=pentium2 and try again. ------------------------------------------------------------------------ [2003-01-22 12:54:58] [EMAIL PROTECTED] When installing PHP 4.3 on my system running GCC 3.2.1, I get the following output. This is obviously incorrect. If you need any further info, please ask. arsenic root # emerge php Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/php-4.3.0-r2 to / >>> md5 ;-) php-4.3.0.tar.bz2 >>> Unpacking source... >>> Unpacking php-4.3.0.tar.bz2 >>> Source unpacked. ssl gdbm mysql truetype jpeg Compiling imap with SSL support libwww flash xml2 crypt creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for working sed... sed checking host system type... i686-pc-linux-gnu Updated php_version.h checking for gcc... gcc checking whether the C compiler (gcc -march=i686 -O3 -pipe ) works... yes checking whether the C compiler (gcc -march=i686 -O3 -pipe ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... gawk checking for bison... bison -y checking bison version... 1.35 (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking flex version... 2.5.4 (ok) checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for CLI build... yes checking for embedded SAPI library support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for webjames... no checking for CGI build... no checking for chosen SAPI module... cli Running system checks checking for missing declarations of reentrant functions... done checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... no checking for __yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for dlopen... yes checking for sin in -lm... yes checking for res_search... no checking for __res_search... no checking for res_search in -lresolv... yes checking for res_search in -lbind... no checking for __res_search in -lbind... no checking for res_search in -lsocket... no checking for __res_search in -lsocket... no checking for inet_aton... yes checking for dn_skipname... no checking for __dn_skipname... no checking for dn_skipname in -lresolv... no checking for __dn_skipname in -lresolv... yes checking for dn_skipname in -lbind... no checking for __dn_skipname in -lbind... no checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for ApplicationServices/ApplicationServices.h... no checking for sys/types.h... yes checking for sys/time.h... yes checking for netinet/in.h... yes checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for monetary.h... yes checking for mach-o/dyld.h... no checking for netdb.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/poll.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/varargs.h... no 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 fopencookie... yes configure: error: can not run test program while cross compiling !!! ERROR: dev-php/php-4.3.0-r2 failed. !!! Function src_compile, Line 137, Exitcode 1 !!! bad ./configure ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21823&edit=1