You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Shanti Subramanyam <Sh...@Sun.COM> on 2006/06/16 18:14:31 UTC

Re: [PATCH] Compilation on Solaris

Here is the patch :

--- README.platforms    Fri Jun 16 09:12:33 2006
+++ README.platforms.orig       Thu Jun 15 13:13:50 2006
@@ -95,12 +95,4 @@
 
http://www.apache.org/dist/httpd/patches/apply_to_2.0.49/aix_xlc_optimization.patch

      (That patch works with many recent levels of Apache 2+.)
-================
-  Solaris:
-    On Solaris, much better performance can be achieved by using the 
Sun Studio compiler
-    instead of gcc. Download the compiler from
-
-    http://www.opensolaris.org/os/community/tools/sun_studio_tools/
-
-    Use the following compiler flags: -XO4 -xchip=generic



Shanti

Justin Erenkrantz wrote:
> On 6/14/06, Shanti Subramanyam <Sh...@sun.com> wrote:
>> Would it be possible to include documentation somewhere
>> (README.platforms ?) that suggests to users to use the Studio compiler
>> which can be downloaded for free from
>> http://www.opensolaris.org/os/community/tools/sun_studio_tools/
> 
> Sure - feel free to submit a patch to README.platforms.
> 
>> We'd also like to suggest the following tuning options for compilation
>> on Solaris :  -xO4 -xchip=generic
> 
> It'd probably be good to include that in the patch as well.  -- justin

Re: [PATCH] Compilation on Solaris

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 6/16/06, Mads Toftum <ma...@toftum.dk> wrote:
> Hmm, I think that page needs updating. AFAIK sun studio has been free
> since version 11. In particular:
> http://developers.sun.com/prodtech/cc/downloads/index.jsp
> yeah, it does mention "FREE for SDN members" - but that's just another
> way of asking people to register before downloading.
> (helios has been running studio 11 since november).

Studio 11's license is better.  It says:

--
Permitted Use:  You may reproduce and use the Software for
Individual, Commercial, and Research and Instructional Use.
--

I'm assuming that we should just point them at Studio 11 instead of 10
anyway...So...

Committed in r414921.  Thanks!  -- justin

Re: [PATCH] Compilation on Solaris

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 6/16/06, Shanti Subramanyam <Sh...@sun.com> wrote:
>
> Thanks Mads.
> I've re-generated the PATCH with the Studio URL :
>
> --- README.platforms    Fri Jun 16 13:58:10 2006
> +++ README.platforms.orig       Thu Jun 15 13:13:50 2006
> @@ -95,12 +95,4 @@
>
> http://www.apache.org/dist/httpd/patches/apply_to_2.0.49/aix_xlc_optimization.patch
>
>       (That patch works with many recent levels of Apache 2+.)
> -================
> -  Solaris:
> -    On Solaris, much better performance can be achieved by using the
> Sun Studio compiler
> -    instead of gcc. Download the compiler from
> -
> -       http://developers.sun.com/prodtech/cc/downloads/index.jsp
> -
> -    Use the following compiler flags: -XO4 -xchip=generic

For what it's worth, you're also generating the patch backwards...
Those lines should start with +, not - ;-)

-garrett

Re: [PATCH] Compilation on Solaris

Posted by Shanti Subramanyam <Sh...@Sun.COM>.
Thanks Mads.
I've re-generated the PATCH with the Studio URL :

--- README.platforms    Fri Jun 16 13:58:10 2006
+++ README.platforms.orig       Thu Jun 15 13:13:50 2006
@@ -95,12 +95,4 @@
 
http://www.apache.org/dist/httpd/patches/apply_to_2.0.49/aix_xlc_optimization.patch

      (That patch works with many recent levels of Apache 2+.)
-================
-  Solaris:
-    On Solaris, much better performance can be achieved by using the 
Sun Studio compiler
-    instead of gcc. Download the compiler from
-
-       http://developers.sun.com/prodtech/cc/downloads/index.jsp
-
-    Use the following compiler flags: -XO4 -xchip=generic


Shanti

Mads Toftum wrote:
> On Fri, Jun 16, 2006 at 11:56:55AM -0700, Justin Erenkrantz wrote:
>> Actually, if I read the license, I'm not sure this is a great idea to
>> recommend now:
>>
>> http://www.opensolaris.org/os/community/tools/sun_studio_tools/sssent/
>>
>> Specifically, it says:
>>
>> ---
>> Permitted Use: Provided that You are a participant of the OpenSolaris
>> community, You may use the software for Research and Instructional,
>> Individual, and Commercial Use to design, develop, test, or otherwise
>> engineer software.
>> ---
>>
> Hmm, I think that page needs updating. AFAIK sun studio has been free
> since version 11. In particular:
> http://developers.sun.com/prodtech/cc/downloads/index.jsp
> yeah, it does mention "FREE for SDN members" - but that's just another
> way of asking people to register before downloading.
> (helios has been running studio 11 since november).
> 
> vh
> 
> Mads Toftum

Re: [PATCH] Compilation on Solaris

Posted by Mads Toftum <ma...@toftum.dk>.
On Fri, Jun 16, 2006 at 11:56:55AM -0700, Justin Erenkrantz wrote:
> Actually, if I read the license, I'm not sure this is a great idea to
> recommend now:
> 
> http://www.opensolaris.org/os/community/tools/sun_studio_tools/sssent/
> 
> Specifically, it says:
> 
> ---
> Permitted Use: Provided that You are a participant of the OpenSolaris
> community, You may use the software for Research and Instructional,
> Individual, and Commercial Use to design, develop, test, or otherwise
> engineer software.
> ---
> 
Hmm, I think that page needs updating. AFAIK sun studio has been free
since version 11. In particular:
http://developers.sun.com/prodtech/cc/downloads/index.jsp
yeah, it does mention "FREE for SDN members" - but that's just another
way of asking people to register before downloading.
(helios has been running studio 11 since november).

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall


Re: [PATCH] Compilation on Solaris

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 6/16/06, Ian Holsman <li...@holsman.net> wrote:
> huh?
> why is the licensing terms stopping us recommending something?
>
> we recommend VC2005 for windows and that it commercial, I don't see
> the difference.
> (and yes.. I saw mads's comment that this studio is free if your
> register)

Recommending products with submarine licensing terms isn't something
I'm comfortable with doing.  -- justin

Re: [PATCH] Compilation on Solaris

Posted by Ian Holsman <li...@holsman.net>.
huh?
why is the licensing terms stopping us recommending something?

we recommend VC2005 for windows and that it commercial, I don't see  
the difference.
(and yes.. I saw mads's comment that this studio is free if your  
register)


On 17/06/2006, at 4:56 AM, Justin Erenkrantz wrote:

> On 6/16/06, Shanti Subramanyam <Sh...@sun.com> wrote:
>> Here is the patch :
>>
>> --- README.platforms    Fri Jun 16 09:12:33 2006
>> +++ README.platforms.orig       Thu Jun 15 13:13:50 2006
>> @@ -95,12 +95,4 @@
>>
>> http://www.apache.org/dist/httpd/patches/apply_to_2.0.49/ 
>> aix_xlc_optimization.patch
>>
>>       (That patch works with many recent levels of Apache 2+.)
>> -================
>> -  Solaris:
>> -    On Solaris, much better performance can be achieved by using the
>> Sun Studio compiler
>> -    instead of gcc. Download the compiler from
>> -
>> -    http://www.opensolaris.org/os/community/tools/sun_studio_tools/
>> -
>> -    Use the following compiler flags: -XO4 -xchip=generic
>
> Actually, if I read the license, I'm not sure this is a great idea to
> recommend now:
>
> http://www.opensolaris.org/os/community/tools/sun_studio_tools/sssent/
>
> Specifically, it says:
>
> ---
> Permitted Use: Provided that You are a participant of the OpenSolaris
> community, You may use the software for Research and Instructional,
> Individual, and Commercial Use to design, develop, test, or otherwise
> engineer software.
> ---
>
> In the loosest terms, that *might* be true.  But, I'm not quite so  
> sure.
>
> Roy?  -- justin


Re: [PATCH] Compilation on Solaris

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 6/16/06, Shanti Subramanyam <Sh...@sun.com> wrote:
> Here is the patch :
>
> --- README.platforms    Fri Jun 16 09:12:33 2006
> +++ README.platforms.orig       Thu Jun 15 13:13:50 2006
> @@ -95,12 +95,4 @@
>
> http://www.apache.org/dist/httpd/patches/apply_to_2.0.49/aix_xlc_optimization.patch
>
>       (That patch works with many recent levels of Apache 2+.)
> -================
> -  Solaris:
> -    On Solaris, much better performance can be achieved by using the
> Sun Studio compiler
> -    instead of gcc. Download the compiler from
> -
> -    http://www.opensolaris.org/os/community/tools/sun_studio_tools/
> -
> -    Use the following compiler flags: -XO4 -xchip=generic

Actually, if I read the license, I'm not sure this is a great idea to
recommend now:

http://www.opensolaris.org/os/community/tools/sun_studio_tools/sssent/

Specifically, it says:

---
Permitted Use: Provided that You are a participant of the OpenSolaris
community, You may use the software for Research and Instructional,
Individual, and Commercial Use to design, develop, test, or otherwise
engineer software.
---

In the loosest terms, that *might* be true.  But, I'm not quite so sure.

Roy?  -- justin