You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Fursov (JIRA)" <ji...@apache.org> on 2006/10/31 13:44:32 UTC

[jira] Commented: (HARMONY-2017) Linux em64t build failed due to typeInt32 is undefined in Ia32BBPolling.cpp

    [ http://issues.apache.org/jira/browse/HARMONY-2017?page=comments#action_12445881 ] 
            
Mikhail Fursov commented on HARMONY-2017:
-----------------------------------------

Do you have a patch? If not I can provide it today.

> Linux em64t build failed due to typeInt32 is undefined in Ia32BBPolling.cpp
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-2017
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2017
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux em64t gcc
>            Reporter: Dmitry Irlyanov
>            Priority: Critical
>
> 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.
-
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