Closed Bug 547078 Opened 14 years ago Closed 14 years ago

Tamarin-redux vtune build does not build

Categories

(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect, P3)

x86
Windows 7
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 495995
Q3 11 - Serrano

People

(Reporter: tom.deneau, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)
Build Identifier: 

Actually, it is a little deceptive.

With the latest tamarin-redux, selected Vtune configuration in VS2008.
This built without error but I noticed -Dversion did not show AVMFEATURE_VTUNE.

Noticed the PREPROCESSOR CONFIGS defined VTUNE rather than AVMFEATURE_VTUNE.  So really the vtune blocks don't get compiled.

Changed the Vtune Build to define AVMFEATURE_VTUNE, then got a bunch of errors in the vtune.cpp file (see below)
Has anyone built this configuration recently?

-- Tom


1>.\Vtune.cpp(137) : error C2065: 'StringNullTerminatedUTF8' : undeclared identifier
1>.\Vtune.cpp(137) : error C2146: syntax error : missing ';' before identifier 's'
1>.\Vtune.cpp(137) : error C3861: 's': identifier not found
1>.\Vtune.cpp(138) : error C2065: 's' : undeclared identifier
1>.\Vtune.cpp(138) : error C2228: left of '.c_str' must have class/struct/union
1>        type is ''unknown-type''
1>.\Vtune.cpp(162) : error C2039: 'newString' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(164) : error C2039: 'newString' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(166) : error C2039: 'newString' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(172) : error C2039: 'newString' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(174) : error C2039: 'kcolon' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(218) : error C2065: 'sintptr' : undeclared identifier
1>.\Vtune.cpp(218) : error C2146: syntax error : missing ';' before identifier 'mdPos'
1>.\Vtune.cpp(218) : error C2065: 'mdPos' : undeclared identifier
1>.\Vtune.cpp(226) : error C2065: 'mdPos' : undeclared identifier
1>.\Vtune.cpp(233) : error C2039: 'newString' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(235) : error C2039: 'newString' : is not a member of 'avmplus::AvmCore'
1>        c:\tom\tamarin-redux\core\AvmCore.h(135) : see declaration of 'avmplus::AvmCore'
1>.\Vtune.cpp(244) : error C2065: 'UTF8String' : undeclared identifier
1>.\Vtune.cpp(244) : error C2065: 'utf' : undeclared identifier
1>.\Vtune.cpp(244) : error C2039: 'toUTF8String' : is not a member of 'avmplus::String'
1>        c:\tom\tamarin-redux\core\StringObject.h(78) : see declaration of 'avmplus::String'
1>.\Vtune.cpp(244) : error C2039: 'toUTF8String' : is not a member of 'avmplus::String'
1>        c:\tom\tamarin-redux\core\StringObject.h(78) : see declaration of 'avmplus::String'
1>.\Vtune.cpp(248) : error C2065: 'utf' : undeclared identifier
1>.\Vtune.cpp(248) : error C2227: left of '->length' must point to class/struct/union/generic type
1>        type is ''unknown-type''
1>.\Vtune.cpp(249) : error C2065: 'utf' : undeclared identifier
1>.\Vtune.cpp(249) : error C2227: left of '->c_str' must point to class/struct/union/generic type
1>        type is ''unknown-type''
1>.\Vtune.cpp(261) : error C2039: 'SetPageProtection' : is not a member of 'MMgc::GCHeap'
1>        c:\tom\tamarin-redux\mmgc\GCHeap.h(166) : see declaration of 'MMgc::GCHeap'



Reproducible: Always




should have built a working build with the vtune feature.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.2
Component: Virtual Machine → JIT Compiler (NanoJIT)
QA Contact: vm → nanojit
Bug 495995 has a patch that should fix VTUNE support for the latest code.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
bulk verifying resolved !fixed issues
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.