harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Irlyanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2017) Linux em64t build failed due to typeInt32 is undefined in Ia32BBPolling.cpp
Date Tue, 31 Oct 2006 12:39:16 GMT
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

        

Mime
View raw message