Closed Bug 468041 Opened 17 years ago Closed 17 years ago

failed to build js with "--enable-dtrace"

Categories

(Core :: JavaScript Engine, defect)

x86
Solaris
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: eagle.lu, Assigned: jimb)

References

Details

Attachments

(2 files)

Attached patch patchSplinter 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)
Blocks: 449757
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
Attachment #351522 - Flags: superreview?(jim)
Attachment #351522 - Flags: review?(jim)
Attachment #351522 - Flags: review-
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. :) )
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 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: general → jim
Landed in M-C with that change: 5748936939f4
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: