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
