From: dmda at yandex dot ru Operating system: solaris 8/sparc PHP version: 5.3.0 PHP Bug Type: Compile Failure Bug description: configure kills CFLAGS passed to it
Description: ------------ see configure line 3468 it's where configure cleans up CFLAGS and does never restore it. So, if you want to pass for example -m64 to compile 64bit binaries, it will fail. I believe this code case $host_cpu in alpha*) if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -mieee" else CFLAGS="$CFLAGS -ieee" fi ;; sparc*) if test "$SUNCC" = "yes"; then CFLAGS="$CFLAGS -xmemalign=8i" else CFLAGS="" fi ;; esac should be changed to case $host_cpu in alpha*) if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -mieee" else CFLAGS="$CFLAGS -ieee" fi ;; sparc*) if test "$SUNCC" = "yes"; then CFLAGS="$CFLAGS -xmemalign=8i" fi ;; esac -- Edit bug report at http://bugs.php.net/?id=48782&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48782&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48782&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48782&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48782&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48782&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48782&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48782&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48782&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48782&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48782&r=support Expected behavior: http://bugs.php.net/fix.php?id=48782&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48782&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48782&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48782&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48782&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48782&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48782&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48782&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48782&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48782&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48782&r=mysqlcfg