You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Naveen Neelakantam (JIRA)" <ji...@apache.org> on 2007/01/11 02:18:27 UTC

[jira] Created: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

[drlvm] patch to build jitrino in debug mode with gcc 4.1.0
-----------------------------------------------------------

                 Key: HARMONY-2969
                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: RHEL4 update 4, x86, core 2 duo
            Reporter: Naveen Neelakantam
            Priority: Trivial
         Attachments: Ia32Inst.cpp.patch

Patch fixes a trivial compilation error.

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

        

[jira] Closed: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

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

Naveen Neelakantam closed HARMONY-2969.
---------------------------------------


> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>         Assigned To: Alexey Varlamov
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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

        

[jira] Commented: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

Posted by "Naveen Neelakantam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463985 ] 

Naveen Neelakantam commented on HARMONY-2969:
---------------------------------------------

Thank you Alexey, the fix worked.

> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>         Assigned To: Alexey Varlamov
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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

        

[jira] Commented: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

Posted by "Naveen Neelakantam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463782 ] 

Naveen Neelakantam commented on HARMONY-2969:
---------------------------------------------

Note that to see the original compilation error you must build jitrino in debug mode (remove "-Dvm.jitrino.cfg=release" from build.sh):

       [cc] /home/dcsfiles/neelakan/Sandbox/Harmony/stable/working_vm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp: In member function ?void Jitrino::Ia32::Opnd::setMemOpndSubOpnd(Jitrino::Ia32::MemOpndSubOpndKind, Jitrino::Ia32::Opnd*)?:
       [cc] /home/dcsfiles/neelakan/Sandbox/Harmony/stable/working_vm/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp:92: warning: comparison between signed and unsigned integer expressions


> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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

        

[jira] Assigned: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

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

Alexey Varlamov reassigned HARMONY-2969:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>         Assigned To: Alexey Varlamov
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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

        

[jira] Updated: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

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

Naveen Neelakantam updated HARMONY-2969:
----------------------------------------

    Attachment: Ia32Inst.cpp.patch

> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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

        

[jira] Commented: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463874 ] 

Alexey Varlamov commented on HARMONY-2969:
------------------------------------------

Seems this assert never worked anyway, because value was casted to int32 and compared to UINT32_MAX, always evaluated to "true". More correct fix is:
-    assert((so != MemOpndSubOpndKind_Displacement)  || (abs((int32)opnd->getImmValue()) <= 0xffffffff));
+    assert((so != MemOpndSubOpndKind_Displacement)  || ((uint64)abs((int64)opnd->getImmValue()) <= 0xffffffff));


> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>         Assigned To: Alexey Varlamov
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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

        

[jira] Resolved: (HARMONY-2969) [drlvm] patch to build jitrino in debug mode with gcc 4.1.0

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

Alexey Varlamov resolved HARMONY-2969.
--------------------------------------

    Resolution: Fixed

Fixed at r495215, please verify.

> [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
> -----------------------------------------------------------
>
>                 Key: HARMONY-2969
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2969
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: RHEL4 update 4, x86, core 2 duo
>            Reporter: Naveen Neelakantam
>         Assigned To: Alexey Varlamov
>            Priority: Trivial
>         Attachments: Ia32Inst.cpp.patch
>
>
> Patch fixes a trivial compilation error.

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