Closed Bug 555239 Opened 16 years ago Closed 16 years ago

Symbian build fixes

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P3)

Other
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: skekki, Assigned: lhansen)

Details

(Whiteboard: Has patch, Symbian)

Attachments

(2 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727) Build Identifier: Small fixes to various files Reproducible: Always
Attachment #435208 - Flags: review?(stejohns)
Steven's away for another week, reroute request to me if you need a review sooner.
Whiteboard: Symbian
Comment on attachment 435208 [details] [diff] [review] Small fixes to various files Changed Lars for review
Attachment #435208 - Flags: review?(stejohns) → review?(lhansen)
Hi Lars, if you don't see major issues, could you please push soon that it gets included in next Tamarin merge. Please let me know if you find something bad, I can fix quickly.
Comment on attachment 435208 [details] [diff] [review] Small fixes to various files Requesting SR from Ed regarding the (modest) changes to Verifier.cpp and NativeARM.cpp.
Attachment #435208 - Flags: superreview?(edwsmith)
Comment on attachment 435208 [details] [diff] [review] Small fixes to various files I thought we had fixed _nvprof so that it would work on Symbian. I now see that that fix has landed in Argo but not in Redux (bizarre): #ifndef DOPROF #define _nvprof(e,v) #ifndef VMCFG_SYMBIAN #define _vprof(v,...) #define _hprof(h,n,...) #define _nhprof(e,v,n,...) #define _ntprof(e) #define _tprof_end() #endif // ! VMCFG_SYMBIAN #else (a) I should port this to Redux (b) the changes to Verifier.cpp are probably not necessary Another question, should the change to NativeARM.cpp be testing "> 230000" as it is, or "> 220000"; the comment seems to indicate the latter. The rest looks fine but I'd like your reaction to those issues.
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
a) Yes, I know that there was a fix coming. But since the macro is used elsewhere in the code I thought I might as well check in the fix. b) I think the reasoning is that the compiler can have dot releases (2.2.1) which would make the constant greater than 220000. Therefore it is safer to omit all 2.2 dot releases and compare against 230000. I have seen this comparison used in other people's code. Note: sadly I don't know if the code compiles with RVCT 2.3, 3.0... and have not find documentation about in which version of RVCT this intrinsic becomes available. RVCT 2.2 is used with the current Symbian SDK.
(In reply to comment #7) > a) Yes, I know that there was a fix coming. But since the macro is used > elsewhere in the code I thought I might as well check in the fix. Fair enough, I will defer to Ed and see what he thinks. > b) I think the reasoning is that the compiler can have dot releases (2.2.1) > which would make the constant greater than 220000. Therefore it is safer to > omit all 2.2 dot releases and compare against 230000. I have seen this > comparison used in other people's code. Note: sadly I don't know if the code > compiles with RVCT 2.3, 3.0... and have not find documentation about in which > version of RVCT this intrinsic becomes available. RVCT 2.2 is used with the > current Symbian SDK. Aha. So maybe ">= 230000" would be appropriate then?
Yes, >=23000 should work
Priority: -- → P3
Target Milestone: --- → flash10.1
(In reply to comment #8) > (In reply to comment #7) > > a) Yes, I know that there was a fix coming. But since the macro is used > > elsewhere in the code I thought I might as well check in the fix. > > Fair enough, I will defer to Ed and see what he thinks. aha, this is a bug in the nanojit-import script. vprof code lives in nanojit-central, and I did apply the patch there before importing nanojit-central to tamarin-redux. but the import didn't pick up the changes in vprof. You can go ahead and patch tamarin-redux/vprof/vprof.h and i'll sort out the importing problem soon.
(In reply to comment #10) > > You can go ahead and patch tamarin-redux/vprof/vprof.h and i'll sort out the > importing problem soon. Done.
Attached patch Cleaned up patch — — Splinter Review
Samuli, can you have a look at this? It's like the patch you submitted except as follows: - the changes to Verifier.cpp were not made (because the macro issue was fixed in vprof.h) - the comparison for compiler version uses ">=" not ">" - the changes to the locking code are more extensive than in your patch because neither tamarin-redux nor tamarin-argo had some of the code that your patch assumed was there. I've copied the code from FlashRuntime.
Attachment #435208 - Flags: superreview?(edwsmith)
Attachment #435208 - Flags: review?(lhansen)
Whiteboard: Symbian → Has patch, Symbian
Pushed without the changes to symbian-platform.h (at Samuli's request): tamarin-redux-argo changeset 3887:8bdc9513ee25 tamarin-redux changeset: 4214:8bdc9513ee25
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: