=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for spidermonkey185-1.8.5nb5 /usr/pkg/bin/gmake export gmake[1]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src' /usr/pkg/bin/gmake -C config/ nsinstall gmake[2]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/config' nsinstall.c gcc -o host_nsinstall.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -W -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/pkg/include/nspr -I/usr/pkg/include/nspr nsinstall.c pathsub.c gcc -o host_pathsub.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -W -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/usr/pkg/include/nspr -I/usr/pkg/include/nspr pathsub.c gcc -o nsinstall -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -W -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -O3 -DUNICODE -D_UNICODE -lpthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/pkg/lib host_nsinstall.o host_pathsub.o gmake[2]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/config' Creating /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/.deps gmake[2]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/config/nsinstall -R nsinstall ../dist/bin gmake[2]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/config' gmake[2]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/editline' Creating /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/editline/.deps gmake[2]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/editline' gmake[2]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/shell' Creating /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/shell/.deps gmake[2]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/shell' gmake[2]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/jsapi-tests' Creating /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/jsapi-tests/.deps gmake[2]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/jsapi-tests' gmake[2]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/tests' gmake[2]: Nothing to be done for 'export'. gmake[2]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/tests' c++ -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DOSTYPE=\"NetBSD9\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/pkg/include/nspr -o jscpucfg jscpucfg.cpp jskwgen.cpp c++ -o host_jskwgen.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -I/usr/pkg/include/nspr jskwgen.cpp c++ -o host_jskwgen -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./host_jskwgen /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/jsautokw.h ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/config/nsinstall -R -m 644 js-config.h jsautocfg.h /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/jsautokw.h js.msg jsanalyze.h jsapi.h jsarray.h jsarena.h jsatom.h jsbit.h jsbool.h jsclist.h jsclone.h jscntxt.h jscompat.h jsdate.h jsdbgapi.h jsdhash.h jsdtoa.h jsemit.h jsfun.h jsfriendapi.h jsgc.h jscell.h jsgcchunk.h jsgcstats.h jscompartment.h jshash.h jsinterp.h jsinttypes.h jsiter.h jslock.h jslong.h jsmath.h jsobj.h jsobjinlines.h json.h jsopcode.tbl jsopcode.h jsopcodeinlines.h jsotypes.h jsparse.h jsproxy.h jsprf.h jsprobes.h jspropertycache.h jspropertycacheinlines.h jspropertytree.h jsproto.tbl jsprvtd.h jspubtd.h jsreflect.h jsregexp.h jsscan.h jsscope.h jsscript.h jsscriptinlines.h jsstaticcheck.h jsstdint.h jsstr.h jstracer.h jshotloop.h jstypedarray.h jstypes.h jsutil.h jsvector.h jstl.h jshashtable.h jsversion.h jswrapper.h jsxdrapi.h jsxml.h jsval.h jsvalue.h prmjtime.h jsbuiltins.h ./nanojit/Assembler.h ./nanojit/Allocator.h ./nanojit/CodeAlloc.h ./nanojit/Containers.h ./nanojit/LIR.h ./nanojit/LIRopcode.tbl ./nanojit/avmplus.h ./nanojit/Fragmento.h ./nanojit/Native.h ./nanojit/NativeCommon.h ./nanojit/NativeSparc.h ./nanojit/njconfig.h ./nanojit/njcpudetect.h ./nanojit/RegAlloc.h ./nanojit/nanojit.h ./nanojit/VMPI.h ./tracejit/Writer.h ./perf/jsperf.h ./dist/include mkdir -p nanojit gmake[1]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src' /usr/pkg/bin/gmake libs gmake[1]: Entering directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src' jsoplengen.cpp c++ -o host_jsoplengen.o -c -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -I/usr/pkg/include/nspr jsoplengen.cpp /usr/pkg/bin/python2.7 imacro_asm.py ./imacros.jsasm /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/imacros.c.out c++ -o host_jsoplengen -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp c++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD9\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp jsapi.cpp c++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD9\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp jsarray.cpp c++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD9\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarray.pp jsarray.cpp jsarena.cpp c++ -o jsarena.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD9\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsarena.pp jsarena.cpp jsatom.cpp c++ -o jsatom.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD9\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -fno-strict-aliasing -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsatom.pp jsatom.cpp In file included from jsbuiltins.h:45:0, from jstracer.h:48, from jsarray.cpp:90: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ In file included from nanojit/nanojit.h:374:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ In file included from jsbuiltins.h:45:0, from jsapi.cpp:60: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ In file included from nanojit/nanojit.h:374:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ distcc[1088] ERROR: compile jsarray.cpp on 10.1.1.1:3642 failed distcc[1088] (dcc_build_somewhere) Warning: remote compilation of 'jsarray.cpp' failed, retrying locally distcc[1088] Warning: failed to distribute jsarray.cpp to 10.1.1.1:3642, running locally instead distcc[26795] ERROR: compile jsapi.cpp on 10.1.1.1:3642 failed distcc[26795] (dcc_build_somewhere) Warning: remote compilation of 'jsapi.cpp' failed, retrying locally distcc[26795] Warning: failed to distribute jsapi.cpp to 10.1.1.1:3642, running locally instead distcc[25711] ERROR: compile jsanalyze.cpp on 10.1.1.1:3642 failed distcc[25711] (dcc_build_somewhere) Warning: remote compilation of 'jsanalyze.cpp' failed, retrying locally distcc[25711] Warning: failed to distribute jsanalyze.cpp to 10.1.1.1:3642, running locally instead distcc[10342] ERROR: compile jsatom.cpp on 10.1.1.1:3642 failed distcc[10342] (dcc_build_somewhere) Warning: remote compilation of 'jsatom.cpp' failed, retrying locally distcc[10342] Warning: failed to distribute jsatom.cpp to 10.1.1.1:3642, running locally instead In file included from jsbuiltins.h:45:0, from jstracer.h:48, from jsarray.cpp:90: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ In file included from nanojit/nanojit.h:374:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ In file included from jsarray.cpp:84:0: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsarray.cpp:85:0: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsobj.h:64:0, from jsstr.h:56, from jsatom.h:52, from jsarray.h:47, from jsarray.cpp:86: jsvalue.h: In member function 'const jsuword* js::Value::payloadWord() const': jsvalue.h:732:32: error: 'const union jsval_layout::::' has no member named 'word' return &data.s.payload.word; ^~~~ In file included from jsatom.cpp:47:0: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsval.h:48:0, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ In file included from jsatom.h:47:0, from jscntxt.h:59, from jsanalyze.h:45, from jsanalyze.cpp:40: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from nanojit/nanojit.h:375:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/CodeAlloc.h: At global scope: nanojit/CodeAlloc.h:76:13: error: 'NIns' does not name a type NIns* end; // points just past the end ^~~~ nanojit/CodeAlloc.h:81:9: error: 'NIns' does not name a type NIns code[1]; // more follows ^~~~ nanojit/CodeAlloc.h:84:9: error: 'NIns' does not name a type NIns* start() { return &code[0]; } ^~~~ nanojit/CodeAlloc.h:94:24: error: 'NIns' has not been declared bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } ^~~~ nanojit/CodeAlloc.h: In member function 'size_t nanojit::CodeList::size() const': nanojit/CodeAlloc.h:87:48: error: 'end' was not declared in this scope size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~ nanojit/CodeAlloc.h:87:48: note: suggested alternative: 'read' size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~ read nanojit/CodeAlloc.h:87:66: error: 'code' was not declared in this scope size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~~ nanojit/CodeAlloc.h:87:66: note: suggested alternative: 'close' size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~~ close In file included from jsbuiltins.h:45:0, from jsapi.cpp:60: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ nanojit/CodeAlloc.h: In member function 'size_t nanojit::CodeList::blockSize() const': nanojit/CodeAlloc.h:90:53: error: 'end' was not declared in this scope size_t blockSize() const { return uintptr_t(end) - uintptr_t(this); } ^~~ nanojit/CodeAlloc.h:90:53: note: suggested alternative: 'read' size_t blockSize() const { return uintptr_t(end) - uintptr_t(this); } ^~~ read nanojit/CodeAlloc.h: In member function 'bool nanojit::CodeList::isInBlock(int*)': nanojit/CodeAlloc.h:94:54: error: 'class nanojit::CodeList' has no member named 'start' bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } ^~~~~ nanojit/CodeAlloc.h:94:75: error: 'class nanojit::CodeList' has no member named 'end' bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } ^~~ In file included from jstypes.h:57:0, from jsarray.cpp:82: nanojit/CodeAlloc.h: At global scope: nanojit/CodeAlloc.h:119:65: error: 'class nanojit::CodeList' has no member named 'code' static const size_t sizeofMinBlock = offsetof(CodeList, code); ^ In file included from nanojit/nanojit.h:375:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/CodeAlloc.h:120:44: error: 'LARGEST_UNDERRUN_PROT' was not declared in this scope static const size_t minAllocSize = LARGEST_UNDERRUN_PROT; ^~~~~~~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:374:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" #error "unknown nanojit architecture" ^~~~~ nanojit/CodeAlloc.h:150:26: error: expected ';' at end of member declaration static CodeList* getBlock(NIns* start, NIns* end); ^~~~~~~~ nanojit/CodeAlloc.h:150:39: error: expected ')' before '*' token static CodeList* getBlock(NIns* start, NIns* end); ^ In file included from nanojit/nanojit.h:375:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/CodeAlloc.h:191:20: error: 'NIns' has not been declared void alloc(NIns* &start, NIns* &end, size_t byteLimit); ^~~~ nanojit/CodeAlloc.h:191:34: error: 'NIns' has not been declared void alloc(NIns* &start, NIns* &end, size_t byteLimit); ^~~~ nanojit/CodeAlloc.h:194:19: error: 'NIns' has not been declared void free(NIns* start, NIns* end); ^~~~ nanojit/CodeAlloc.h:194:32: error: 'NIns' has not been declared void free(NIns* start, NIns* end); ^~~~ nanojit/CodeAlloc.h:207:44: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:207:57: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:207:68: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:207:85: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:210:42: error: 'NIns' has not been declared static void add(CodeList* &code, NIns* start, NIns* end); ^~~~ nanojit/CodeAlloc.h:210:55: error: 'NIns' has not been declared static void add(CodeList* &code, NIns* start, NIns* end); ^~~~ In file included from nanojit/nanojit.h:376:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/LIR.h:418:9: error: 'NIns' does not name a type NIns** table; // Jump table; a jump address is NIns* ^~~~ nanojit/LIR.h:538:12: error: 'RegisterMask' does not name a type; did you mean 'register'? inline RegisterMask rmask(Register r) ^~~~~~~~~~~~ register nanojit/LIR.h:753:9: error: 'Register' does not name a type; did you mean 'register'? Register deprecated_getReg() { ^~~~~~~~ register nanojit/LIR.h:779:26: error: 'RegisterMask' has not been declared bool isInRegMask(RegisterMask allow) { ^~~~~~~~~~~~ nanojit/LIR.h:782:9: error: 'Register' does not name a type; did you mean 'register'? Register getReg() { ^~~~~~~~ register nanojit/LIR.h:787:21: error: 'Register' has not been declared void setReg(Register r) { ^~~~~~~~ nanojit/LIR.h: In member function 'bool nanojit::LIns::isInRegMask(int)': nanojit/LIR.h:780:40: error: 'getReg' was not declared in this scope return isInReg() && (rmask(getReg()) & allow); ^~~~~~ nanojit/LIR.h:780:40: note: suggested alternative: 'setReg' return isInReg() && (rmask(getReg()) & allow); ^~~~~~ setReg nanojit/LIR.h:780:34: error: 'rmask' was not declared in this scope return isInReg() && (rmask(getReg()) & allow); ^~~~~ nanojit/LIR.h: In member function 'void nanojit::LIns::setReg(int)': nanojit/LIR.h:789:35: error: 'REGNUM' was not declared in this scope sharedFields.regnum = REGNUM(r); ^~~~~~ nanojit/LIR.h: In member function 'void* nanojit::LIns::immP() const': nanojit/LIR.h:1040:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)immI(); ^ nanojit/LIR.h: In member function 'nanojit::LIns* nanojit::LirWriter::insImmP(const void*)': nanojit/LIR.h:1614:37: error: cast from 'const void*' to 'int32_t {aka int}' loses precision [-fpermissive] return insImmI((int32_t)ptr); ^~~ nanojit/LIR.h: At global scope: nanojit/LIR.h:2129:29: error: 'NumSavedRegs' was not declared in this scope LIns* savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 ^~~~~~~~~~~~ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/RegAlloc.h:60:21: error: 'Register' has not been declared bool isFree(Register r) const ^~~~~~~~ nanojit/RegAlloc.h:66:22: error: 'Register' has not been declared void addFree(Register r) ^~~~~~~~ nanojit/RegAlloc.h:72:25: error: 'Register' has not been declared void removeFree(Register r) ^~~~~~~~ nanojit/RegAlloc.h:78:24: error: 'Register' has not been declared void addActive(Register r, LIns* v) ^~~~~~~~ nanojit/RegAlloc.h:88:24: error: 'Register' has not been declared void useActive(Register r) ^~~~~~~~ nanojit/RegAlloc.h:95:27: error: 'Register' has not been declared void removeActive(Register r) ^~~~~~~~ nanojit/RegAlloc.h:105:21: error: 'Register' has not been declared void retire(Register r) ^~~~~~~~ nanojit/RegAlloc.h:113:29: error: 'Register' has not been declared int32_t getPriority(Register r) { ^~~~~~~~ nanojit/RegAlloc.h:118:15: error: expected ';' at end of member declaration LIns* getActive(Register r) const { ^~~~~~~~~ nanojit/RegAlloc.h:118:34: error: expected ')' before 'r' LIns* getActive(Register r) const { ^ nanojit/RegAlloc.h:125:9: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask activeMask() const { ^~~~~~~~~~~~ register nanojit/RegAlloc.h:176:32: error: 'LastRegNum' was not declared in this scope LIns* active[LastRegNum + 1]; // active[REGNUM(r)] = LIns that defines r ^~~~~~~~~~ In file included from jsapi.cpp:52:0: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!memory) ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' *(size_t *)memory = n; ^ nanojit/RegAlloc.h:177:32: error: 'LastRegNum' was not declared in this scope int32_t usepri[LastRegNum + 1]; // used priority. lower = more likely to spill. ^~~~~~~~~~ In file included from jsatom.cpp:50:0: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes] template<> class AnchorPermitted { }; ^ nanojit/RegAlloc.h:178:9: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask free; // Registers currently free. ^~~~~~~~~~~~ register nanojit/RegAlloc.h:179:9: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask managed; // Registers under management (invariant). ^~~~~~~~~~~~ register nanojit/RegAlloc.h:182:35: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_REGALLOC' with no type [-fpermissive] DECLARE_PLATFORM_REGALLOC() ^ nanojit/RegAlloc.h:182:35: error: expected ';' at end of member declaration nanojit/RegAlloc.h: In member function 'bool nanojit::RegAlloc::isFree(int) const': nanojit/RegAlloc.h:63:28: error: 'rmask' was not declared in this scope return (free & rmask(r)) != 0; ^~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::addFree(int)': nanojit/RegAlloc.h:69:21: error: 'rmask' was not declared in this scope free |= rmask(r); ^~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::removeFree(int)': nanojit/RegAlloc.h:75:22: error: 'rmask' was not declared in this scope free &= ~rmask(r); ^~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::addActive(int, nanojit::LIns*)': nanojit/RegAlloc.h:84:13: error: 'active' was not declared in this scope active[REGNUM(r)] = v; ^~~~~~ In file included from jsobj.h:64:0, from jsstr.h:56, from jsatom.h:52, from jscntxt.h:59, from jsanalyze.h:45, from jsanalyze.cpp:40: jsvalue.h: In member function 'const jsuword* js::Value::payloadWord() const': jsvalue.h:732:32: error: 'const union jsval_layout::::' has no member named 'word' return &data.s.payload.word; ^~~~ In file included from jsapi.cpp:56:0: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval {aka long unsigned int}' [-Wignored-attributes] template<> class AnchorPermitted { }; ^ In file included from jsobj.h:64:0, from jsstr.h:56, from jsatom.h:52, from jsatom.cpp:51: jsvalue.h: In member function 'const jsuword* js::Value::payloadWord() const': jsvalue.h:732:32: error: 'const union jsval_layout::::' has no member named 'word' return &data.s.payload.word; ^~~~ In file included from jsobj.h:64:0, from jsstr.h:56, from jsatom.h:52, from jsarray.h:47, from jsapi.cpp:57: jsvalue.h: In member function 'const jsuword* js::Value::payloadWord() const': jsvalue.h:732:32: error: 'const union jsval_layout::::' has no member named 'word' return &data.s.payload.word; ^~~~ distcc[25711] ERROR: compile jsanalyze.cpp on localhost failed gmake[1]: *** [config/rules.mk:1477: jsanalyze.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from nanojit/nanojit.h:375:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/CodeAlloc.h: At global scope: nanojit/CodeAlloc.h:76:13: error: 'NIns' does not name a type NIns* end; // points just past the end ^~~~ nanojit/CodeAlloc.h:81:9: error: 'NIns' does not name a type NIns code[1]; // more follows ^~~~ nanojit/CodeAlloc.h:84:9: error: 'NIns' does not name a type NIns* start() { return &code[0]; } ^~~~ nanojit/CodeAlloc.h:94:24: error: 'NIns' has not been declared bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } ^~~~ nanojit/CodeAlloc.h: In member function 'size_t nanojit::CodeList::size() const': nanojit/CodeAlloc.h:87:48: error: 'end' was not declared in this scope size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~ nanojit/CodeAlloc.h:87:48: note: suggested alternative: 'read' size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~ read nanojit/CodeAlloc.h:87:66: error: 'code' was not declared in this scope size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~~ nanojit/CodeAlloc.h:87:66: note: suggested alternative: 'close' size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } ^~~~ close nanojit/CodeAlloc.h: In member function 'size_t nanojit::CodeList::blockSize() const': nanojit/CodeAlloc.h:90:53: error: 'end' was not declared in this scope size_t blockSize() const { return uintptr_t(end) - uintptr_t(this); } ^~~ nanojit/CodeAlloc.h:90:53: note: suggested alternative: 'read' size_t blockSize() const { return uintptr_t(end) - uintptr_t(this); } ^~~ read nanojit/CodeAlloc.h: In member function 'bool nanojit::CodeList::isInBlock(int*)': nanojit/CodeAlloc.h:94:54: error: 'class nanojit::CodeList' has no member named 'start' bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } ^~~~~ nanojit/CodeAlloc.h:94:75: error: 'class nanojit::CodeList' has no member named 'end' bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } ^~~ In file included from jstypes.h:57:0, from jsapi.cpp:49: nanojit/CodeAlloc.h: At global scope: nanojit/CodeAlloc.h:119:65: error: 'class nanojit::CodeList' has no member named 'code' static const size_t sizeofMinBlock = offsetof(CodeList, code); ^ In file included from nanojit/nanojit.h:375:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/CodeAlloc.h:120:44: error: 'LARGEST_UNDERRUN_PROT' was not declared in this scope static const size_t minAllocSize = LARGEST_UNDERRUN_PROT; ^~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h:84:13: note: suggested alternative: 'addActive' active[REGNUM(r)] = v; ^~~~~~ addActive nanojit/RegAlloc.h:84:20: error: 'REGNUM' was not declared in this scope active[REGNUM(r)] = v; ^~~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::useActive(int)': nanojit/RegAlloc.h:92:13: error: 'usepri' was not declared in this scope usepri[REGNUM(r)] = priority++; ^~~~~~ nanojit/CodeAlloc.h:150:26: error: expected ';' at end of member declaration static CodeList* getBlock(NIns* start, NIns* end); ^~~~~~~~ nanojit/CodeAlloc.h:150:39: error: expected ')' before '*' token static CodeList* getBlock(NIns* start, NIns* end); ^ In file included from nanojit/nanojit.h:375:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/CodeAlloc.h:191:20: error: 'NIns' has not been declared void alloc(NIns* &start, NIns* &end, size_t byteLimit); ^~~~ nanojit/CodeAlloc.h:191:34: error: 'NIns' has not been declared void alloc(NIns* &start, NIns* &end, size_t byteLimit); ^~~~ nanojit/CodeAlloc.h:194:19: error: 'NIns' has not been declared void free(NIns* start, NIns* end); ^~~~ nanojit/CodeAlloc.h:194:32: error: 'NIns' has not been declared void free(NIns* start, NIns* end); ^~~~ nanojit/CodeAlloc.h:207:44: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:207:57: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:207:68: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:207:85: error: 'NIns' has not been declared void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); ^~~~ nanojit/CodeAlloc.h:210:42: error: 'NIns' has not been declared static void add(CodeList* &code, NIns* start, NIns* end); ^~~~ nanojit/CodeAlloc.h:210:55: error: 'NIns' has not been declared static void add(CodeList* &code, NIns* start, NIns* end); ^~~~ In file included from nanojit/nanojit.h:376:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/LIR.h:418:9: error: 'NIns' does not name a type NIns** table; // Jump table; a jump address is NIns* ^~~~ nanojit/RegAlloc.h:92:13: note: suggested alternative: 'cuserid' usepri[REGNUM(r)] = priority++; ^~~~~~ cuserid nanojit/RegAlloc.h:92:20: error: 'REGNUM' was not declared in this scope usepri[REGNUM(r)] = priority++; ^~~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::removeActive(int)': nanojit/RegAlloc.h:102:13: error: 'active' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/LIR.h:538:12: error: 'RegisterMask' does not name a type; did you mean 'register'? inline RegisterMask rmask(Register r) ^~~~~~~~~~~~ register nanojit/RegAlloc.h:102:13: note: suggested alternative: 'addActive' active[REGNUM(r)] = NULL; ^~~~~~ addActive nanojit/RegAlloc.h:102:20: error: 'REGNUM' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::retire(int)': nanojit/RegAlloc.h:109:13: error: 'active' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/LIR.h:753:9: error: 'Register' does not name a type; did you mean 'register'? Register deprecated_getReg() { ^~~~~~~~ register nanojit/LIR.h:779:26: error: 'RegisterMask' has not been declared bool isInRegMask(RegisterMask allow) { ^~~~~~~~~~~~ nanojit/RegAlloc.h:109:13: note: suggested alternative: 'addActive' active[REGNUM(r)] = NULL; ^~~~~~ addActive nanojit/RegAlloc.h:109:20: error: 'REGNUM' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/LIR.h:782:9: error: 'Register' does not name a type; did you mean 'register'? Register getReg() { ^~~~~~~~ register nanojit/LIR.h:787:21: error: 'Register' has not been declared void setReg(Register r) { ^~~~~~~~ nanojit/RegAlloc.h:110:21: error: 'rmask' was not declared in this scope free |= rmask(r); ^~~~~ nanojit/LIR.h: In member function 'bool nanojit::LIns::isInRegMask(int)': nanojit/LIR.h:780:40: error: 'getReg' was not declared in this scope return isInReg() && (rmask(getReg()) & allow); ^~~~~~ nanojit/RegAlloc.h: In member function 'int32_t nanojit::RegAlloc::getPriority(int)': nanojit/RegAlloc.h:115:20: error: 'usepri' was not declared in this scope return usepri[REGNUM(r)]; ^~~~~~ nanojit/LIR.h:780:40: note: suggested alternative: 'setReg' return isInReg() && (rmask(getReg()) & allow); ^~~~~~ setReg nanojit/LIR.h:780:34: error: 'rmask' was not declared in this scope return isInReg() && (rmask(getReg()) & allow); ^~~~~ nanojit/RegAlloc.h:115:20: note: suggested alternative: 'cuserid' return usepri[REGNUM(r)]; ^~~~~~ cuserid nanojit/RegAlloc.h:115:27: error: 'REGNUM' was not declared in this scope return usepri[REGNUM(r)]; ^~~~~~ nanojit/LIR.h:780:34: note: suggested alternative: 'umask' return isInReg() && (rmask(getReg()) & allow); ^~~~~ umask nanojit/LIR.h: In member function 'void nanojit::LIns::setReg(int)': nanojit/LIR.h:789:35: error: 'REGNUM' was not declared in this scope sharedFields.regnum = REGNUM(r); ^~~~~~ nanojit/RegAlloc.h: At global scope: nanojit/RegAlloc.h:186:12: error: 'Register' does not name a type; did you mean 'register'? inline Register lsReg(RegisterMask mask) { ^~~~~~~~ register nanojit/RegAlloc.h:194:12: error: 'Register' does not name a type; did you mean 'register'? inline Register msReg(RegisterMask mask) { ^~~~~~~~ register nanojit/LIR.h: In member function 'void* nanojit::LIns::immP() const': nanojit/LIR.h:1040:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)immI(); ^ nanojit/RegAlloc.h:202:12: error: 'Register' does not name a type; did you mean 'register'? inline Register nextLsReg(RegisterMask& mask, Register r) { ^~~~~~~~ register nanojit/RegAlloc.h:207:12: error: 'Register' does not name a type; did you mean 'register'? inline Register nextMsReg(RegisterMask& mask, Register r) { ^~~~~~~~ register In file included from nanojit/nanojit.h:378:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/Fragmento.h:63:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* code() { return _code; } ^~~~ LIns nanojit/Fragmento.h:64:37: error: 'NIns' has not been declared void setCode(NIns* codee) { _code = codee; } ^~~~ nanojit/Fragmento.h:72:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* fragEntry; ^~~~ LIns nanojit/LIR.h: In member function 'nanojit::LIns* nanojit::LirWriter::insImmP(const void*)': nanojit/LIR.h:1614:37: error: cast from 'const void*' to 'int32_t {aka int}' loses precision [-fpermissive] return insImmI((int32_t)ptr); ^~~ nanojit/Fragmento.h:86:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _code; // ptr to start of code ^~~~ LIns nanojit/Fragmento.h: In member function 'void nanojit::Fragment::setCode(int*)': nanojit/Fragmento.h:64:63: error: '_code' was not declared in this scope void setCode(NIns* codee) { _code = codee; } ^~~~~ nanojit/Fragmento.h:64:63: note: suggested alternative: 'codee' void setCode(NIns* codee) { _code = codee; } ^~~~~ codee In file included from nanojit/nanojit.h:379:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/Assembler.h: At global scope: nanojit/Assembler.h:107:35: error: 'NJ_MAX_STACK_ENTRY' was not declared in this scope LIns* _entries[ NJ_MAX_STACK_ENTRY ]; /* maps to 4B contiguous locations relative to the frame pointer. ^~~~~~~~~~~~~~~~~~ nanojit/LIR.h: At global scope: nanojit/LIR.h:2129:29: error: 'NumSavedRegs' was not declared in this scope LIns* savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 ^~~~~~~~~~~~ In file included from nanojit/nanojit.h:379:0, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/Assembler.h: In constructor 'nanojit::AR::AR()': nanojit/Assembler.h:149:10: error: '_entries' was not declared in this scope _entries[0] = NULL; ^~~~~~~~ nanojit/Assembler.h: At global scope: nanojit/Assembler.h:202:24: error: 'NIns' was not declared in this scope typedef SeqBuilder NInsList; ^~~~ nanojit/Assembler.h:202:24: note: suggested alternative: 'LIns' typedef SeqBuilder NInsList; ^~~~ LIns nanojit/Assembler.h:202:29: error: template argument 1 is invalid typedef SeqBuilder NInsList; ^ nanojit/Assembler.h:203:21: error: 'NIns' was not declared in this scope typedef HashMap NInsMap; ^~~~ nanojit/Assembler.h:203:21: note: suggested alternative: 'LIns' typedef HashMap NInsMap; ^~~~ LIns nanojit/Assembler.h:203:33: error: template argument 1 is invalid typedef HashMap NInsMap; ^ nanojit/Assembler.h:203:33: error: template argument 3 is invalid nanojit/Assembler.h:216:9: error: 'NIns' does not name a type; did you mean 'LIns'? NIns *addr; ^~~~ LIns nanojit/Assembler.h:217:25: error: expected ')' before '*' token LabelState(NIns *a, RegAlloc &r) : regs(r), addr(a) ^ nanojit/Assembler.h:230:31: error: 'NIns' has not been declared void add(LIns *label, NIns *addr, RegAlloc ®s); ^~~~ nanojit/Assembler.h:318:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* genPrologue(); ^~~~ LIns nanojit/Assembler.h:319:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* genEpilogue(); ^~~~ LIns nanojit/Assembler.h:325:13: error: 'Register' does not name a type; did you mean 'register'? Register registerAlloc(LIns* ins, RegisterMask allow, RegisterMask prefer); ^~~~~~~~ register nanojit/Assembler.h:326:13: error: 'Register' does not name a type; did you mean 'register'? Register registerAllocTmp(RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:333:45: error: 'RegisterMask' has not been declared void evictSomeActiveRegs(RegisterMask regs); ^~~~~~~~~~~~ nanojit/Assembler.h:334:48: error: 'RegisterMask' has not been declared void evictScratchRegsExcept(RegisterMask ignore); ^~~~~~~~~~~~ nanojit/Assembler.h:337:54: error: 'RegisterMask' has not been declared void assignSaved(RegAlloc &saved, RegisterMask skip); ^~~~~~~~~~~~ nanojit/Assembler.h:338:25: error: expected ';' at end of member declaration LIns* findVictim(RegisterMask allow); ^~~~~~~~~~ nanojit/Assembler.h:338:49: error: expected ')' before 'allow' LIns* findVictim(RegisterMask allow); ^~~~~ nanojit/Assembler.h:340:13: error: 'Register' does not name a type; did you mean 'register'? Register getBaseReg(LIns *ins, int &d, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:341:37: error: 'RegisterMask' has not been declared void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, ^~~~~~~~~~~~ nanojit/Assembler.h:341:75: error: 'Register' has not been declared void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, ^~~~~~~~ nanojit/Assembler.h:342:37: error: 'RegisterMask' has not been declared RegisterMask allowBase, LIns* base, Register& rb, int &d); ^~~~~~~~~~~~ nanojit/Assembler.h:342:73: error: 'Register' has not been declared RegisterMask allowBase, LIns* base, Register& rb, int &d); ^~~~~~~~ nanojit/Assembler.h:348:13: error: 'Register' does not name a type; did you mean 'register'? Register findRegFor(LIns* ins, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:349:37: error: 'RegisterMask' has not been declared void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, ^~~~~~~~~~~~ nanojit/Assembler.h:349:68: error: 'Register' has not been declared void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, ^~~~~~~~ nanojit/Assembler.h:350:37: error: 'RegisterMask' has not been declared RegisterMask allowb, LIns *ib, Register &rb); ^~~~~~~~~~~~ nanojit/Assembler.h:350:68: error: 'Register' has not been declared RegisterMask allowb, LIns *ib, Register &rb); ^~~~~~~~ nanojit/Assembler.h:351:13: error: 'Register' does not name a type; did you mean 'register'? Register findSpecificRegFor(LIns* ins, Register r); ^~~~~~~~ register nanojit/Assembler.h:352:13: error: 'Register' does not name a type; did you mean 'register'? Register findSpecificRegForUnallocated(LIns* ins, Register r); ^~~~~~~~ register nanojit/Assembler.h:353:13: error: 'Register' does not name a type; did you mean 'register'? Register deprecated_prepResultReg(LIns *ins, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:354:13: error: 'Register' does not name a type; did you mean 'register'? Register prepareResultReg(LIns *ins, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:357:39: error: 'Register' has not been declared void evictIfActive(Register r); ^~~~~~~~ nanojit/Assembler.h:359:13: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask hint(LIns* ins); ^~~~~~~~~~~~ register nanojit/Assembler.h:363:35: error: 'NIns' has not been declared void codeAlloc(NIns *&start, NIns *&end, NIns *&eip ^~~~ nanojit/Assembler.h:363:49: error: 'NIns' has not been declared void codeAlloc(NIns *&start, NIns *&end, NIns *&eip ^~~~ nanojit/Assembler.h:363:61: error: 'NIns' has not been declared void codeAlloc(NIns *&start, NIns *&end, NIns *&eip ^~~~ nanojit/Assembler.h:378:40: error: 'Register' has not been declared bool deprecated_isKnownReg(Register r) { ^~~~~~~~ nanojit/Assembler.h:405:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns *codeStart, *codeEnd; // current normal code chunk ^~~~ LIns nanojit/Assembler.h:406:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns *exitStart, *exitEnd; // current exit code chunk ^~~~ LIns nanojit/Assembler.h:407:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _nIns; // current instruction in current normal code chunk ^~~~ LIns nanojit/Assembler.h:408:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _nExitIns; // current instruction in current exit code chunk ^~~~ LIns nanojit/Assembler.h:419:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _epilogue; ^~~~ LIns nanojit/Assembler.h:432:33: error: 'Register' has not been declared void asm_mmq(Register rd, int dd, Register rs, int ds); ^~~~~~~~ nanojit/Assembler.h:432:54: error: 'Register' has not been declared void asm_mmq(Register rd, int dd, Register rs, int ds); ^~~~~~~~ In file included from nanojit/nanojit.h:377:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/RegAlloc.h:60:21: error: 'Register' has not been declared bool isFree(Register r) const ^~~~~~~~ nanojit/RegAlloc.h:66:22: error: 'Register' has not been declared void addFree(Register r) ^~~~~~~~ nanojit/RegAlloc.h:72:25: error: 'Register' has not been declared void removeFree(Register r) ^~~~~~~~ nanojit/RegAlloc.h:78:24: error: 'Register' has not been declared void addActive(Register r, LIns* v) ^~~~~~~~ nanojit/RegAlloc.h:88:24: error: 'Register' has not been declared void useActive(Register r) ^~~~~~~~ nanojit/RegAlloc.h:95:27: error: 'Register' has not been declared void removeActive(Register r) ^~~~~~~~ nanojit/RegAlloc.h:105:21: error: 'Register' has not been declared void retire(Register r) ^~~~~~~~ nanojit/RegAlloc.h:113:29: error: 'Register' has not been declared int32_t getPriority(Register r) { ^~~~~~~~ nanojit/RegAlloc.h:118:15: error: expected ';' at end of member declaration LIns* getActive(Register r) const { ^~~~~~~~~ nanojit/RegAlloc.h:118:34: error: expected ')' before 'r' LIns* getActive(Register r) const { ^ nanojit/Assembler.h:438:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_exit(LIns* guard); ^~~~ LIns nanojit/Assembler.h:439:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_leave_trace(LIns* guard); ^~~~ LIns nanojit/Assembler.h:446:44: error: 'Register' has not been declared void asm_restore(LIns*, Register); ^~~~~~~~ nanojit/Assembler.h:452:35: error: 'Register' has not been declared void asm_spill(Register rr, int d, bool quad); ^~~~~~~~ nanojit/Assembler.h:484:40: error: 'Register' has not been declared void asm_nongp_copy(Register r, Register s); ^~~~~~~~ nanojit/Assembler.h:484:52: error: 'Register' has not been declared void asm_nongp_copy(Register r, Register s); ^~~~~~~~ nanojit/Assembler.h:486:13: error: 'Register' does not name a type; did you mean 'register'? Register asm_binop_rhs_reg(LIns* ins); ^~~~~~~~ register nanojit/RegAlloc.h:125:9: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask activeMask() const { ^~~~~~~~~~~~ register nanojit/RegAlloc.h:176:32: error: 'LastRegNum' was not declared in this scope LIns* active[LastRegNum + 1]; // active[REGNUM(r)] = LIns that defines r ^~~~~~~~~~ nanojit/Assembler.h:487:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_branch(bool branchOnFalse, LIns* cond, NIns* targ); ^~~~ LIns nanojit/Assembler.h:488:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_branch_ov(LOpcode op, NIns* targ); ^~~~ LIns nanojit/Assembler.h:489:47: error: 'NIns' has not been declared void asm_switch(LIns* ins, NIns* target); ^~~~ nanojit/Assembler.h:490:45: error: 'NIns' has not been declared void asm_jtbl(LIns* ins, NIns** table); ^~~~ nanojit/Assembler.h:492:55: error: 'NIns' has not been declared void emitJumpTable(SwitchInfo* si, NIns* target); ^~~~ nanojit/RegAlloc.h:177:32: error: 'LastRegNum' was not declared in this scope int32_t usepri[LastRegNum + 1]; // used priority. lower = more likely to spill. ^~~~~~~~~~ nanojit/Assembler.h:501:13: error: 'Register' does not name a type; did you mean 'register'? Register nRegisterAllocFromSet(RegisterMask set); ^~~~~~~~ register nanojit/Assembler.h:503:38: error: 'NIns' has not been declared void nPatchBranch(NIns* branch, NIns* location); ^~~~ nanojit/Assembler.h:503:52: error: 'NIns' has not been declared void nPatchBranch(NIns* branch, NIns* location); ^~~~ nanojit/Assembler.h:506:20: error: 'RegisterMask' does not name a type; did you mean 'register'? static RegisterMask nHints[LIR_sentinel+1]; ^~~~~~~~~~~~ register nanojit/RegAlloc.h:178:9: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask free; // Registers currently free. ^~~~~~~~~~~~ register nanojit/Assembler.h:507:13: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask nHint(LIns* ins); ^~~~~~~~~~~~ register nanojit/RegAlloc.h:179:9: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask managed; // Registers under management (invariant). ^~~~~~~~~~~~ register nanojit/RegAlloc.h:182:35: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_REGALLOC' with no type [-fpermissive] DECLARE_PLATFORM_REGALLOC() ^ nanojit/RegAlloc.h:182:35: error: expected ';' at end of member declaration nanojit/RegAlloc.h: In member function 'bool nanojit::RegAlloc::isFree(int) const': nanojit/RegAlloc.h:63:28: error: 'rmask' was not declared in this scope return (free & rmask(r)) != 0; ^~~~~ nanojit/Assembler.h:512:26: error: 'RegisterMask' does not name a type; did you mean 'register'? static const RegisterMask PREFER_SPECIAL = 0xffffffff; ^~~~~~~~~~~~ register nanojit/RegAlloc.h:63:28: note: suggested alternative: 'umask' return (free & rmask(r)) != 0; ^~~~~ umask nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::addFree(int)': nanojit/RegAlloc.h:69:21: error: 'rmask' was not declared in this scope free |= rmask(r); ^~~~~ nanojit/RegAlloc.h:69:21: note: suggested alternative: 'umask' free |= rmask(r); ^~~~~ umask nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::removeFree(int)': nanojit/RegAlloc.h:75:22: error: 'rmask' was not declared in this scope free &= ~rmask(r); ^~~~~ nanojit/Assembler.h:516:26: error: 'Register' does not name a type; did you mean 'register'? const static Register savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 ^~~~~~~~ register nanojit/Assembler.h:517:40: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_ASSEMBLER' with no type [-fpermissive] DECLARE_PLATFORM_ASSEMBLER() ^ nanojit/Assembler.h:517:40: error: expected ';' at end of member declaration nanojit/Assembler.h: In member function 'void nanojit::Assembler::evictAllActiveRegs()': nanojit/Assembler.h:331:38: error: 'RegisterMask' was not declared in this scope evictSomeActiveRegs(~RegisterMask(0)); ^~~~~~~~~~~~ nanojit/RegAlloc.h:75:22: note: suggested alternative: 'umask' free &= ~rmask(r); ^~~~~ umask nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::addActive(int, nanojit::LIns*)': nanojit/RegAlloc.h:84:13: error: 'active' was not declared in this scope active[REGNUM(r)] = v; ^~~~~~ nanojit/RegAlloc.h:84:13: note: suggested alternative: 'ctime' active[REGNUM(r)] = v; ^~~~~~ ctime nanojit/RegAlloc.h:84:20: error: 'REGNUM' was not declared in this scope active[REGNUM(r)] = v; ^~~~~~ nanojit/Assembler.h:331:38: note: suggested alternative: 'register' evictSomeActiveRegs(~RegisterMask(0)); ^~~~~~~~~~~~ register nanojit/Assembler.h: In member function 'bool nanojit::Assembler::deprecated_isKnownReg(int)': nanojit/Assembler.h:379:29: error: 'deprecated_UnknownReg' was not declared in this scope return r != deprecated_UnknownReg; ^~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::useActive(int)': nanojit/RegAlloc.h:92:13: error: 'usepri' was not declared in this scope usepri[REGNUM(r)] = priority++; ^~~~~~ nanojit/RegAlloc.h:92:13: note: suggested alternative: 'cuserid' usepri[REGNUM(r)] = priority++; ^~~~~~ cuserid nanojit/RegAlloc.h:92:20: error: 'REGNUM' was not declared in this scope usepri[REGNUM(r)] = priority++; ^~~~~~ nanojit/Assembler.h:379:29: note: suggested alternative: 'deprecated_isKnownReg' return r != deprecated_UnknownReg; ^~~~~~~~~~~~~~~~~~~~~ deprecated_isKnownReg nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::removeActive(int)': nanojit/RegAlloc.h:102:13: error: 'active' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/RegAlloc.h:102:13: note: suggested alternative: 'ctime' active[REGNUM(r)] = NULL; ^~~~~~ ctime nanojit/RegAlloc.h:102:20: error: 'REGNUM' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::retire(int)': nanojit/RegAlloc.h:109:13: error: 'active' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/RegAlloc.h:109:13: note: suggested alternative: 'ctime' active[REGNUM(r)] = NULL; ^~~~~~ ctime nanojit/RegAlloc.h:109:20: error: 'REGNUM' was not declared in this scope active[REGNUM(r)] = NULL; ^~~~~~ nanojit/RegAlloc.h:110:21: error: 'rmask' was not declared in this scope free |= rmask(r); ^~~~~ nanojit/RegAlloc.h:110:21: note: suggested alternative: 'umask' free |= rmask(r); ^~~~~ umask nanojit/RegAlloc.h: In member function 'int32_t nanojit::RegAlloc::getPriority(int)': nanojit/RegAlloc.h:115:20: error: 'usepri' was not declared in this scope return usepri[REGNUM(r)]; ^~~~~~ nanojit/RegAlloc.h:115:20: note: suggested alternative: 'cuserid' return usepri[REGNUM(r)]; ^~~~~~ cuserid nanojit/RegAlloc.h:115:27: error: 'REGNUM' was not declared in this scope return usepri[REGNUM(r)]; ^~~~~~ nanojit/RegAlloc.h: At global scope: nanojit/RegAlloc.h:186:12: error: 'Register' does not name a type; did you mean 'register'? inline Register lsReg(RegisterMask mask) { ^~~~~~~~ register nanojit/RegAlloc.h:194:12: error: 'Register' does not name a type; did you mean 'register'? inline Register msReg(RegisterMask mask) { ^~~~~~~~ register nanojit/RegAlloc.h:202:12: error: 'Register' does not name a type; did you mean 'register'? inline Register nextLsReg(RegisterMask& mask, Register r) { ^~~~~~~~ register nanojit/RegAlloc.h:207:12: error: 'Register' does not name a type; did you mean 'register'? inline Register nextMsReg(RegisterMask& mask, Register r) { ^~~~~~~~ register In file included from nanojit/nanojit.h:378:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Fragmento.h:63:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* code() { return _code; } ^~~~ LIns nanojit/Fragmento.h:64:37: error: 'NIns' has not been declared void setCode(NIns* codee) { _code = codee; } ^~~~ nanojit/Fragmento.h:72:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* fragEntry; ^~~~ LIns nanojit/Fragmento.h:86:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _code; // ptr to start of code ^~~~ LIns nanojit/Fragmento.h: In member function 'void nanojit::Fragment::setCode(int*)': nanojit/Fragmento.h:64:63: error: '_code' was not declared in this scope void setCode(NIns* codee) { _code = codee; } ^~~~~ nanojit/Fragmento.h:64:63: note: suggested alternative: 'codee' void setCode(NIns* codee) { _code = codee; } ^~~~~ codee In file included from nanojit/nanojit.h:379:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Assembler.h: At global scope: nanojit/Assembler.h:107:35: error: 'NJ_MAX_STACK_ENTRY' was not declared in this scope LIns* _entries[ NJ_MAX_STACK_ENTRY ]; /* maps to 4B contiguous locations relative to the frame pointer. ^~~~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:379:0, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Assembler.h: In constructor 'nanojit::AR::AR()': nanojit/Assembler.h:149:10: error: '_entries' was not declared in this scope _entries[0] = NULL; ^~~~~~~~ nanojit/Assembler.h: At global scope: nanojit/Assembler.h:202:24: error: 'NIns' was not declared in this scope typedef SeqBuilder NInsList; ^~~~ nanojit/Assembler.h:202:24: note: suggested alternative: 'LIns' typedef SeqBuilder NInsList; ^~~~ LIns nanojit/Assembler.h:202:29: error: template argument 1 is invalid typedef SeqBuilder NInsList; ^ nanojit/Assembler.h:203:21: error: 'NIns' was not declared in this scope typedef HashMap NInsMap; ^~~~ In file included from jsatom.cpp:65:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^~~~~~ nanojit/Assembler.h:203:21: note: suggested alternative: 'LIns' typedef HashMap NInsMap; ^~~~ LIns nanojit/Assembler.h:203:33: error: template argument 1 is invalid typedef HashMap NInsMap; ^ nanojit/Assembler.h:203:33: error: template argument 3 is invalid nanojit/Assembler.h:216:9: error: 'NIns' does not name a type; did you mean 'LIns'? NIns *addr; ^~~~ LIns nanojit/Assembler.h:217:25: error: expected ')' before '*' token LabelState(NIns *a, RegAlloc &r) : regs(r), addr(a) ^ nanojit/Assembler.h:230:31: error: 'NIns' has not been declared void add(LIns *label, NIns *addr, RegAlloc ®s); ^~~~ nanojit/Assembler.h:318:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* genPrologue(); ^~~~ LIns nanojit/Assembler.h:319:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* genEpilogue(); ^~~~ LIns nanojit/Assembler.h:325:13: error: 'Register' does not name a type; did you mean 'register'? Register registerAlloc(LIns* ins, RegisterMask allow, RegisterMask prefer); ^~~~~~~~ register nanojit/Assembler.h:326:13: error: 'Register' does not name a type; did you mean 'register'? Register registerAllocTmp(RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:333:45: error: 'RegisterMask' has not been declared void evictSomeActiveRegs(RegisterMask regs); ^~~~~~~~~~~~ nanojit/Assembler.h:334:48: error: 'RegisterMask' has not been declared void evictScratchRegsExcept(RegisterMask ignore); ^~~~~~~~~~~~ nanojit/Assembler.h:337:54: error: 'RegisterMask' has not been declared void assignSaved(RegAlloc &saved, RegisterMask skip); ^~~~~~~~~~~~ nanojit/Assembler.h:338:25: error: expected ';' at end of member declaration LIns* findVictim(RegisterMask allow); ^~~~~~~~~~ nanojit/Assembler.h:338:49: error: expected ')' before 'allow' LIns* findVictim(RegisterMask allow); ^~~~~ nanojit/Assembler.h:340:13: error: 'Register' does not name a type; did you mean 'register'? Register getBaseReg(LIns *ins, int &d, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:341:37: error: 'RegisterMask' has not been declared void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, ^~~~~~~~~~~~ nanojit/Assembler.h:341:75: error: 'Register' has not been declared void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, ^~~~~~~~ nanojit/Assembler.h:342:37: error: 'RegisterMask' has not been declared RegisterMask allowBase, LIns* base, Register& rb, int &d); ^~~~~~~~~~~~ nanojit/Assembler.h:342:73: error: 'Register' has not been declared RegisterMask allowBase, LIns* base, Register& rb, int &d); ^~~~~~~~ nanojit/Assembler.h:348:13: error: 'Register' does not name a type; did you mean 'register'? Register findRegFor(LIns* ins, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:349:37: error: 'RegisterMask' has not been declared void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, ^~~~~~~~~~~~ nanojit/Assembler.h:349:68: error: 'Register' has not been declared void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, ^~~~~~~~ nanojit/Assembler.h:350:37: error: 'RegisterMask' has not been declared RegisterMask allowb, LIns *ib, Register &rb); ^~~~~~~~~~~~ nanojit/Assembler.h:350:68: error: 'Register' has not been declared RegisterMask allowb, LIns *ib, Register &rb); ^~~~~~~~ nanojit/Assembler.h:351:13: error: 'Register' does not name a type; did you mean 'register'? Register findSpecificRegFor(LIns* ins, Register r); ^~~~~~~~ register nanojit/Assembler.h:352:13: error: 'Register' does not name a type; did you mean 'register'? Register findSpecificRegForUnallocated(LIns* ins, Register r); ^~~~~~~~ register nanojit/Assembler.h:353:13: error: 'Register' does not name a type; did you mean 'register'? Register deprecated_prepResultReg(LIns *ins, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:354:13: error: 'Register' does not name a type; did you mean 'register'? Register prepareResultReg(LIns *ins, RegisterMask allow); ^~~~~~~~ register nanojit/Assembler.h:357:39: error: 'Register' has not been declared void evictIfActive(Register r); ^~~~~~~~ nanojit/Assembler.h:359:13: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask hint(LIns* ins); ^~~~~~~~~~~~ register nanojit/Assembler.h:363:35: error: 'NIns' has not been declared void codeAlloc(NIns *&start, NIns *&end, NIns *&eip ^~~~ nanojit/Assembler.h:363:49: error: 'NIns' has not been declared void codeAlloc(NIns *&start, NIns *&end, NIns *&eip ^~~~ nanojit/Assembler.h:363:61: error: 'NIns' has not been declared void codeAlloc(NIns *&start, NIns *&end, NIns *&eip ^~~~ nanojit/Assembler.h:378:40: error: 'Register' has not been declared bool deprecated_isKnownReg(Register r) { ^~~~~~~~ nanojit/Assembler.h:405:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns *codeStart, *codeEnd; // current normal code chunk ^~~~ LIns nanojit/Assembler.h:406:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns *exitStart, *exitEnd; // current exit code chunk ^~~~ LIns nanojit/Assembler.h:407:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _nIns; // current instruction in current normal code chunk ^~~~ LIns nanojit/Assembler.h:408:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _nExitIns; // current instruction in current exit code chunk ^~~~ LIns nanojit/Assembler.h:419:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* _epilogue; ^~~~ LIns nanojit/Assembler.h:432:33: error: 'Register' has not been declared void asm_mmq(Register rd, int dd, Register rs, int ds); ^~~~~~~~ nanojit/Assembler.h:432:54: error: 'Register' has not been declared void asm_mmq(Register rd, int dd, Register rs, int ds); ^~~~~~~~ nanojit/Assembler.h:438:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_exit(LIns* guard); ^~~~ LIns In file included from jsatom.cpp:51:0: jsatom.cpp: In member function 'JSAtomListElement* JSAtomList::add(js::Parser*, JSAtom*, JSAtomList::AddHow)': jsatom.h:158:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ALE_SET_INDEX(ale,index)((ale)->entry.value = (void *)(index)) ^ jsatom.cpp:864:9: note: in expansion of macro 'ALE_SET_INDEX' ALE_SET_INDEX(ale, count++); ^~~~~~~~~~~~~ nanojit/Assembler.h:439:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_leave_trace(LIns* guard); ^~~~ LIns nanojit/Assembler.h:446:44: error: 'Register' has not been declared void asm_restore(LIns*, Register); ^~~~~~~~ nanojit/Assembler.h:452:35: error: 'Register' has not been declared void asm_spill(Register rr, int d, bool quad); ^~~~~~~~ nanojit/Assembler.h:484:40: error: 'Register' has not been declared void asm_nongp_copy(Register r, Register s); ^~~~~~~~ nanojit/Assembler.h:484:52: error: 'Register' has not been declared void asm_nongp_copy(Register r, Register s); ^~~~~~~~ nanojit/Assembler.h:486:13: error: 'Register' does not name a type; did you mean 'register'? Register asm_binop_rhs_reg(LIns* ins); ^~~~~~~~ register nanojit/Assembler.h:487:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_branch(bool branchOnFalse, LIns* cond, NIns* targ); ^~~~ LIns nanojit/Assembler.h:488:13: error: 'NIns' does not name a type; did you mean 'LIns'? NIns* asm_branch_ov(LOpcode op, NIns* targ); ^~~~ LIns nanojit/Assembler.h:489:47: error: 'NIns' has not been declared void asm_switch(LIns* ins, NIns* target); ^~~~ nanojit/Assembler.h:490:45: error: 'NIns' has not been declared void asm_jtbl(LIns* ins, NIns** table); ^~~~ nanojit/Assembler.h:492:55: error: 'NIns' has not been declared void emitJumpTable(SwitchInfo* si, NIns* target); ^~~~ nanojit/Assembler.h:501:13: error: 'Register' does not name a type; did you mean 'register'? Register nRegisterAllocFromSet(RegisterMask set); ^~~~~~~~ register nanojit/Assembler.h:503:38: error: 'NIns' has not been declared void nPatchBranch(NIns* branch, NIns* location); ^~~~ nanojit/Assembler.h:503:52: error: 'NIns' has not been declared void nPatchBranch(NIns* branch, NIns* location); ^~~~ nanojit/Assembler.h:506:20: error: 'RegisterMask' does not name a type; did you mean 'register'? static RegisterMask nHints[LIR_sentinel+1]; ^~~~~~~~~~~~ register nanojit/Assembler.h:507:13: error: 'RegisterMask' does not name a type; did you mean 'register'? RegisterMask nHint(LIns* ins); ^~~~~~~~~~~~ register nanojit/Assembler.h:512:26: error: 'RegisterMask' does not name a type; did you mean 'register'? static const RegisterMask PREFER_SPECIAL = 0xffffffff; ^~~~~~~~~~~~ register nanojit/Assembler.h:516:26: error: 'Register' does not name a type; did you mean 'register'? const static Register savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 ^~~~~~~~ register nanojit/Assembler.h:517:40: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_ASSEMBLER' with no type [-fpermissive] DECLARE_PLATFORM_ASSEMBLER() ^ nanojit/Assembler.h:517:40: error: expected ';' at end of member declaration nanojit/Assembler.h: In member function 'void nanojit::Assembler::evictAllActiveRegs()': nanojit/Assembler.h:331:38: error: 'RegisterMask' was not declared in this scope evictSomeActiveRegs(~RegisterMask(0)); ^~~~~~~~~~~~ nanojit/Assembler.h:331:38: note: suggested alternative: 'register' evictSomeActiveRegs(~RegisterMask(0)); ^~~~~~~~~~~~ register nanojit/Assembler.h: In member function 'bool nanojit::Assembler::deprecated_isKnownReg(int)': nanojit/Assembler.h:379:29: error: 'deprecated_UnknownReg' was not declared in this scope return r != deprecated_UnknownReg; ^~~~~~~~~~~~~~~~~~~~~ nanojit/Assembler.h:379:29: note: suggested alternative: 'deprecated_isKnownReg' return r != deprecated_UnknownReg; ^~~~~~~~~~~~~~~~~~~~~ deprecated_isKnownReg In file included from jstracer.h:56:0, from jsarray.cpp:90: ./dist/include/Writer.h: In member function 'nanojit::LIns* js::tjit::Writer::getObjPrivatizedSlot(nanojit::LIns*, uint32) const': ./dist/include/Writer.h:1193:44: error: 'LIR_ldq' is not a member of 'js::tjit::nj' nj::LIns *v_ins = lir->insLoad(nj::LIR_ldq, vaddr_ins, ^~~~~~~ ./dist/include/Writer.h:1193:44: note: suggested alternative: 'LIR_ldp' nj::LIns *v_ins = lir->insLoad(nj::LIR_ldq, vaddr_ins, ^~~~~~~ LIR_ldp ./dist/include/Writer.h:1196:16: error: 'lshqN' was not declared in this scope return lshqN(v_ins, 1); ^~~~~ ./dist/include/Writer.h:1196:16: note: suggested alternative: 'lshpN' return lshqN(v_ins, 1); ^~~~~ lshpN distcc[10342] ERROR: compile jsatom.cpp on localhost failed gmake[1]: *** [config/rules.mk:1477: jsatom.o] Error 1 In file included from jsarray.cpp:110:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^~~~~~ In file included from jstracer.h:48:0, from jsarray.cpp:90: jsarray.cpp: At global scope: jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js_EnsureDenseArrayCapacity' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:120:37: error: 'ARGTYPE_Q' is not a member of 'nanojit' #define _JS_U64_ARGTYPE nanojit::ARGTYPE_Q ^ jsbuiltins.h:294:29: note: in definition of macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~ jsbuiltins.h:263:41: note: in expansion of macro '_JS_U64_ARGTYPE' #define _JS_CTYPE_ARGTYPE2(t,s,p,a,f) s##_ARGTYPE ^ jsbuiltins.h:257:29: note: in expansion of macro '_JS_CTYPE_ARGTYPE2' #define _JS_EXPAND(tokens) tokens ^~~~~~ jsbuiltins.h:264:41: note: in expansion of macro '_JS_EXPAND' #define _JS_CTYPE_ARGTYPE(tyname) _JS_EXPAND(_JS_CTYPE_ARGTYPE2 _JS_CTYPE_##tyname) ^~~~~~~~~~ jsbuiltins.h:254:37: note: in expansion of macro '_JS_CTYPE' # define _JS_CTYPE_VALUE _JS_CTYPE(js::ValueArgType, _JS_U64, "","v", INFALLIBLE) ^~~~~~~~~ jsbuiltins.h:264:71: note: in expansion of macro '_JS_CTYPE_VALUE' #define _JS_CTYPE_ARGTYPE(tyname) _JS_EXPAND(_JS_CTYPE_ARGTYPE2 _JS_CTYPE_##tyname) ^~~~~~~~~~ jsbuiltins.h:358:53: note: in expansion of macro '_JS_CTYPE_ARGTYPE' _JS_CTYPE_ARGTYPE(at2)), \ ^~~~~~~~~~~~~~~~~ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:120:37: note: suggested alternative: 'ARGTYPE_B' #define _JS_U64_ARGTYPE nanojit::ARGTYPE_Q ^ jsbuiltins.h:294:29: note: in definition of macro '_JS_DEFINE_CALLINFO' { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ ^~~~~~~~ jsbuiltins.h:263:41: note: in expansion of macro '_JS_U64_ARGTYPE' #define _JS_CTYPE_ARGTYPE2(t,s,p,a,f) s##_ARGTYPE ^ jsbuiltins.h:257:29: note: in expansion of macro '_JS_CTYPE_ARGTYPE2' #define _JS_EXPAND(tokens) tokens ^~~~~~ jsbuiltins.h:264:41: note: in expansion of macro '_JS_EXPAND' #define _JS_CTYPE_ARGTYPE(tyname) _JS_EXPAND(_JS_CTYPE_ARGTYPE2 _JS_CTYPE_##tyname) ^~~~~~~~~~ jsbuiltins.h:254:37: note: in expansion of macro '_JS_CTYPE' # define _JS_CTYPE_VALUE _JS_CTYPE(js::ValueArgType, _JS_U64, "","v", INFALLIBLE) ^~~~~~~~~ jsbuiltins.h:264:71: note: in expansion of macro '_JS_CTYPE_VALUE' #define _JS_CTYPE_ARGTYPE(tyname) _JS_EXPAND(_JS_CTYPE_ARGTYPE2 _JS_CTYPE_##tyname) ^~~~~~~~~~ jsbuiltins.h:358:53: note: in expansion of macro '_JS_CTYPE_ARGTYPE' _JS_CTYPE_ARGTYPE(at2)), \ ^~~~~~~~~~~~~~~~~ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, ^~~~~~~~~~~~~~~~~~~~ In file included from jstracer.h:56:0, from jsapi.cpp:84: ./dist/include/Writer.h: In member function 'nanojit::LIns* js::tjit::Writer::getObjPrivatizedSlot(nanojit::LIns*, uint32) const': ./dist/include/Writer.h:1193:44: error: 'LIR_ldq' is not a member of 'js::tjit::nj' nj::LIns *v_ins = lir->insLoad(nj::LIR_ldq, vaddr_ins, ^~~~~~~ ./dist/include/Writer.h:1193:44: note: suggested alternative: 'LIR_ldp' nj::LIns *v_ins = lir->insLoad(nj::LIR_ldq, vaddr_ins, ^~~~~~~ LIR_ldp ./dist/include/Writer.h:1196:16: error: 'lshqN' was not declared in this scope return lshqN(v_ins, 1); ^~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseEmptyArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:341:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' JS_DEFINE_CALLINFO_2(extern, OBJECT, NewDenseEmptyArray, CONTEXT, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseAllocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseAllocatedArray, CONTEXT, UINT32, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~ jsbuiltins.h:294:11: warning: narrowing conversion of '(intptr_t)js::NewDenseUnallocatedArray' from 'intptr_t {aka long int}' to 'uintptr_t {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \ jsbuiltins.h:350:5: note: in expansion of macro '_JS_DEFINE_CALLINFO' _JS_DEFINE_CALLINFO(linkage, op, \ ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, ^~~~~~~~~~~~~~~~~~~~ ./dist/include/Writer.h:1196:16: note: suggested alternative: 'lshpN' return lshqN(v_ins, 1); ^~~~~ lshpN In file included from jsapi.cpp:94:0: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] setPrivate((void*) length); ^~~~~~ distcc[1088] ERROR: compile jsarray.cpp on localhost failed gmake[1]: *** [config/rules.mk:1477: jsarray.o] Error 1 jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: warning: converting 'false' to pointer type 'JSIdArray*' [-Wconversion-null] return false; ^~~~~ distcc[26795] ERROR: compile jsapi.cpp on localhost failed gmake[1]: *** [config/rules.mk:1477: jsapi.o] Error 1 gmake[1]: Leaving directory '/tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src' gmake: *** [config/rules.mk:754: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/spidermonkey185 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/spidermonkey185