From: [EMAIL PROTECTED] Operating system: Solaris PHP version: 5.3.0alpha2 PHP Bug Type: Feature/Change Request Bug description: Missing compiler flags for suncc
Description: ------------ At the moment the php buildsystem does not use any suncc specific compiler flags if someone tries to compile with the suncc. Please add suncc specific compiler flags to the buildsystem if the suncc compiler is detected. The default compiler flags for the gcc are not compatible with suncc and therefore will result in errors. A useful list might be -fsimple=2 -xnorunpath -xO4 -xalias_level=basic -xipo=1 -xlibmopt -xprefetch_level=1 -xprefetch=auto -xstrconst -xtarget=native -zlazyload. It will use floating point (fsimple) and math lib optimization (libmopt) and try to optimize across object files. It also generates processor specific code (xtarget=native) and tries to eleminate duplicated strings (xstrconst). In addition it does optimization based on basic assumptions about used c types (xalias_level=basic). The -xO4 optimization flags should generate useful and fast code without breaking stuff (which might happen if you use -xO5). -- Edit bug report at http://bugs.php.net/?id=46513&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46513&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46513&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46513&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46513&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46513&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46513&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46513&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46513&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46513&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46513&r=support Expected behavior: http://bugs.php.net/fix.php?id=46513&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46513&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46513&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46513&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46513&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46513&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46513&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46513&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46513&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46513&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46513&r=mysqlcfg