php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46513 Missing compiler flags for suncc
Submitted: 2008-11-06 21:53 UTC Modified: 2008-11-06 21:57 UTC
From: dsp@php.net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5.3.0alpha2 OS: Solaris
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dsp@php.net
New email:
PHP Version: OS:

 

 [2008-11-06 21:53 UTC] dsp@php.net
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).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-06 21:57 UTC] dsp@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 07:01:29 2024 UTC