Closed
Bug 593483
Opened 14 years ago
Closed 14 years ago
Unbreak (real) dtrace
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(1 file)
2.47 KB,
patch
|
gal
:
review+
|
Details | Diff | Splinter Review |
Compiling with --enable-dtrace no longer works. Bug 584175 broke it by const-ipating some parameters. This results from a bug in dtrace. See http://web.archiveorange.com/archive/v/ejz8xyzxv3yAawGtOdTp for a brief discussion. Ironically, systemtap's dtrace emulation does the correct thing. I have filed a bug with apple on this: https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/11/wo/bUtX4S1OlMcPZTe3nf4b2g/16.60
Assignee | ||
Comment 1•14 years ago
|
||
I'll take a stab at working around this with build hackery. I hate to mess up the source for it.
Assignee | ||
Comment 2•14 years ago
|
||
This patch fixes the compile on OSX. I added const where appropriate to the .d file, which won't do anything for systemtap's dtrace because it already uses const for everything. And it won't do anything for Solaris or OSX dtrace because they incorrectly ignore it. I also hacked the makefile to force a const unless it's already there. This has no effect with systemtap's dtrace, and fixes the problem with OSX's.
Attachment #472005 -
Flags: review?(peterv)
Attachment #472005 -
Flags: approval2.0?
Comment 4•14 years ago
|
||
Since (pending bug 595718) the Shark nightlies don't show up on tbpl, it's not obvious, but this bug means we have a permanently red build on both tracemonkey and mozilla-central now. I'd be happy to be told that's not a blocker, because we don't care about those builds, in which case I'll just hide them on tinderbox, and they can burn in peace.
Severity: normal → blocker
blocking2.0: --- → ?
OS: Linux → Mac OS X
Hardware: x86_64 → x86
Comment 5•14 years ago
|
||
This has a patch, it's an easy bug to fix, we want shark builds and non-red tbox for 'em. Suspect peterv is busy, maybe try gal for review? /be
Assignee | ||
Comment 6•14 years ago
|
||
Comment on attachment 472005 [details] [diff] [review] Add const to char * params in probes Got a mid-air collision on a comment asking for advice on an alternative reviewer. I'm glad brendan is psychic. Thanks!
Attachment #472005 -
Flags: review?(peterv) → review?(gal)
Comment 7•14 years ago
|
||
Comment on attachment 472005 [details] [diff] [review] Add const to char * params in probes NPOTB. No approval needed IMO.
Attachment #472005 -
Flags: review?(gal) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•14 years ago
|
Attachment #472005 -
Flags: approval2.0?
Assignee | ||
Comment 8•14 years ago
|
||
FYI: My Apple bug has been closed as a duplicate of a known issue 5586154. Unfortunately, they only allow viewing of your own bugs, so I can't track the status.
Comment 9•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/1a7b01521bcd
Updated•14 years ago
|
blocking2.0: ? → final+
You need to log in
before you can comment on or make changes to this bug.
Description
•