You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Arno Toell (JIRA)" <ji...@apache.org> on 2011/09/23 21:43:26 UTC

[jira] [Created] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Traffic Server unconditionally sets compiler optimizing flags (with patch)
--------------------------------------------------------------------------

                 Key: TS-967
                 URL: https://issues.apache.org/jira/browse/TS-967
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.0.1, sometime
            Reporter: Arno Toell
         Attachments: dont-unconditionally-put-in-oflags.patch

Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.

The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.

Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Posted by "Igor Galić (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-967:
--------------------------

    Backport to Version:   (was: 3.0.2)
          Fix Version/s: 3.0.2
    
> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
>                 Key: TS-967
>                 URL: https://issues.apache.org/jira/browse/TS-967
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: sometime, 3.0.1
>            Reporter: Arno Toell
>            Assignee: Igor Galić
>             Fix For: 3.1.1, 3.0.2
>
>         Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Posted by "Leif Hedstrom (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120435#comment-13120435 ] 

Leif Hedstrom commented on TS-967:
----------------------------------

Would you mind submitting a diff against current trunk? The one here fails on most chunks.
                
> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
>                 Key: TS-967
>                 URL: https://issues.apache.org/jira/browse/TS-967
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: sometime, 3.0.1
>            Reporter: Arno Toell
>            Assignee: Igor Galić
>             Fix For: 3.1.1
>
>         Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Posted by "Arno Toell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arno Toell updated TS-967:
--------------------------

    Attachment: dont-unconditionally-put-in-oflags.patch

> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
>                 Key: TS-967
>                 URL: https://issues.apache.org/jira/browse/TS-967
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: sometime, 3.0.1
>            Reporter: Arno Toell
>         Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-967:
--------------------------

    Backport to Version: 3.0.2
          Fix Version/s: 3.1.1

> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
>                 Key: TS-967
>                 URL: https://issues.apache.org/jira/browse/TS-967
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: sometime, 3.0.1
>            Reporter: Arno Toell
>             Fix For: 3.1.1
>
>         Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113699#comment-13113699 ] 

Igor Galić commented on TS-967:
-------------------------------

Shouldn't {{-x?O.}} be enough for a remotely sane match?

> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
>                 Key: TS-967
>                 URL: https://issues.apache.org/jira/browse/TS-967
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: sometime, 3.0.1
>            Reporter: Arno Toell
>         Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (TS-967) Traffic Server unconditionally sets compiler optimizing flags (with patch)

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić reassigned TS-967:
-----------------------------

    Assignee: Igor Galić

> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
>                 Key: TS-967
>                 URL: https://issues.apache.org/jira/browse/TS-967
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: sometime, 3.0.1
>            Reporter: Arno Toell
>            Assignee: Igor Galić
>             Fix For: 3.1.1
>
>         Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags, e.g. _-O3_ and ignores any setting the user might have given at build time through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira