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/05/04 23:56:16 UTC

[jira] Created: (HARMONY-443) Compilation fixes for DRLVM on gcc-3.4.6

Compilation fixes for DRLVM on gcc-3.4.6
----------------------------------------

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

  Components: VM  
 Environment: Debian linux, gcc-3.4.6
    Reporter: Ivan Volosyuk


I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
The project still compiles fine with gcc-3.3.6.

Fixed jitrino/**/Stl.h to have correct begin(), end() statements
Some fixes in jitrino
Fixed problem with missing header: ext/stl_map_func.h:

Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

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


Re: [jira] Resolved: (HARMONY-443) Compilation fixes for DRLVM on gcc-3.4.6

Posted by Ivan Volosyuk <iv...@gmail.com>.
Mark,

Everything ok. Thanks.
--
Ivan

On 6/10/06, Mark Hindess (JIRA) <ji...@apache.org> wrote:
>      [ http://issues.apache.org/jira/browse/HARMONY-443?page=all ]
>
> Mark Hindess resolved HARMONY-443:
> ----------------------------------
>
>     Resolution: Fixed
>
> Committed in r413288.  Ivan, please check that it has been applied as expected.
>
>
> > Compilation fixes for DRLVM on gcc-3.4.6
> > ----------------------------------------
> >
> >          Key: HARMONY-443
> >          URL: http://issues.apache.org/jira/browse/HARMONY-443
> >      Project: Harmony
> >         Type: Improvement
>
> >   Components: VM
> >  Environment: Debian linux, gcc-3.4.6
> >     Reporter: Ivan Volosyuk
> >     Assignee: Mark Hindess
> >  Attachments: DRLVM-GCC-3.4_and_4.x-cumulative.patch, DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4_1_0-patch.zip
> >
> > I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> > The project still compiles fine with gcc-3.3.6.
> > Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> > Some fixes in jitrino
> > Fixed problem with missing header: ext/stl_map_func.h:
> > Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.
>
> --
> 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
>
>
-- 
Ivan
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


[jira] Updated: (HARMONY-443) Compilation fixes for DRLVM on gcc-3.4.6

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

Ivan Volosyuk updated HARMONY-443:
----------------------------------

    Attachment: DRLVM-GCC-3.4_and_4.x-cumulative.patch

Here is cumulative patch which fixes compilation problems on GCC-3.4.x and GCC-4.x compilers.
DRLVM works fine (eclipse starts) compiled by any versions of GCC now.
It also still compiles and works on windows built with icl or msvc.net.

The patch makes obsolete all previous patches here, so remove them before applying this patch.

Usage:
   Copy it to Harmony directory.
   Run: patch -p1 < DRLVM-GCC-3.4_and_4.x-cumulative.patch
   Change directory to build
      build update
      build

It is _impotant_ to run 'build update' for changes in log4cxx to take place.

Tested on:
    Gentoo / GCC-3.4.6
    Gentoo / GCC-4.1.0
    Suse / GCC-3.3.3
    WinXp / icl 9.0 p25
    WinXp / cl 13.10.3077

--
Ivan

> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>  Attachments: DRLVM-GCC-3.4_and_4.x-cumulative.patch, DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4_1_0-patch.zip
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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] Closed: (HARMONY-443) Compilation fixes for DRLVM on gcc-3.4.6

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


Verified by Ivan on -dev list.


> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>     Assignee: Mark Hindess
>  Attachments: DRLVM-GCC-3.4_and_4.x-cumulative.patch, DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4_1_0-patch.zip
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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-443) Compilation fixes for DRLVM on gcc-3.4.6

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

Andrey Chernyshev updated HARMONY-443:
--------------------------------------

    Attachment: DRLVM-log4cxx-gcc-4_1_0-patch.zip


I have rebunded the patch for LOG4CXX for GCC 4.1.0 such that it will help to apply it automatically during the build.
Extract the content of this archive in the same directory as DRLVM archive and then try run "build update".

The trick is that building system copies all patches for external resources such as Lo4CXX from the "build\patches" directory. For example, if you need to patch 
something in LOG4CXX, just put the updated files in  the appropriate directory under  Harmony\build\patches\common\LOG4CXX 


> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>  Attachments: DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4_1_0-patch.zip
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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-443) Compilation fixes for DRLVM on gcc-3.4.6

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

Ivan Volosyuk updated HARMONY-443:
----------------------------------

    Attachment: DRLVM-gcc-4.1.0.diff

Compilation fixes for DRLVM for GCC-3.4.6 and GCC-4.1.0
DRLVM compiles fine.
When building by GCC-3.4.6 - VM works fine (eclipse starts)
When building by GCC-4.1.0 - Only debug build works correctly, release build fails with message:

   java/lang/ClassFormatError : java/lang/Class: could not parse exceptions for method forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;

So if you have only GCC-4.x, use the patch and set environment variable BUILD_CFG=debug

> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>  Attachments: DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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-443) Compilation fixes for DRLVM on gcc-3.4.6

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

Ivan Volosyuk updated HARMONY-443:
----------------------------------

    Attachment: DRLVM-gcc-3.4.6.diff

Here is the patch which fixes the problem.

> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>  Attachments: DRLVM-gcc-3.4.6.diff
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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] Resolved: (HARMONY-443) Compilation fixes for DRLVM on gcc-3.4.6

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

    Resolution: Fixed

Committed in r413288.  Ivan, please check that it has been applied as expected.


> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>     Assignee: Mark Hindess
>  Attachments: DRLVM-GCC-3.4_and_4.x-cumulative.patch, DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4_1_0-patch.zip
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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-443) Compilation fixes for DRLVM on gcc-3.4.6

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

Mark Hindess updated HARMONY-443:
---------------------------------

    Assign To: Mark Hindess

> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>     Assignee: Mark Hindess
>  Attachments: DRLVM-GCC-3.4_and_4.x-cumulative.patch, DRLVM-gcc-3.4.6.diff, DRLVM-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4.1.0.diff, DRLVM-log4cxx-gcc-4_1_0-patch.zip
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

-- 
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-443) Compilation fixes for DRLVM on gcc-3.4.6

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

Ivan Volosyuk updated HARMONY-443:
----------------------------------

    Attachment: DRLVM-log4cxx-gcc-4.1.0.diff

Fix for log4cxx in DRLVM compilation problems on gcc-4.1.0

The files are created during build process, when compilation is failed apply this patch.
I don't know how to add this to the build process yet.

> Compilation fixes for DRLVM on gcc-3.4.6
> ----------------------------------------
>
>          Key: HARMONY-443
>          URL: http://issues.apache.org/jira/browse/HARMONY-443
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: Debian linux, gcc-3.4.6
>     Reporter: Ivan Volosyuk
>  Attachments: DRLVM-gcc-3.4.6.diff, DRLVM-log4cxx-gcc-4.1.0.diff
>
> I have made a patch which fixes DRLVM compilation problem with gcc-3.4.6.
> The project still compiles fine with gcc-3.3.6.
> Fixed jitrino/**/Stl.h to have correct begin(), end() statements
> Some fixes in jitrino
> Fixed problem with missing header: ext/stl_map_func.h:
> Header "ext/map_func.h" is used for GCC > 3.4 otherwise "ext/stl_map_func.h" is used.

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