Closed Bug 632279 Opened 13 years ago Closed 13 years ago

Update dehydra to latest spidermonkey (start using compartments)

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: paul.biggar, Assigned: taras.mozilla)

References

Details

Attachments

(1 file, 1 obsolete file)

To get dehydra to build with the tracemonkey tip, I needed this patch. Tested with `make check_both`.
Attachment #510496 - Flags: review?(tglek)
Comment on attachment 510496 [details] [diff] [review]
Add compartment, and fix String creation

>diff --git a/configure b/configure
>--- a/configure
>+++ b/configure
>@@ -186,16 +186,18 @@ if __name__ == "__main__":
>             jsname = val
>             jsnamels = [jsname]
>         elif o == "--js-libs":
>             jslibs = os.path.expanduser(val)
>         elif o == "--js-headers":
>             jsheaders = os.path.expanduser(val)
>         elif o == "--gcc-build":
>             gcc_build = os.path.expanduser(val)
>+        elif o == "--gcc-src":
>+            gcc_src = os.path.expanduser(val)

You shouldn't need this with 4.5. Headers should be enough.
Attached patch pbiggar's patchSplinter Review
Just added an include guard for older spidermonkeys without compartments. Stealing review from Taras and will commit as Paul Biggar shortly if there are no objections.
Attachment #510496 - Attachment is obsolete: true
Attachment #518767 - Flags: review+
Attachment #510496 - Flags: review?(tglek)
(In reply to comment #2)
> Created attachment 518767 [details] [diff] [review]
> pbiggar's patch
> 
> Just added an include guard for older spidermonkeys without compartments.
> Stealing review from Taras and will commit as Paul Biggar shortly if there are
> no objections.

I object to the elif o == "--gcc-src": bit
> I object to the elif o == "--gcc-src": bit

took that bit out already
approved then
Thanks Ehren.
no prob, http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/514dea3e9c8c
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: