When i try to compile dev-php/php-4.4.0 i get the following error: gcc -Iext/openssl/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ - DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include -I/var/tmp/ portage/php-4.4.0/work/php-4.4.0/main -I/var/tmp/portage/php-4.4.0/work/php-4.4. 0 -I/usr/include/libxml2 -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/ mbstring/mbregex -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/ libmbfl -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl - I/usr/include/pspell -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat - I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM -I/var/tmp/portage/php-4.4.0/ work/php-4.4.0/Zend -march=athlon-xp -O2 -pipe -s -fomit-frame-pointer -c / var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c -o ext/openssl/ openssl.o && echo > ext/openssl/openssl.lo In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:245, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend_hash.h:119: error: syntax error before 'va_list' In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:246, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend_llist.h:34: error: syntax error before 'va_list' In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:330: error: syntax error before 'va_list' /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:470: error: syntax error before 'va_list' In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:239, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/snprintf.h:69: error: syntax error before 'va_list' In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:240, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/spprintf.h:40: error: syntax error before 'va_list' In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:292: error: syntax error before 'va_list' In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:392, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: 'struct utimbuf' declared inside parameter list /var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: its scope is only this definition or declaration, which is probably not what you want /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'add_assoc_name_entry': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:246: warning: pointer targets in passing argument 2 of 'add_next_index_stringl' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:253: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:258: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:258: warning: pointer targets in passing argument 4 of 'add_assoc_stringl_ex' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:262: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'add_assoc_asn1_string': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:267: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:267: warning: pointer targets in passing argument 4 of 'add_assoc_stringl_ex' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'asn1_time_to_time_t': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:290: warning: pointer targets in passing argument 1 of '_estrdup' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:293: warning: incompatible implicit declaration of built-in function 'memset' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zm_startup_openssl': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:633: warning: incompatible implicit declaration of built-in function 'strncpy' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_x509_parse': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:876: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:897: warning: pointer targets in assignment differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'php_openssl_make_REQ': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1207: warning: pointer targets in passing argument 3 of 'zend_hash_get_current_key_ex' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1207: warning: pointer targets in passing argument 4 of 'zend_hash_get_current_key_ex' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1237: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1245: warning: incompatible implicit declaration of built-in function 'memcpy' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1280: warning: pointer targets in passing argument 3 of 'zend_hash_get_current_key_ex' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1280: warning: pointer targets in passing argument 4 of 'zend_hash_get_current_key_ex' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_csr_sign': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1471: warning: incompatible implicit declaration of built-in function 'memset' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_csr_new': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1597: warning: incompatible implicit declaration of built-in function 'memset' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_pkey_new': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1904: warning: incompatible implicit declaration of built-in function 'memset' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export_to_file': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1948: warning: incompatible implicit declaration of built-in function 'memset' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1959: warning: pointer targets in passing argument 4 of 'PEM_write_bio_PrivateKey' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:1999: warning: incompatible implicit declaration of built-in function 'memset' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2010: warning: pointer targets in passing argument 4 of 'PEM_write_bio_PrivateKey' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_private_encrypt': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2520: warning: pointer targets in passing argument 2 of 'RSA_private_encrypt' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2529: warning: pointer targets in initialization differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_private_decrypt': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2576: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2579: warning: incompatible implicit declaration of built-in function 'memcpy' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2592: warning: pointer targets in initialization differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_public_encrypt': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2639: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2649: warning: pointer targets in initialization differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_public_decrypt': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2696: warning: pointer targets in passing argument 2 of 'RSA_public_decrypt' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2699: warning: incompatible implicit declaration of built-in function 'memcpy' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2714: warning: pointer targets in initialization differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_error_string': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2740: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_sign': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2775: warning: pointer targets in passing argument 3 of 'EVP_SignFinal' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2778: warning: pointer targets in initialization differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_verify': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2813: warning: pointer targets in passing argument 2 of 'EVP_VerifyFinal' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_seal': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2888: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2907: warning: pointer targets in initialization differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'zif_openssl_open': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2975: warning: pointer targets in passing argument 3 of 'EVP_OpenInit' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:2977: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'php_openssl_apply_verification_policy': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:3098: warning: incompatible implicit declaration of built-in function 'strlen' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:3101: warning: incompatible implicit declaration of built-in function 'strchr' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:3102: warning: incompatible implicit declaration of built-in function 'strstr' /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c: In function 'passwd_callback': /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c:3132: warning: incompatible implicit declaration of built-in function 'memcpy' make: *** [ext/openssl/openssl.lo] Błąd 1 !!! ERROR: dev-php/php-4.4.0 failed. !!! Function php-sapi_src_compile, Line 5956, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. emerge -pv dev-php/php: [ebuild N ] dev-php/php-4.4.0 +X +berkdb +crypt +curl -debug -doc -fdftk - firebird -flash -freetds -gd -gd-external +gdbm -gmp -hardenedphp -imap - informix +ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql -mysql +ncurses +nls -oci8 -odbc +pam +png +postgres +readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz emerge -pv openssl [ebuild R ] dev-libs/openssl-0.9.7g -bindist -emacs -test +zlib I have already tried rebuilding the openssl (which is mentioned in the error msgs) Reproducible: Always Steps to Reproduce: 1. emerge dev-php/php 2. 3. Actual Results: compilation fliled Expected Results: successfull compilation and clean merge of dev-php/php emerge --info: Portage 1.589-cvs (default-linux/x86/2005.1, gcc-4.0.1, glibc-2.3.5-r1, 2.6.12- ck4 i686) ================================================================= System uname: 2.6.12-ck4 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.12.0_pre6 Python: dev-lang/python-2.4.1-r1 [2.4.1 (#1, Aug 7 2005, 08:21:23 )] distcc: No such file or directory [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.7.9-r1, 1.5, 1.8.5-r3, 1.6.3, 1.4_p6, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -s -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/ share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb / usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -s -fomit-frame-pointer" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig confcache digest distlocks parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS=" http://gentoo.zie.pg.gda.pl http:// gentoo.prz.rzeszow.pl http://gentoo.inode.at http://src.gentoo. pl " LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--relax -Wl,--sort-common -Wl,-- strip-all,--as-needed" LINGUAS="pl" MAKEOPTS="-j1" PKGDIR="/var/tmp/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X aac alsa amarok apache2 apm avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdparanoia cdr clanJavaScript crypt css cups curl custom-cflags divx4linux dlloader dvd dvdread eds emboss encode examples exif extraicons extramodules flac font-server foomaticdb fortran gdbm gif glibc-omitfp glitz gpm gtk gtk2 gtkhtml hardened imagemagick imlib insecure- savers ipv6 ithreads java javascript jpeg jpeg2k kadu kde kdeenablefinal libg++ libwww mad mikmod mmx mmxext mng motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg musepack ncurses nethack nls nonfsv4 nowebdav nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pdflib perl php png postgres psi python qt quicktime readline real ruby samba sdl sndfile spell sqlite sse ssl symlink sysfs tabs tcltk tcpd tga theora threads tiff truetype truetype-fonts type1 type1-fonts usb userlocales vcd vim vim-with-x visualization vorbis win32codecs xanim xine xml xml2 xmms xosd xv xvid zlib zsh linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET Config files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package. unmask, /etc/portage/package.keywords, /etc/portage/profile/virtuals
Hi, Thanks for the bug report. The PHP team only support the 'stable' gcc. I'm re-assigning this bug to the toolchain team, who currently provide support for gcc-4. Best regards, Stu
With compiler switched to gcc-3.4.4-vanilla and recompilation of openssl with it i get a little less error msgs: gcc -Iext/openssl/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ - DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include -I/var/tmp/ portage/php-4.4.0/work/php-4.4.0/main -I/var/tmp/portage/php-4.4.0/work/php-4.4. 0 -I/usr/include/libxml2 -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/ mbstring/mbregex -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/ libmbfl -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl - I/usr/include/pspell -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat - I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM -I/var/tmp/portage/php-4.4.0/ work/php-4.4.0/Zend -march=athlon-xp -O2 -pipe -s -fomit-frame-pointer -c / var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c -o ext/openssl/ openssl.o && echo > ext/openssl/openssl.lo In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:245, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend_hash.h:119: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:246, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend_llist.h:34: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:330: error: parse error before "va_list" /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:470: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:239, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/snprintf.h:69: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:240, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/spprintf.h:40: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:292: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:392, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: "struct utimbuf" declared inside parameter list /var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: its scope is only this definition or declaration, which is probably not what you want make: *** [ext/openssl/openssl.lo] Błąd 1 !!! ERROR: dev-php/php-4.4.0 failed. !!! Function php-sapi_src_compile, Line 5956, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message.
Just noting that php-4.4.0 from the Gentoo PHP overlay [1] compiles perfectly well with dev-libs/openssl-0.9.7e-r1 and gcc-4.0.2-beta20050818, so you might try the ebuild from overlay, it works for me. [1] http://svn.gnqs.org/projects/gentoo-php-overlay/
post a patch
Php from stable Gentoo PHP Overlay [1] compiled cleanly with gcc-4, thanks. [1] http://dev.gentoo.org/~stuart/php/php-overlay.tar.gz
This may be closed then, thanks for reporting back.