Closed
Bug 468041
Opened 17 years ago
Closed 17 years ago
failed to build js with "--enable-dtrace"
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: eagle.lu, Assigned: jimb)
References
Details
Attachments
(2 files)
401 bytes,
patch
|
jimb
:
review-
|
Details | Diff | Splinter Review |
688 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
Built latest firefox trunk codes with "--enable-dtrace",
I got following errors:
"/export/home/brian/packages/BUILD/SUNWfirefox-3.1b2/firefox/js/src/jsdtracef.h", line 36: cannot find include file: "jav ascript-trace.h"
cc: acomp failed for /export/home/brian/packages/BUILD/SUNWfirefox-3.1b2/firefox/js/src/jsdtracef.c
Attachment #351522 -
Flags: superreview?(jim)
Attachment #351522 -
Flags: review?(jim)
Comment 1•17 years ago
|
||
Comment on attachment 351522 [details] [diff] [review]
patch
This patch doesn't make much sense on the current sources: spidermonkey builds .cpp files, not .c
Assignee | ||
Updated•17 years ago
|
Attachment #351522 -
Flags: superreview?(jim)
Attachment #351522 -
Flags: review?(jim)
Attachment #351522 -
Flags: review-
Assignee | ||
Comment 2•17 years ago
|
||
Comment on attachment 351522 [details] [diff] [review]
patch
I'm not sure which version of Firefox this patch is for, but on the trunk, most of js/src is C++; the patch drops the dependencies of the object files generated from C++ on javascript-trace.h.
(And I'm not a superreviewer. :) )
Assignee | ||
Comment 3•17 years ago
|
||
It seems gratuitous to rebuild every object file when
javascript-trace.h changes.
Does this patch work for you?
Attachment #351572 -
Flags: review?(benjamin)
(In reply to comment #3)
> Created an attachment (id=351572) [details]
> Bug 468041: List the object files that depend on javascript-trace.h explicitly.
>
> It seems gratuitous to rebuild every object file when
> javascript-trace.h changes.
>
> Does this patch work for you?
Yes. it works.
Comment 5•17 years ago
|
||
Comment on attachment 351572 [details] [diff] [review]
Bug 468041: List the object files that depend on javascript-trace.h explicitly.
>+$(addsuffix .$(OBJ_SUFFIX),jsdtracef jsinterp jsobj): \
>+ $(CURDIR)/javascript-trace.h
Please avoid the continuation line here: I think it's more readable to be on one line >80 chars, instead of looking at first glance like a rule command.
Attachment #351572 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•17 years ago
|
Assignee: general → jim
Assignee | ||
Comment 6•17 years ago
|
||
Landed in M-C with that change: 5748936939f4
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite-
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•