Closed
Bug 718161
Opened 13 years ago
Closed 11 years ago
Dehydra fails to build against the javascript engine in FF10esr
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: glandium, Unassigned)
Details
Attachments
(1 file)
18.34 KB,
patch
|
Details | Diff | Splinter Review |
dehydra_ast.c: In function 'dehydra_makeVar': dehydra_ast.c:51:21: error: invalid operands to binary == (have 'jsval' and 'jsval') dehydra_ast.c: In function 'dehydra_initVar': dehydra_ast.c:127:11: error: invalid operands to binary == (have 'jsval' and 'jsval')
Comment 1•13 years ago
|
||
This is just the tip of the iceberg; there's several more in several files. Basically, we need to s/\([a-z_]*\) == JSVAL_VOID/JSVAL_IS_VOID(\1)/g s/\([a-z_]*\) != JSVAL_VOID/!JSVAL_IS_VOID(\1)/g s/\([a-z_]*\) == JSVAL_TRUE/JSVAL_TO_BOOLEAN(\1) == JS_TRUE/g [and maybe a few others; I'm using trunk spidermonkey right now which... has even more failures]
Reporter | ||
Comment 2•12 years ago
|
||
Considering bug 735599, 10esr should be a baseline we need to keep building against.
Summary: Dehydra fails to build against the javascript engine in FF9 → Dehydra fails to build against the javascript engine in FF10esr
Reporter | ||
Comment 3•12 years ago
|
||
With the patch I get the following: python unit_test_harness.py dehydra "/usr/bin/g++-4.6" ..................xx................................................... Test Failure: Test command: /usr/bin/gcc-4.6 -c -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg-gcc_dehydra-script=test_strict.js onefunc.cc Failure msg: Expected 'OK' output; Errors: ../libs/xhydra.js:52: JS STRICTJS Exception: ReferenceError: reference to undefined property this._loc ../libs/xhydra.js:52: #0: print("OK") ./test_strict.js:12: #1: process_function([object DehydraDecl],[object Array]) Test Failure: Test command: /usr/bin/g++-4.6 -c -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg-gcc_dehydra-script=test_strict.js onefunc.cc Failure msg: Expected 'OK' output; Errors: ../libs/xhydra.js:52: JS STRICTJS Exception: ReferenceError: reference to undefined property this._loc ../libs/xhydra.js:52: #0: print("OK") ./test_strict.js:12: #1: process_function([object DehydraDecl],[object Array]) Unit Test Suite Summary: 69 passed 2 failed 0 error(s) Not sure how to debug this.
Assignee: nobody → mh+mozilla
Reporter | ||
Updated•11 years ago
|
Assignee: mh+mozilla → nobody
Comment 4•11 years ago
|
||
Dehydra and treehydra are no longer maintained by Mozilla.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•