harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-2017) Linux em64t build failed due to typeInt32 is undefined in Ia32BBPolling.cpp
Date Fri, 22 Jun 2007 12:58:27 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gregory Shimansky closed HARMONY-2017.
--------------------------------------


No response, assuming ok.

> Linux em64t build failed due to typeInt32 is undefined in Ia32BBPolling.cpp
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-2017
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2017
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux em64t gcc
>            Reporter: Dmitry Irlyanov
>            Assignee: Gregory Shimansky
>            Priority: Critical
>         Attachments: 0001-bb-polling-em64t-fix.txt
>
>
> Linux em64t releases build failed due to typeInt32 is unexpected to em64t platforms in
Ia32BBPolling.cpp 
> Output of build:
> ----------------------
>        [cc] /drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BBPolling.cpp: In member
function `Jitrino::Ia32::Opnd* Jitrino::Ia32::BBPolling::getOrCreateTLSBaseReg(Jitrino::Edge*)':
>        [cc] drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BBPolling.cpp:277: error:
`typeInt32' undeclared (first use this function)
>        [cc] drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BBPolling.cpp:277: error:
(Each undeclared identifier is reported only once for each function it appears in.
> ----------------------
> A part of code: Ia32BBPolling.cpp is:
> ----------------------
> #ifdef _EM64T_              
>         tlsBaseReg = irManager.newOpnd(irManager.getTypeManager().getUnmanagedPtrType(irManager.getTypeManager().getIntPtrType()),
Constraint(OpndKind_GPReg));
> #else
>         Type* typeInt32 = irManager.getTypeManager().getPrimitiveType(Type::Int32);
>         tlsBaseReg = irManager.newOpnd(typeInt32, Constraint(RegName_EAX)|
>                                                              RegName_EBX |
>                                                              RegName_ECX |
>                                                              RegName_EDX |
>                                                              RegName_EBP |
>                                                              RegName_ESI |
>                                                              RegName_EDI);
> #endif
>         // Basic Block for flag address calculating. (To be inserted before the loopHeaders)
>         Node * bbpFlagAddrBlock = irManager.getFlowGraph()->createBlockNode();
> #ifdef PLATFORM_POSIX
>          // TLS base can be obtained by calling get_thread_ptr()  (from vm_threads.h)
>          Opnd * target=irManager.newImmOpnd( irManager.getTypeManager().getUnmanagedPtrType(irManager.getTypeManager().getIntPtrType()),
>                                             Opnd::RuntimeInfo::Kind_HelperAddress,
>                                           (void*)CompilationInterface::Helper_GetTLSBase
>                                            );
>          Opnd* tlsBase  = irManager.newOpnd(typeInt32);
> ----------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message