You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jeffrey Brenwald (JIRA)" <ji...@apache.org> on 2012/08/06 19:46:02 UTC

[jira] [Created] (AMQCPP-415) compiler flags with HPUX 11_31 aCC A.06.26

Jeffrey Brenwald created AMQCPP-415:
---------------------------------------

             Summary: compiler flags with HPUX 11_31 aCC A.06.26
                 Key: AMQCPP-415
                 URL: https://issues.apache.org/jira/browse/AMQCPP-415
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Other C++ Clients
    Affects Versions: 3.4.4
         Environment: HPUX 11_31 
aCC A.06.26
            Reporter: Jeffrey Brenwald
            Assignee: Timothy Bish


The configure script places -PIC for flags when compiling and linking, but -P in aCC is something very different than it is in gcc.
In aCC it Preprocess named C/C++ files and leave the result in corresponding files suffixed with .i.
In gcc it Inhibit generation of linemarkers in the output from the preprocessor.  This might be useful when running the pre-processor on something that is not C code, and will be sent to a program which might be confused by the linemark-ers.

This flag overwrote the -o option and caused no .o files to be created and make would fail when it got that far.

--
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] (AMQCPP-415) compiler flags with HPUX 11_31 aCC A.06.26

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQCPP-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430495#comment-13430495 ] 

Timothy Bish commented on AMQCPP-415:
-------------------------------------

is there an alternate flag for -PIC or is it safe to simply exclude that on AIX?
                
> compiler flags with HPUX 11_31 aCC A.06.26
> ------------------------------------------
>
>                 Key: AMQCPP-415
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-415
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>    Affects Versions: 3.4.4
>         Environment: HPUX 11_31 
> aCC A.06.26
>            Reporter: Jeffrey B
>            Assignee: Timothy Bish
>              Labels: HPUX, compiler, configuration, installer
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The configure script places -PIC for flags when compiling and linking, but -P in aCC is something very different than it is in gcc.
> In aCC it Preprocess named C/C++ files and leave the result in corresponding files suffixed with .i.
> In gcc it Inhibit generation of linemarkers in the output from the preprocessor.  This might be useful when running the pre-processor on something that is not C code, and will be sent to a program which might be confused by the linemark-ers.
> This flag overwrote the -o option and caused no .o files to be created and make would fail when it got that far.

--
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] [Resolved] (AMQCPP-415) compiler flags with HPUX 11_31 aCC A.06.26

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

Timothy Bish resolved AMQCPP-415.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.5.0

removed the forced -PIC for non-GCC compilers.
                
> compiler flags with HPUX 11_31 aCC A.06.26
> ------------------------------------------
>
>                 Key: AMQCPP-415
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-415
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>    Affects Versions: 3.4.4
>         Environment: HPUX 11_31 
> aCC A.06.26
>            Reporter: Jeffrey B
>            Assignee: Timothy Bish
>              Labels: HPUX, compiler, configuration, installer
>             Fix For: 3.5.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The configure script places -PIC for flags when compiling and linking, but -P in aCC is something very different than it is in gcc.
> In aCC it Preprocess named C/C++ files and leave the result in corresponding files suffixed with .i.
> In gcc it Inhibit generation of linemarkers in the output from the preprocessor.  This might be useful when running the pre-processor on something that is not C code, and will be sent to a program which might be confused by the linemark-ers.
> This flag overwrote the -o option and caused no .o files to be created and make would fail when it got that far.

--
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] (AMQCPP-415) compiler flags with HPUX 11_31 aCC A.06.26

Posted by "Jeffrey B (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQCPP-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431850#comment-13431850 ] 

Jeffrey B commented on AMQCPP-415:
----------------------------------

AIX is not the same thing as HPUX, AIX is an IBM system and HPUX is an HP system.  I dont use or know anything about AIX, just to make that clear.  As for the -PIC, I simply changed it to -IC, and that seemed to work fine.
Thanks.
                
> compiler flags with HPUX 11_31 aCC A.06.26
> ------------------------------------------
>
>                 Key: AMQCPP-415
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-415
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>    Affects Versions: 3.4.4
>         Environment: HPUX 11_31 
> aCC A.06.26
>            Reporter: Jeffrey B
>            Assignee: Timothy Bish
>              Labels: HPUX, compiler, configuration, installer
>             Fix For: 3.5.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The configure script places -PIC for flags when compiling and linking, but -P in aCC is something very different than it is in gcc.
> In aCC it Preprocess named C/C++ files and leave the result in corresponding files suffixed with .i.
> In gcc it Inhibit generation of linemarkers in the output from the preprocessor.  This might be useful when running the pre-processor on something that is not C code, and will be sent to a program which might be confused by the linemark-ers.
> This flag overwrote the -o option and caused no .o files to be created and make would fail when it got that far.

--
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