Closed Bug 590519 Opened 15 years ago Closed 15 years ago

Compile failure on ARM - "'rdtsc' was not declared in this scope"

Categories

(Core :: JavaScript Engine, defect)

ARM
All
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Assigned: gwagner)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

A js shell fails to compile on TM changeset http://hg.mozilla.org/tracemonkey/rev/dc01b8dbb58a === jsatom.cpp jsbool.cpp jscntxt.cpp jsdate.cpp jsdbgapi.cpp jsdhash.cpp jsdtoa.cpp jsemit.cpp jsexn.cpp jsfun.cpp jsgc.cpp ../jsgc.cpp:1151:1: warning: "CMP" redefined In file included from ../nanojit/Native.h:60, from ../nanojit/nanojit.h:368, from ../jsbuiltins.h:45, from ../jstracer.h:48, from ../jsgc.cpp:82: ../nanojit/NativeARM.h:529:1: warning: this is the location of the previous definition ../jsgc.cpp: In function 'void GC(JSContext*, js::GCTimer&)': ../jsgc.cpp:2727: error: 'rdtsc' was not declared in this scope ../jsgc.cpp: In function 'void GCUntilDone(JSContext*, JSGCInvocationKind, js::GCTimer&)': ../jsgc.cpp:3042: error: 'rdtsc' was not declared in this scope make[1]: *** [jsgc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [default] Error 2
Problem seems to be caused by bug 589262, though that's by observation rather than by a proper test. (Pressed for time at the moment.)
Yes it is definitely caused by bug 589262. I thought that issue was fixed with bug 555338. I will remove the GCTIMER by default for debug builds again.
Assignee: general → anygregor
Attached patch patchSplinter Review
Attachment #469070 - Flags: review?(igor)
Gary or Jacob, could you try this patch? I don't have access to an arm environment.
(In reply to comment #3) > Created attachment 469070 [details] [diff] [review] > patch Yup, this patch seems to re-enable builds again. No longer busting with this patch.
Whiteboard: fixed-in-tracemonkey
Attachment #469070 - Flags: review?(igor) → review+
I see this also for PPC debug builds on trunk. Can't await it landing there. ;-)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: