You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Volosyuk (JIRA)" <ji...@apache.org> on 2006/07/07 19:19:29 UTC

[jira] Created: (HARMONY-803) [classlib] debug mode by default

[classlib] debug mode by default
--------------------------------

         Key: HARMONY-803
         URL: http://issues.apache.org/jira/browse/HARMONY-803
     Project: Harmony
        Type: Improvement

  Components: Classlib  
 Environment: Linux
    Reporter: Ivan Volosyuk
    Priority: Minor


Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
-march=pentium3 was placed in $OPTS_i686 arch specific flags
Updated all linux makefiles.

To build in release mode
   BUILD_CFG=release ant

To add more optimizations:
   BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-803) [classlib] debug mode by default

Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-803?page=comments#action_12446239 ] 
            
Egor Pasko commented on HARMONY-803:
------------------------------------

the latest patch does not apply, modules/luni/src/main/native/port/linux/makefile is not present

> [classlib] debug mode by default
> --------------------------------
>
>                 Key: HARMONY-803
>                 URL: http://issues.apache.org/jira/browse/HARMONY-803
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Linux
>            Reporter: Ivan Volosyuk
>         Assigned To: Mark Hindess
>            Priority: Minor
>         Attachments: classlib-debug_mode_by_default-20060707.diff, classlib-debug_mode_by_default-20060711.diff
>
>
> Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
> Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
> -march=pentium3 was placed in $OPTS_i686 arch specific flags
> Updated all linux makefiles.
> To build in release mode
>    BUILD_CFG=release ant
> To add more optimizations:
>    BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-803) [classlib] debug mode by default

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-803?page=comments#action_12446246 ] 
            
Mark Hindess commented on HARMONY-803:
--------------------------------------

A few of the subdirectories - common, include, pool, port, sig and  thread - moved from modules/luni/src/main/native to modules/portlib/src/main/native - as search and replace on the patch should fix it.




> [classlib] debug mode by default
> --------------------------------
>
>                 Key: HARMONY-803
>                 URL: http://issues.apache.org/jira/browse/HARMONY-803
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Linux
>            Reporter: Ivan Volosyuk
>         Assigned To: Mark Hindess
>            Priority: Minor
>         Attachments: classlib-debug_mode_by_default-20060707.diff, classlib-debug_mode_by_default-20060711.diff
>
>
> Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
> Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
> -march=pentium3 was placed in $OPTS_i686 arch specific flags
> Updated all linux makefiles.
> To build in release mode
>    BUILD_CFG=release ant
> To add more optimizations:
>    BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-803) [classlib] debug mode by default

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-803?page=all ]

Mark Hindess reassigned HARMONY-803:
------------------------------------

    Assignee: Mark Hindess

> [classlib] debug mode by default
> --------------------------------
>
>                 Key: HARMONY-803
>                 URL: http://issues.apache.org/jira/browse/HARMONY-803
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Linux
>            Reporter: Ivan Volosyuk
>         Assigned To: Mark Hindess
>            Priority: Minor
>         Attachments: classlib-debug_mode_by_default-20060707.diff, classlib-debug_mode_by_default-20060711.diff
>
>
> Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
> Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
> -march=pentium3 was placed in $OPTS_i686 arch specific flags
> Updated all linux makefiles.
> To build in release mode
>    BUILD_CFG=release ant
> To add more optimizations:
>    BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-803) [classlib] debug mode by default

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-803?page=comments#action_12421536 ] 
            
Mark Hindess commented on HARMONY-803:
--------------------------------------

Ivan,

The patch looks good.  However, I'd like to change Windows and Linux  but your patch only includes Linux changes.  Do you intend to provide a patch for the Windows flags?  If not, perhaps I'll take a look at it.


> [classlib] debug mode by default
> --------------------------------
>
>                 Key: HARMONY-803
>                 URL: http://issues.apache.org/jira/browse/HARMONY-803
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Linux
>            Reporter: Ivan Volosyuk
>         Assigned To: Mark Hindess
>            Priority: Minor
>         Attachments: classlib-debug_mode_by_default-20060707.diff, classlib-debug_mode_by_default-20060711.diff
>
>
> Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
> Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
> -march=pentium3 was placed in $OPTS_i686 arch specific flags
> Updated all linux makefiles.
> To build in release mode
>    BUILD_CFG=release ant
> To add more optimizations:
>    BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-803) [classlib] debug mode by default

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-803?page=all ]

Ivan Volosyuk updated HARMONY-803:
----------------------------------

    Attachment: classlib-debug_mode_by_default-20060707.diff

Changes for linux makefiles.
Windows makefiles to be fixed yet. I'm going to work on it soon.

> [classlib] debug mode by default
> --------------------------------
>
>          Key: HARMONY-803
>          URL: http://issues.apache.org/jira/browse/HARMONY-803
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>  Environment: Linux
>     Reporter: Ivan Volosyuk
>     Priority: Minor
>  Attachments: classlib-debug_mode_by_default-20060707.diff
>
> Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
> Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
> -march=pentium3 was placed in $OPTS_i686 arch specific flags
> Updated all linux makefiles.
> To build in release mode
>    BUILD_CFG=release ant
> To add more optimizations:
>    BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-803) [classlib] debug mode by default

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-803?page=all ]

Ivan Volosyuk updated HARMONY-803:
----------------------------------

    Attachment: classlib-debug_mode_by_default-20060711.diff

Update version of patch.

Readded disappeared '-O1'
Now using ant property hy.cfg

> [classlib] debug mode by default
> --------------------------------
>
>          Key: HARMONY-803
>          URL: http://issues.apache.org/jira/browse/HARMONY-803
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>  Environment: Linux
>     Reporter: Ivan Volosyuk
>     Priority: Minor
>  Attachments: classlib-debug_mode_by_default-20060707.diff, classlib-debug_mode_by_default-20060711.diff
>
> Implemented selection of debug (default) / release mode of native code compilation for linux makefiles.
> Separated $INCLUDES, $DEFINES and $OPTS (optimizations).
> -march=pentium3 was placed in $OPTS_i686 arch specific flags
> Updated all linux makefiles.
> To build in release mode
>    BUILD_CFG=release ant
> To add more optimizations:
>    BUILD_CFG=release CFLAGS=-O3 ant

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira