Closed Bug 943493 Opened 11 years ago Closed 11 years ago

Build fails with --disable-ion - undefined reference to 'js::AutoDebugModeInvalidation::~AutoDebugModeInvalidation()

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 942346

People

(Reporter: ochameau, Unassigned)

Details

Due to some issue with ./repo sync, I wasn't able to build gecko for b2g. I was still trying to build gecko with --disable-ion...

So I got multiple such exceptions:
/js/src/jscompartment.cpp:824: error: undefined reference to 'js::AutoDebugModeInvalidation::~AutoDebugModeInvalidation()

We use AutoDebugModeInvalidation over here:
http://mxr.mozilla.org/mozilla-central/source/js/src/jscompartment.cpp#823

Whose partial implementation lives here:
http://mxr.mozilla.org/mozilla-central/source/js/src/jscompartment.h#441

And if I understand C++ correctly, the destructor has no implementation.

The only implementation mxr gives is one in Ion.cpp:
http://mxr.mozilla.org/mozilla-central/source/js/src/jit/Ion.cpp#2757
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.