Closed Bug 626189 Opened 13 years ago Closed 13 years ago

REGRESSION: js fails to build when not JS_METHODJIT

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 623277
mozilla2.0b10

People

(Reporter: jeremyhu, Unassigned)

Details

4.0b9 can fail to build (4.0b8 built with the same config) when JS_METHODJIT is not enabled because getJIT is not defined but is used:

/usr/bin/g++-4.0 -arch ppc -o jsapi.o -c  -I./../../dist/system_wrappers_js -include ./config/gcc_hidden.h -DOSTYPE=\"Darwin9.8.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".dylib\" -Ictypes/libffi/include -I.  -I. -I. -I./../../dist/include -I./../../dist/include/nsprpub  -I/opt/local/include/nspr   -I. -I./assembler -I./yarr  -fPIC -I/opt/local/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -pipe -ggdb3 -arch ppc -fno-strict-aliasing -fpascal-strings -fno-common -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1  -I/opt/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp
jscntxt.h:2286: warning: ‘void js::MarkRuntime(JSTracer*)’: visibility attribute ignored because it
jsgc.h:803: warning: conflicts with previous declaration here
jsinterpinlines.h: In member function ‘bool js::InvokeSessionGuard::invoke(JSContext*) const’:
jsinterpinlines.h:589: error: ‘struct JSScript’ has no member named ‘getJIT’
make[1]: *** [jsapi.o] Error 1
make: *** [default] Error 2
Target Milestone: --- → mozilla2.0b10
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.