=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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.5nb8 /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 pathsub.c exec sh ../build/unix/print-failed-commands.sh 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 -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 exec sh ../build/unix/print-failed-commands.sh 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 -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 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 -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 -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=\"NetBSD10\" -DOSARCH=NetBSD -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/usr/pkg/include/nspr -o jscpucfg jscpucfg.cpp jskwgen.cpp exec sh ./build/unix/print-failed-commands.sh 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 -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 -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 exec sh ./build/unix/print-failed-commands.sh 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 -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 -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 exec sh ./build/unix/print-failed-commands.sh c++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD10\" -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 -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 exec sh ./build/unix/print-failed-commands.sh c++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD10\" -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 -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 jsarena.cpp exec sh ./build/unix/print-failed-commands.sh c++ -o jsarena.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD10\" -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 -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 In file included from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" 62 | #error "unknown nanojit architecture" | ^~~~~ In file included from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" 72 | #error "unknown nanojit architecture" | ^~~~~ distcc[29901] ERROR: compile jsapi.cpp on 10.0.20.122:3742 failed distcc[29901] (dcc_build_somewhere) Warning: remote compilation of 'jsapi.cpp' failed, retrying locally distcc[29901] Warning: failed to distribute jsapi.cpp to 10.0.20.122:3742, running locally instead jsarray.cpp exec sh ./build/unix/print-failed-commands.sh c++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE=\"NetBSD10\" -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 -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 distcc[29170] (dcc_build_somewhere) Warning: failed to distribute, running locally instead distcc[25667] ERROR: compile jsanalyze.cpp on 10.0.20.122:3742 failed distcc[25667] (dcc_build_somewhere) Warning: remote compilation of 'jsanalyze.cpp' failed, retrying locally distcc[25667] Warning: failed to distribute jsanalyze.cpp to 10.0.20.122:3742, running locally instead In file included from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" 62 | #error "unknown nanojit architecture" | ^~~~~ In file included from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" 72 | #error "unknown nanojit architecture" | ^~~~~ In file included from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/nanojit.h:62:6: error: #error "unknown nanojit architecture" 62 | #error "unknown nanojit architecture" | ^~~~~ In file included from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Native.h:72:2: error: #error "unknown nanojit architecture" 72 | #error "unknown nanojit architecture" | ^~~~~ In file included from jsval.h:48, 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] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsatom.h:47, 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] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsarray.cpp:84: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsapi.cpp:52: jsutil.h: In function 'T* js_array_new(size_t)': jsutil.h:302:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 302 | if (!memory) | ^~ jsutil.h:304:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 304 | *(size_t *)memory = n; | ^ In file included from jsapi.cpp:56: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsobj.h:64, 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' 732 | return &data.s.payload.word; | ^~~~ In file included from jsarray.cpp:85: jsapi.h: At global scope: jsapi.h:1381:39: warning: ignoring attributes on template argument 'jsval' {aka 'long unsigned int'} [-Wignored-attributes] 1381 | template<> class AnchorPermitted { }; | ^ In file included from jsobj.h:64, 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' 732 | return &data.s.payload.word; | ^~~~ In file included from jsobj.h:64, 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' 732 | return &data.s.payload.word; | ^~~~ In file included from jsval.h:48, from jspubtd.h:47, from jsprvtd.h:57, from jscntxt.h:55, from jsanalyze.h:45, from jsanalyze.cpp:40: jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]': jsanalyze.h:87:21: required from here jsutil.h:422:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] 422 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from jsanalyze.cpp:40: jsanalyze.h:56:8: note: 'struct js::analyze::Bytecode' declared here 56 | struct Bytecode | ^~~~~~~~ In file included from nanojit/nanojit.h:375, 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 76 | NIns* end; // points just past the end | ^~~~ nanojit/CodeAlloc.h:81:9: error: 'NIns' does not name a type 81 | NIns code[1]; // more follows | ^~~~ nanojit/CodeAlloc.h:84:9: error: 'NIns' does not name a type 84 | NIns* start() { return &code[0]; } | ^~~~ nanojit/CodeAlloc.h:94:24: error: 'NIns' has not been declared 94 | 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 87 | size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } | ^~~ nanojit/CodeAlloc.h:87:66: error: 'code' was not declared in this scope 87 | size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } | ^~~~ 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 90 | size_t blockSize() const { return uintptr_t(end) - uintptr_t(this); } | ^~~ 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' 94 | 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' 94 | bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } | ^~~ In file included from jstypes.h:57, from jsarray.cpp:82: nanojit/CodeAlloc.h: At global scope: nanojit/CodeAlloc.h:119:65: error: 'class nanojit::CodeList' has no member named 'code' 119 | static const size_t sizeofMinBlock = offsetof(CodeList, code); | ^~~~ distcc[25667] ERROR: compile jsanalyze.cpp on localhost failed In the directory /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src The following command failed to execute properly: c++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE="NetBSD10" -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 -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 gmake[1]: *** [config/rules.mk:1477: jsanalyze.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from nanojit/nanojit.h:375, 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 76 | NIns* end; // points just past the end | ^~~~ nanojit/CodeAlloc.h:81:9: error: 'NIns' does not name a type 81 | NIns code[1]; // more follows | ^~~~ nanojit/CodeAlloc.h:84:9: error: 'NIns' does not name a type 84 | NIns* start() { return &code[0]; } | ^~~~ nanojit/CodeAlloc.h:94:24: error: 'NIns' has not been declared 94 | 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 87 | size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } | ^~~ nanojit/CodeAlloc.h:87:66: error: 'code' was not declared in this scope 87 | size_t size() const { return uintptr_t(end) - uintptr_t(&code[0]); } | ^~~~ 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 90 | size_t blockSize() const { return uintptr_t(end) - uintptr_t(this); } | ^~~ 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' 94 | 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' 94 | bool isInBlock(NIns* n) { return (n >= this->start() && n < this->end); } | ^~~ In file included from jstypes.h:57, from jsapi.cpp:49: nanojit/CodeAlloc.h: At global scope: nanojit/CodeAlloc.h:119:65: error: 'class nanojit::CodeList' has no member named 'code' 119 | static const size_t sizeofMinBlock = offsetof(CodeList, code); | ^~~~ In file included from nanojit/nanojit.h:375, 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 120 | static const size_t minAllocSize = LARGEST_UNDERRUN_PROT; | ^~~~~~~~~~~~~~~~~~~~~ nanojit/CodeAlloc.h:150:26: error: expected ';' at end of member declaration 150 | static CodeList* getBlock(NIns* start, NIns* end); | ^~~~~~~~ | ; nanojit/CodeAlloc.h:150:39: error: expected ')' before '*' token 150 | static CodeList* getBlock(NIns* start, NIns* end); | ~ ^ | ) In file included from nanojit/nanojit.h:375, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/CodeAlloc.h:191:20: error: 'NIns' has not been declared 191 | void alloc(NIns* &start, NIns* &end, size_t byteLimit); | ^~~~ nanojit/CodeAlloc.h:191:34: error: 'NIns' has not been declared 191 | void alloc(NIns* &start, NIns* &end, size_t byteLimit); | ^~~~ nanojit/CodeAlloc.h:194:19: error: 'NIns' has not been declared 194 | void free(NIns* start, NIns* end); | ^~~~ nanojit/CodeAlloc.h:194:32: error: 'NIns' has not been declared 194 | void free(NIns* start, NIns* end); | ^~~~ nanojit/CodeAlloc.h:207:44: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:207:57: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:207:68: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:207:85: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:210:42: error: 'NIns' has not been declared 210 | static void add(CodeList* &code, NIns* start, NIns* end); | ^~~~ nanojit/CodeAlloc.h:210:55: error: 'NIns' has not been declared 210 | static void add(CodeList* &code, NIns* start, NIns* end); | ^~~~ In file included from nanojit/nanojit.h:376, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/LIR.h:418:9: error: 'NIns' does not name a type 418 | NIns** table; // Jump table; a jump address is NIns* | ^~~~ nanojit/LIR.h:538:12: error: 'RegisterMask' does not name a type 538 | inline RegisterMask rmask(Register r) | ^~~~~~~~~~~~ nanojit/LIR.h:753:9: error: 'Register' does not name a type; did you mean 'register'? 753 | Register deprecated_getReg() { | ^~~~~~~~ | register nanojit/LIR.h:779:26: error: 'RegisterMask' has not been declared 779 | bool isInRegMask(RegisterMask allow) { | ^~~~~~~~~~~~ nanojit/LIR.h:782:9: error: 'Register' does not name a type; did you mean 'register'? 782 | Register getReg() { | ^~~~~~~~ | register nanojit/LIR.h:787:21: error: 'Register' has not been declared 787 | 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; did you mean 'setReg'? 780 | return isInReg() && (rmask(getReg()) & allow); | ^~~~~~ | setReg In file included from nanojit/nanojit.h:375, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/CodeAlloc.h:120:44: error: 'LARGEST_UNDERRUN_PROT' was not declared in this scope 120 | static const size_t minAllocSize = LARGEST_UNDERRUN_PROT; | ^~~~~~~~~~~~~~~~~~~~~ nanojit/CodeAlloc.h:150:26: error: expected ';' at end of member declaration 150 | static CodeList* getBlock(NIns* start, NIns* end); | ^~~~~~~~ | ; nanojit/CodeAlloc.h:150:39: error: expected ')' before '*' token 150 | static CodeList* getBlock(NIns* start, NIns* end); | ~ ^ | ) In file included from nanojit/nanojit.h:375, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/CodeAlloc.h:191:20: error: 'NIns' has not been declared 191 | void alloc(NIns* &start, NIns* &end, size_t byteLimit); | ^~~~ nanojit/CodeAlloc.h:191:34: error: 'NIns' has not been declared 191 | void alloc(NIns* &start, NIns* &end, size_t byteLimit); | ^~~~ nanojit/CodeAlloc.h:194:19: error: 'NIns' has not been declared 194 | void free(NIns* start, NIns* end); | ^~~~ nanojit/CodeAlloc.h:194:32: error: 'NIns' has not been declared 194 | void free(NIns* start, NIns* end); | ^~~~ nanojit/CodeAlloc.h:207:44: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:207:57: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:207:68: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:207:85: error: 'NIns' has not been declared 207 | void addRemainder(CodeList* &code, NIns* start, NIns* end, NIns* holeStart, NIns* holeEnd); | ^~~~ nanojit/CodeAlloc.h:210:42: error: 'NIns' has not been declared 210 | static void add(CodeList* &code, NIns* start, NIns* end); | ^~~~ nanojit/CodeAlloc.h:210:55: error: 'NIns' has not been declared 210 | static void add(CodeList* &code, NIns* start, NIns* end); | ^~~~ In file included from nanojit/nanojit.h:376, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/LIR.h:418:9: error: 'NIns' does not name a type 418 | NIns** table; // Jump table; a jump address is NIns* | ^~~~ nanojit/LIR.h:538:12: error: 'RegisterMask' does not name a type 538 | inline RegisterMask rmask(Register r) | ^~~~~~~~~~~~ nanojit/LIR.h:753:9: error: 'Register' does not name a type; did you mean 'register'? 753 | Register deprecated_getReg() { | ^~~~~~~~ | register nanojit/LIR.h:779:26: error: 'RegisterMask' has not been declared 779 | bool isInRegMask(RegisterMask allow) { | ^~~~~~~~~~~~ nanojit/LIR.h:782:9: error: 'Register' does not name a type; did you mean 'register'? 782 | Register getReg() { | ^~~~~~~~ | register nanojit/LIR.h:787:21: error: 'Register' has not been declared 787 | 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; did you mean 'setReg'? 780 | return isInReg() && (rmask(getReg()) & allow); | ^~~~~~ | setReg nanojit/LIR.h:780:34: error: 'rmask' was not declared in this scope; did you mean 'umask'? 780 | return isInReg() && (rmask(getReg()) & allow); | ^~~~~ | umask nanojit/LIR.h:780:34: error: 'rmask' was not declared in this scope 780 | 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 789 | sharedFields.regnum = REGNUM(r); | ^~~~~~ nanojit/LIR.h: In member function 'void* nanojit::LIns::immP() const': nanojit/LIR.h:1040:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1040 | return (void*)immI(); | ^~~~~~~~~~~~~ nanojit/LIR.h: In member function 'nanojit::LIns* nanojit::LirWriter::insImmP(const void*)': nanojit/LIR.h:1614:28: error: cast from 'const void*' to 'int32_t' {aka 'int'} loses precision [-fpermissive] 1614 | return insImmI((int32_t)ptr); | ^~~~~~~~~~~~ nanojit/LIR.h: At global scope: nanojit/LIR.h:2129:29: error: 'NumSavedRegs' was not declared in this scope 2129 | LIns* savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 | ^~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jstracer.h:48, from jsarray.cpp:90: nanojit/RegAlloc.h:60:21: error: 'Register' has not been declared 60 | bool isFree(Register r) const | ^~~~~~~~ nanojit/RegAlloc.h:66:22: error: 'Register' has not been declared 66 | void addFree(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:72:25: error: 'Register' has not been declared 72 | void removeFree(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:78:24: error: 'Register' has not been declared 78 | void addActive(Register r, LIns* v) | ^~~~~~~~ nanojit/RegAlloc.h:88:24: error: 'Register' has not been declared 88 | void useActive(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:95:27: error: 'Register' has not been declared 95 | void removeActive(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:105:21: error: 'Register' has not been declared 105 | void retire(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:113:29: error: 'Register' has not been declared 113 | int32_t getPriority(Register r) { | ^~~~~~~~ nanojit/RegAlloc.h:118:15: error: expected ';' at end of member declaration 118 | LIns* getActive(Register r) const { | ^~~~~~~~~ | ; nanojit/RegAlloc.h:118:33: error: expected ')' before 'r' 118 | LIns* getActive(Register r) const { | ~ ^~ | ) nanojit/RegAlloc.h:125:9: error: 'RegisterMask' does not name a type 125 | RegisterMask activeMask() const { | ^~~~~~~~~~~~ nanojit/LIR.h: In member function 'void nanojit::LIns::setReg(int)': nanojit/LIR.h:789:35: error: 'REGNUM' was not declared in this scope 789 | sharedFields.regnum = REGNUM(r); | ^~~~~~ nanojit/LIR.h: In member function 'void* nanojit::LIns::immP() const': nanojit/LIR.h:1040:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1040 | return (void*)immI(); | ^~~~~~~~~~~~~ nanojit/LIR.h: In member function 'nanojit::LIns* nanojit::LirWriter::insImmP(const void*)': nanojit/LIR.h:1614:28: error: cast from 'const void*' to 'int32_t' {aka 'int'} loses precision [-fpermissive] 1614 | return insImmI((int32_t)ptr); | ^~~~~~~~~~~~ nanojit/LIR.h: At global scope: nanojit/LIR.h:2129:29: error: 'NumSavedRegs' was not declared in this scope 2129 | LIns* savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 | ^~~~~~~~~~~~ In file included from nanojit/nanojit.h:377, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/RegAlloc.h:60:21: error: 'Register' has not been declared 60 | bool isFree(Register r) const | ^~~~~~~~ nanojit/RegAlloc.h:66:22: error: 'Register' has not been declared 66 | void addFree(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:72:25: error: 'Register' has not been declared 72 | void removeFree(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:78:24: error: 'Register' has not been declared 78 | void addActive(Register r, LIns* v) | ^~~~~~~~ nanojit/RegAlloc.h:88:24: error: 'Register' has not been declared 88 | void useActive(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:95:27: error: 'Register' has not been declared 95 | void removeActive(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:105:21: error: 'Register' has not been declared 105 | void retire(Register r) | ^~~~~~~~ nanojit/RegAlloc.h:113:29: error: 'Register' has not been declared 113 | int32_t getPriority(Register r) { | ^~~~~~~~ nanojit/RegAlloc.h:118:15: error: expected ';' at end of member declaration 118 | LIns* getActive(Register r) const { | ^~~~~~~~~ | ; nanojit/RegAlloc.h:118:33: error: expected ')' before 'r' 118 | LIns* getActive(Register r) const { | ~ ^~ | ) nanojit/RegAlloc.h:125:9: error: 'RegisterMask' does not name a type 125 | RegisterMask activeMask() const { | ^~~~~~~~~~~~ nanojit/RegAlloc.h:176:32: error: 'LastRegNum' was not declared in this scope 176 | LIns* active[LastRegNum + 1]; // active[REGNUM(r)] = LIns that defines r | ^~~~~~~~~~ nanojit/RegAlloc.h:177:32: error: 'LastRegNum' was not declared in this scope 177 | int32_t usepri[LastRegNum + 1]; // used priority. lower = more likely to spill. | ^~~~~~~~~~ nanojit/RegAlloc.h:178:9: error: 'RegisterMask' does not name a type 178 | RegisterMask free; // Registers currently free. | ^~~~~~~~~~~~ nanojit/RegAlloc.h:179:9: error: 'RegisterMask' does not name a type 179 | RegisterMask managed; // Registers under management (invariant). | ^~~~~~~~~~~~ nanojit/RegAlloc.h:182:9: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_REGALLOC' with no type [-fpermissive] 182 | DECLARE_PLATFORM_REGALLOC() | ^~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h:182:35: error: expected ';' at end of member declaration 182 | DECLARE_PLATFORM_REGALLOC() | ^ | ; 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 63 | 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 69 | 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 75 | 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; did you mean 'addActive'? 84 | active[REGNUM(r)] = v; | ^~~~~~ | addActive nanojit/RegAlloc.h:84:20: error: 'REGNUM' was not declared in this scope 84 | 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 92 | usepri[REGNUM(r)] = priority++; | ^~~~~~ nanojit/RegAlloc.h:92:20: error: 'REGNUM' was not declared in this scope 92 | 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; did you mean 'addActive'? 102 | active[REGNUM(r)] = NULL; | ^~~~~~ | addActive nanojit/RegAlloc.h:102:20: error: 'REGNUM' was not declared in this scope 102 | active[REGNUM(r)] = NULL; | ^~~~~~ nanojit/RegAlloc.h:176:32: error: 'LastRegNum' was not declared in this scope 176 | LIns* active[LastRegNum + 1]; // active[REGNUM(r)] = LIns that defines r | ^~~~~~~~~~ nanojit/RegAlloc.h:177:32: error: 'LastRegNum' was not declared in this scope 177 | int32_t usepri[LastRegNum + 1]; // used priority. lower = more likely to spill. | ^~~~~~~~~~ nanojit/RegAlloc.h: In member function 'void nanojit::RegAlloc::retire(int)': nanojit/RegAlloc.h:109:13: error: 'active' was not declared in this scope; did you mean 'addActive'? 109 | active[REGNUM(r)] = NULL; | ^~~~~~ | addActive nanojit/RegAlloc.h:109:20: error: 'REGNUM' was not declared in this scope 109 | active[REGNUM(r)] = NULL; | ^~~~~~ nanojit/RegAlloc.h:110:21: error: 'rmask' was not declared in this scope 110 | free |= rmask(r); | ^~~~~ 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 115 | return usepri[REGNUM(r)]; | ^~~~~~ nanojit/RegAlloc.h:115:27: error: 'REGNUM' was not declared in this scope 115 | 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'? 186 | inline Register lsReg(RegisterMask mask) { | ^~~~~~~~ | register nanojit/RegAlloc.h:194:12: error: 'Register' does not name a type; did you mean 'register'? 194 | inline Register msReg(RegisterMask mask) { | ^~~~~~~~ | register nanojit/RegAlloc.h:202:12: error: 'Register' does not name a type; did you mean 'register'? 202 | inline Register nextLsReg(RegisterMask& mask, Register r) { | ^~~~~~~~ | register nanojit/RegAlloc.h:207:12: error: 'Register' does not name a type; did you mean 'register'? 207 | inline Register nextMsReg(RegisterMask& mask, Register r) { | ^~~~~~~~ | register In file included from nanojit/nanojit.h:378, 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'? 63 | NIns* code() { return _code; } | ^~~~ | LIns nanojit/Fragmento.h:64:37: error: 'NIns' has not been declared 64 | void setCode(NIns* codee) { _code = codee; } | ^~~~ nanojit/Fragmento.h:72:13: error: 'NIns' does not name a type; did you mean 'LIns'? 72 | NIns* fragEntry; | ^~~~ | LIns nanojit/Fragmento.h:86:13: error: 'NIns' does not name a type; did you mean 'LIns'? 86 | 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 64 | void setCode(NIns* codee) { _code = codee; } | ^~~~~ In file included from nanojit/nanojit.h:379, 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 107 | LIns* _entries[ NJ_MAX_STACK_ENTRY ]; /* maps to 4B contiguous locations relative to the frame pointer. | ^~~~~~~~~~~~~~~~~~ In file included from nanojit/nanojit.h:379, 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 149 | _entries[0] = NULL; | ^~~~~~~~ nanojit/Assembler.h: At global scope: nanojit/Assembler.h:202:24: error: 'NIns' was not declared in this scope; did you mean 'LIns'? 202 | typedef SeqBuilder NInsList; | ^~~~ | LIns nanojit/Assembler.h:202:29: error: template argument 1 is invalid 202 | typedef SeqBuilder NInsList; | ^ nanojit/Assembler.h:203:21: error: 'NIns' was not declared in this scope; did you mean 'LIns'? 203 | typedef HashMap NInsMap; | ^~~~ | LIns nanojit/Assembler.h:203:33: error: template argument 1 is invalid 203 | typedef HashMap NInsMap; | ^ nanojit/Assembler.h:203:33: error: template argument 3 is invalid nanojit/RegAlloc.h:178:9: error: 'RegisterMask' does not name a type 178 | RegisterMask free; // Registers currently free. | ^~~~~~~~~~~~ nanojit/RegAlloc.h:179:9: error: 'RegisterMask' does not name a type 179 | RegisterMask managed; // Registers under management (invariant). | ^~~~~~~~~~~~ nanojit/RegAlloc.h:182:9: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_REGALLOC' with no type [-fpermissive] 182 | DECLARE_PLATFORM_REGALLOC() | ^~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/RegAlloc.h:182:35: error: expected ';' at end of member declaration 182 | DECLARE_PLATFORM_REGALLOC() | ^ | ; 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; did you mean 'umask'? 63 | 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; did you mean 'umask'? 69 | 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; did you mean 'umask'? 75 | 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; did you mean 'ctime'? 84 | active[REGNUM(r)] = v; | ^~~~~~ | ctime nanojit/RegAlloc.h:84:20: error: 'REGNUM' was not declared in this scope 84 | 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 92 | usepri[REGNUM(r)] = priority++; | ^~~~~~ nanojit/RegAlloc.h:92:20: error: 'REGNUM' was not declared in this scope 92 | 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; did you mean 'ctime'? 102 | active[REGNUM(r)] = NULL; | ^~~~~~ | ctime nanojit/RegAlloc.h:102:20: error: 'REGNUM' was not declared in this scope 102 | 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; did you mean 'ctime'? 109 | active[REGNUM(r)] = NULL; | ^~~~~~ | ctime nanojit/RegAlloc.h:109:20: error: 'REGNUM' was not declared in this scope 109 | active[REGNUM(r)] = NULL; | ^~~~~~ nanojit/RegAlloc.h:110:21: error: 'rmask' was not declared in this scope; did you mean 'umask'? 110 | free |= rmask(r); | ^~~~~ | umask nanojit/Assembler.h:216:9: error: 'NIns' does not name a type; did you mean 'LIns'? 216 | NIns *addr; | ^~~~ | LIns nanojit/Assembler.h:217:24: error: expected ')' before '*' token 217 | LabelState(NIns *a, RegAlloc &r) : regs(r), addr(a) | ~ ^~ | ) nanojit/Assembler.h:230:31: error: 'NIns' has not been declared 230 | void add(LIns *label, NIns *addr, RegAlloc ®s); | ^~~~ nanojit/Assembler.h:318:13: error: 'NIns' does not name a type; did you mean 'LIns'? 318 | NIns* genPrologue(); | ^~~~ | LIns nanojit/Assembler.h:319:13: error: 'NIns' does not name a type; did you mean 'LIns'? 319 | NIns* genEpilogue(); | ^~~~ | LIns nanojit/Assembler.h:325:13: error: 'Register' does not name a type; did you mean 'register'? 325 | Register registerAlloc(LIns* ins, RegisterMask allow, RegisterMask prefer); | ^~~~~~~~ | register 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 115 | return usepri[REGNUM(r)]; | ^~~~~~ nanojit/RegAlloc.h:115:27: error: 'REGNUM' was not declared in this scope 115 | 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'? 186 | inline Register lsReg(RegisterMask mask) { | ^~~~~~~~ | register nanojit/RegAlloc.h:194:12: error: 'Register' does not name a type; did you mean 'register'? 194 | inline Register msReg(RegisterMask mask) { | ^~~~~~~~ | register nanojit/RegAlloc.h:202:12: error: 'Register' does not name a type; did you mean 'register'? 202 | inline Register nextLsReg(RegisterMask& mask, Register r) { | ^~~~~~~~ | register nanojit/RegAlloc.h:207:12: error: 'Register' does not name a type; did you mean 'register'? 207 | inline Register nextMsReg(RegisterMask& mask, Register r) { | ^~~~~~~~ | register In file included from nanojit/nanojit.h:378, from jsbuiltins.h:45, from jsapi.cpp:60: nanojit/Fragmento.h:63:13: error: 'NIns' does not name a type; did you mean 'LIns'? 63 | NIns* code() { return _code; } | ^~~~ | LIns nanojit/Fragmento.h:64:37: error: 'NIns' has not been declared 64 | void setCode(NIns* codee) { _code = codee; } | ^~~~ nanojit/Fragmento.h:72:13: error: 'NIns' does not name a type; did you mean 'LIns'? 72 | NIns* fragEntry; | ^~~~ | LIns nanojit/Fragmento.h:86:13: error: 'NIns' does not name a type; did you mean 'LIns'? 86 | 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 64 | void setCode(NIns* codee) { _code = codee; } | ^~~~~ In file included from nanojit/nanojit.h:379, 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 107 | LIns* _entries[ NJ_MAX_STACK_ENTRY ]; /* maps to 4B contiguous locations relative to the frame pointer. | ^~~~~~~~~~~~~~~~~~ nanojit/Assembler.h:326:13: error: 'Register' does not name a type; did you mean 'register'? 326 | Register registerAllocTmp(RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:333:45: error: 'RegisterMask' has not been declared 333 | void evictSomeActiveRegs(RegisterMask regs); | ^~~~~~~~~~~~ nanojit/Assembler.h:334:48: error: 'RegisterMask' has not been declared 334 | void evictScratchRegsExcept(RegisterMask ignore); | ^~~~~~~~~~~~ nanojit/Assembler.h:337:54: error: 'RegisterMask' has not been declared 337 | void assignSaved(RegAlloc &saved, RegisterMask skip); | ^~~~~~~~~~~~ nanojit/Assembler.h:338:25: error: expected ';' at end of member declaration 338 | LIns* findVictim(RegisterMask allow); | ^~~~~~~~~~ | ; nanojit/Assembler.h:338:48: error: expected ')' before 'allow' 338 | LIns* findVictim(RegisterMask allow); | ~ ^~~~~~ | ) nanojit/Assembler.h:340:13: error: 'Register' does not name a type; did you mean 'register'? 340 | Register getBaseReg(LIns *ins, int &d, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:341:37: error: 'RegisterMask' has not been declared 341 | void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, | ^~~~~~~~~~~~ nanojit/Assembler.h:341:75: error: 'Register' has not been declared 341 | void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, | ^~~~~~~~ nanojit/Assembler.h:342:37: error: 'RegisterMask' has not been declared 342 | RegisterMask allowBase, LIns* base, Register& rb, int &d); | ^~~~~~~~~~~~ nanojit/Assembler.h:342:73: error: 'Register' has not been declared 342 | RegisterMask allowBase, LIns* base, Register& rb, int &d); | ^~~~~~~~ nanojit/Assembler.h:348:13: error: 'Register' does not name a type; did you mean 'register'? 348 | Register findRegFor(LIns* ins, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:349:37: error: 'RegisterMask' has not been declared 349 | void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, | ^~~~~~~~~~~~ nanojit/Assembler.h:349:68: error: 'Register' has not been declared 349 | void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, | ^~~~~~~~ nanojit/Assembler.h:350:37: error: 'RegisterMask' has not been declared 350 | RegisterMask allowb, LIns *ib, Register &rb); | ^~~~~~~~~~~~ nanojit/Assembler.h:350:68: error: 'Register' has not been declared 350 | RegisterMask allowb, LIns *ib, Register &rb); | ^~~~~~~~ nanojit/Assembler.h:351:13: error: 'Register' does not name a type; did you mean 'register'? 351 | Register findSpecificRegFor(LIns* ins, Register r); | ^~~~~~~~ | register nanojit/Assembler.h:352:13: error: 'Register' does not name a type; did you mean 'register'? 352 | Register findSpecificRegForUnallocated(LIns* ins, Register r); | ^~~~~~~~ | register nanojit/Assembler.h:353:13: error: 'Register' does not name a type; did you mean 'register'? 353 | Register deprecated_prepResultReg(LIns *ins, RegisterMask allow); | ^~~~~~~~ | register In file included from nanojit/nanojit.h:379, 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 149 | _entries[0] = NULL; | ^~~~~~~~ nanojit/Assembler.h: At global scope: nanojit/Assembler.h:202:24: error: 'NIns' was not declared in this scope; did you mean 'LIns'? 202 | typedef SeqBuilder NInsList; | ^~~~ | LIns nanojit/Assembler.h:202:29: error: template argument 1 is invalid 202 | typedef SeqBuilder NInsList; | ^ nanojit/Assembler.h:203:21: error: 'NIns' was not declared in this scope; did you mean 'LIns'? 203 | typedef HashMap NInsMap; | ^~~~ | LIns nanojit/Assembler.h:203:33: error: template argument 1 is invalid 203 | 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'? 216 | NIns *addr; | ^~~~ | LIns nanojit/Assembler.h:217:24: error: expected ')' before '*' token 217 | LabelState(NIns *a, RegAlloc &r) : regs(r), addr(a) | ~ ^~ | ) nanojit/Assembler.h:230:31: error: 'NIns' has not been declared 230 | void add(LIns *label, NIns *addr, RegAlloc ®s); | ^~~~ nanojit/Assembler.h:318:13: error: 'NIns' does not name a type; did you mean 'LIns'? 318 | NIns* genPrologue(); | ^~~~ | LIns nanojit/Assembler.h:319:13: error: 'NIns' does not name a type; did you mean 'LIns'? 319 | NIns* genEpilogue(); | ^~~~ | LIns nanojit/Assembler.h:325:13: error: 'Register' does not name a type; did you mean 'register'? 325 | 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'? 326 | Register registerAllocTmp(RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:333:45: error: 'RegisterMask' has not been declared 333 | void evictSomeActiveRegs(RegisterMask regs); | ^~~~~~~~~~~~ nanojit/Assembler.h:334:48: error: 'RegisterMask' has not been declared 334 | void evictScratchRegsExcept(RegisterMask ignore); | ^~~~~~~~~~~~ nanojit/Assembler.h:337:54: error: 'RegisterMask' has not been declared 337 | void assignSaved(RegAlloc &saved, RegisterMask skip); | ^~~~~~~~~~~~ nanojit/Assembler.h:338:25: error: expected ';' at end of member declaration 338 | LIns* findVictim(RegisterMask allow); | ^~~~~~~~~~ | ; nanojit/Assembler.h:338:48: error: expected ')' before 'allow' 338 | LIns* findVictim(RegisterMask allow); | ~ ^~~~~~ | ) nanojit/Assembler.h:340:13: error: 'Register' does not name a type; did you mean 'register'? 340 | Register getBaseReg(LIns *ins, int &d, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:341:37: error: 'RegisterMask' has not been declared 341 | void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, | ^~~~~~~~~~~~ nanojit/Assembler.h:341:75: error: 'Register' has not been declared 341 | void getBaseReg2(RegisterMask allowValue, LIns* value, Register& rv, | ^~~~~~~~ nanojit/Assembler.h:342:37: error: 'RegisterMask' has not been declared 342 | RegisterMask allowBase, LIns* base, Register& rb, int &d); | ^~~~~~~~~~~~ nanojit/Assembler.h:342:73: error: 'Register' has not been declared 342 | RegisterMask allowBase, LIns* base, Register& rb, int &d); | ^~~~~~~~ nanojit/Assembler.h:348:13: error: 'Register' does not name a type; did you mean 'register'? 348 | Register findRegFor(LIns* ins, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:349:37: error: 'RegisterMask' has not been declared 349 | void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, | ^~~~~~~~~~~~ nanojit/Assembler.h:349:68: error: 'Register' has not been declared 349 | void findRegFor2(RegisterMask allowa, LIns* ia, Register &ra, | ^~~~~~~~ nanojit/Assembler.h:350:37: error: 'RegisterMask' has not been declared 350 | RegisterMask allowb, LIns *ib, Register &rb); | ^~~~~~~~~~~~ nanojit/Assembler.h:350:68: error: 'Register' has not been declared 350 | RegisterMask allowb, LIns *ib, Register &rb); | ^~~~~~~~ nanojit/Assembler.h:351:13: error: 'Register' does not name a type; did you mean 'register'? 351 | Register findSpecificRegFor(LIns* ins, Register r); | ^~~~~~~~ | register nanojit/Assembler.h:352:13: error: 'Register' does not name a type; did you mean 'register'? 352 | Register findSpecificRegForUnallocated(LIns* ins, Register r); | ^~~~~~~~ | register nanojit/Assembler.h:353:13: error: 'Register' does not name a type; did you mean 'register'? 353 | Register deprecated_prepResultReg(LIns *ins, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:354:13: error: 'Register' does not name a type; did you mean 'register'? 354 | Register prepareResultReg(LIns *ins, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:357:39: error: 'Register' has not been declared 357 | void evictIfActive(Register r); | ^~~~~~~~ nanojit/Assembler.h:359:13: error: 'RegisterMask' does not name a type 359 | RegisterMask hint(LIns* ins); | ^~~~~~~~~~~~ nanojit/Assembler.h:363:35: error: 'NIns' has not been declared 363 | void codeAlloc(NIns *&start, NIns *&end, NIns *&eip | ^~~~ nanojit/Assembler.h:363:49: error: 'NIns' has not been declared 363 | void codeAlloc(NIns *&start, NIns *&end, NIns *&eip | ^~~~ nanojit/Assembler.h:363:61: error: 'NIns' has not been declared 363 | void codeAlloc(NIns *&start, NIns *&end, NIns *&eip | ^~~~ nanojit/Assembler.h:378:40: error: 'Register' has not been declared 378 | bool deprecated_isKnownReg(Register r) { | ^~~~~~~~ nanojit/Assembler.h:405:13: error: 'NIns' does not name a type; did you mean 'LIns'? 405 | NIns *codeStart, *codeEnd; // current normal code chunk | ^~~~ | LIns nanojit/Assembler.h:406:13: error: 'NIns' does not name a type; did you mean 'LIns'? 406 | NIns *exitStart, *exitEnd; // current exit code chunk | ^~~~ | LIns nanojit/Assembler.h:407:13: error: 'NIns' does not name a type; did you mean 'LIns'? 407 | 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'? 408 | 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'? 419 | NIns* _epilogue; | ^~~~ | LIns nanojit/Assembler.h:432:33: error: 'Register' has not been declared 432 | void asm_mmq(Register rd, int dd, Register rs, int ds); | ^~~~~~~~ nanojit/Assembler.h:432:54: error: 'Register' has not been declared 432 | 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'? 438 | NIns* asm_exit(LIns* guard); | ^~~~ | LIns nanojit/Assembler.h:439:13: error: 'NIns' does not name a type; did you mean 'LIns'? 439 | NIns* asm_leave_trace(LIns* guard); | ^~~~ | LIns nanojit/Assembler.h:446:44: error: 'Register' has not been declared 446 | void asm_restore(LIns*, Register); | ^~~~~~~~ nanojit/Assembler.h:452:35: error: 'Register' has not been declared 452 | void asm_spill(Register rr, int d, bool quad); | ^~~~~~~~ nanojit/Assembler.h:484:40: error: 'Register' has not been declared 484 | void asm_nongp_copy(Register r, Register s); | ^~~~~~~~ nanojit/Assembler.h:484:52: error: 'Register' has not been declared 484 | void asm_nongp_copy(Register r, Register s); | ^~~~~~~~ nanojit/Assembler.h:486:13: error: 'Register' does not name a type; did you mean 'register'? 486 | Register asm_binop_rhs_reg(LIns* ins); | ^~~~~~~~ | register nanojit/Assembler.h:487:13: error: 'NIns' does not name a type; did you mean 'LIns'? 487 | 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'? 488 | NIns* asm_branch_ov(LOpcode op, NIns* targ); | ^~~~ | LIns nanojit/Assembler.h:489:47: error: 'NIns' has not been declared 489 | void asm_switch(LIns* ins, NIns* target); | ^~~~ nanojit/Assembler.h:490:45: error: 'NIns' has not been declared 490 | void asm_jtbl(LIns* ins, NIns** table); | ^~~~ nanojit/Assembler.h:492:55: error: 'NIns' has not been declared 492 | void emitJumpTable(SwitchInfo* si, NIns* target); | ^~~~ nanojit/Assembler.h:501:13: error: 'Register' does not name a type; did you mean 'register'? 501 | Register nRegisterAllocFromSet(RegisterMask set); | ^~~~~~~~ | register nanojit/Assembler.h:503:38: error: 'NIns' has not been declared 503 | void nPatchBranch(NIns* branch, NIns* location); | ^~~~ nanojit/Assembler.h:503:52: error: 'NIns' has not been declared 503 | void nPatchBranch(NIns* branch, NIns* location); | ^~~~ nanojit/Assembler.h:506:20: error: 'RegisterMask' does not name a type 506 | static RegisterMask nHints[LIR_sentinel+1]; | ^~~~~~~~~~~~ nanojit/Assembler.h:507:13: error: 'RegisterMask' does not name a type 507 | RegisterMask nHint(LIns* ins); | ^~~~~~~~~~~~ nanojit/Assembler.h:354:13: error: 'Register' does not name a type; did you mean 'register'? 354 | Register prepareResultReg(LIns *ins, RegisterMask allow); | ^~~~~~~~ | register nanojit/Assembler.h:357:39: error: 'Register' has not been declared 357 | void evictIfActive(Register r); | ^~~~~~~~ nanojit/Assembler.h:359:13: error: 'RegisterMask' does not name a type 359 | RegisterMask hint(LIns* ins); | ^~~~~~~~~~~~ nanojit/Assembler.h:363:35: error: 'NIns' has not been declared 363 | void codeAlloc(NIns *&start, NIns *&end, NIns *&eip | ^~~~ nanojit/Assembler.h:363:49: error: 'NIns' has not been declared 363 | void codeAlloc(NIns *&start, NIns *&end, NIns *&eip | ^~~~ nanojit/Assembler.h:363:61: error: 'NIns' has not been declared 363 | void codeAlloc(NIns *&start, NIns *&end, NIns *&eip | ^~~~ nanojit/Assembler.h:378:40: error: 'Register' has not been declared 378 | bool deprecated_isKnownReg(Register r) { | ^~~~~~~~ nanojit/Assembler.h:405:13: error: 'NIns' does not name a type; did you mean 'LIns'? 405 | NIns *codeStart, *codeEnd; // current normal code chunk | ^~~~ | LIns nanojit/Assembler.h:512:26: error: 'RegisterMask' does not name a type 512 | static const RegisterMask PREFER_SPECIAL = 0xffffffff; | ^~~~~~~~~~~~ nanojit/Assembler.h:516:26: error: 'Register' does not name a type; did you mean 'register'? 516 | const static Register savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 | ^~~~~~~~ | register nanojit/Assembler.h:517:13: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_ASSEMBLER' with no type [-fpermissive] 517 | DECLARE_PLATFORM_ASSEMBLER() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/Assembler.h:517:40: error: expected ';' at end of member declaration 517 | DECLARE_PLATFORM_ASSEMBLER() | ^ | ; nanojit/Assembler.h:406:13: error: 'NIns' does not name a type; did you mean 'LIns'? 406 | NIns *exitStart, *exitEnd; // current exit code chunk | ^~~~ | LIns nanojit/Assembler.h:407:13: error: 'NIns' does not name a type; did you mean 'LIns'? 407 | 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'? 408 | 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'? 419 | NIns* _epilogue; | ^~~~ | LIns nanojit/Assembler.h:432:33: error: 'Register' has not been declared 432 | void asm_mmq(Register rd, int dd, Register rs, int ds); | ^~~~~~~~ nanojit/Assembler.h:432:54: error: 'Register' has not been declared 432 | 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'? 438 | NIns* asm_exit(LIns* guard); | ^~~~ | LIns nanojit/Assembler.h:439:13: error: 'NIns' does not name a type; did you mean 'LIns'? 439 | NIns* asm_leave_trace(LIns* guard); | ^~~~ | LIns nanojit/Assembler.h:446:44: error: 'Register' has not been declared 446 | void asm_restore(LIns*, Register); | ^~~~~~~~ nanojit/Assembler.h:452:35: error: 'Register' has not been declared 452 | void asm_spill(Register rr, int d, bool quad); | ^~~~~~~~ nanojit/Assembler.h:484:40: error: 'Register' has not been declared 484 | void asm_nongp_copy(Register r, Register s); | ^~~~~~~~ nanojit/Assembler.h:484:52: error: 'Register' has not been declared 484 | void asm_nongp_copy(Register r, Register s); | ^~~~~~~~ nanojit/Assembler.h:486:13: error: 'Register' does not name a type; did you mean 'register'? 486 | Register asm_binop_rhs_reg(LIns* ins); | ^~~~~~~~ | register nanojit/Assembler.h:487:13: error: 'NIns' does not name a type; did you mean 'LIns'? 487 | 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'? 488 | NIns* asm_branch_ov(LOpcode op, NIns* targ); | ^~~~ | LIns nanojit/Assembler.h:489:47: error: 'NIns' has not been declared 489 | void asm_switch(LIns* ins, NIns* target); | ^~~~ nanojit/Assembler.h:490:45: error: 'NIns' has not been declared 490 | void asm_jtbl(LIns* ins, NIns** table); | ^~~~ nanojit/Assembler.h:492:55: error: 'NIns' has not been declared 492 | void emitJumpTable(SwitchInfo* si, NIns* target); | ^~~~ nanojit/Assembler.h:501:13: error: 'Register' does not name a type; did you mean 'register'? 501 | Register nRegisterAllocFromSet(RegisterMask set); | ^~~~~~~~ | register nanojit/Assembler.h:503:38: error: 'NIns' has not been declared 503 | void nPatchBranch(NIns* branch, NIns* location); | ^~~~ nanojit/Assembler.h:503:52: error: 'NIns' has not been declared 503 | void nPatchBranch(NIns* branch, NIns* location); | ^~~~ nanojit/Assembler.h:506:20: error: 'RegisterMask' does not name a type 506 | static RegisterMask nHints[LIR_sentinel+1]; | ^~~~~~~~~~~~ nanojit/Assembler.h:507:13: error: 'RegisterMask' does not name a type 507 | RegisterMask nHint(LIns* ins); | ^~~~~~~~~~~~ nanojit/Assembler.h: In member function 'void nanojit::Assembler::evictAllActiveRegs()': nanojit/Assembler.h:331:38: error: 'RegisterMask' was not declared in this scope 331 | evictSomeActiveRegs(~RegisterMask(0)); | ^~~~~~~~~~~~ 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; did you mean 'deprecated_isKnownReg'? 379 | return r != deprecated_UnknownReg; | ^~~~~~~~~~~~~~~~~~~~~ | deprecated_isKnownReg nanojit/Assembler.h:512:26: error: 'RegisterMask' does not name a type 512 | static const RegisterMask PREFER_SPECIAL = 0xffffffff; | ^~~~~~~~~~~~ nanojit/Assembler.h:516:26: error: 'Register' does not name a type; did you mean 'register'? 516 | const static Register savedRegs[NumSavedRegs+1]; // Allocate an extra element in case NumSavedRegs == 0 | ^~~~~~~~ | register nanojit/Assembler.h:517:13: error: ISO C++ forbids declaration of 'DECLARE_PLATFORM_ASSEMBLER' with no type [-fpermissive] 517 | DECLARE_PLATFORM_ASSEMBLER() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ nanojit/Assembler.h:517:40: error: expected ';' at end of member declaration 517 | DECLARE_PLATFORM_ASSEMBLER() | ^ | ; nanojit/Assembler.h: In member function 'void nanojit::Assembler::evictAllActiveRegs()': nanojit/Assembler.h:331:38: error: 'RegisterMask' was not declared in this scope 331 | evictSomeActiveRegs(~RegisterMask(0)); | ^~~~~~~~~~~~ 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; did you mean 'deprecated_isKnownReg'? 379 | return r != deprecated_UnknownReg; | ^~~~~~~~~~~~~~~~~~~~~ | deprecated_isKnownReg In file included from jstracer.h:56, 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'; did you mean 'LIR_ldp'? 1193 | 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; did you mean 'lshiN'? 1196 | return lshqN(v_ins, 1); | ^~~~~ | lshiN In file included from jstracer.h:56, 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'; did you mean 'LIR_ldp'? 1193 | 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; did you mean 'lshiN'? 1196 | return lshqN(v_ins, 1); | ^~~~~ | lshiN In file included from jsarray.cpp:110: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ In file included from jstracer.h:48, 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'} is ill-formed in C++11 [-Wnarrowing] 294 | { (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' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:497:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 497 | JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32, | ^~~~~~~~~~~~~~~~~~~~ In file included from jsapi.cpp:94: jsobjinlines.h: In member function 'void JSObject::setArrayLength(uint32)': jsobjinlines.h:316:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsbuiltins.h:120:37: error: 'ARGTYPE_Q' is not a member of 'nanojit'; did you mean 'ARGTYPE_B'? 120 | #define _JS_U64_ARGTYPE nanojit::ARGTYPE_Q | ^~~~~~~~~ jsbuiltins.h:294:29: note: in definition of macro '_JS_DEFINE_CALLINFO' 294 | { (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' 263 | #define _JS_CTYPE_ARGTYPE2(t,s,p,a,f) s##_ARGTYPE | ^ jsbuiltins.h:257:29: note: in expansion of macro '_JS_CTYPE_ARGTYPE2' 257 | #define _JS_EXPAND(tokens) tokens | ^~~~~~ jsbuiltins.h:264:41: note: in expansion of macro '_JS_EXPAND' 264 | #define _JS_CTYPE_ARGTYPE(tyname) _JS_EXPAND(_JS_CTYPE_ARGTYPE2 _JS_CTYPE_##tyname) | ^~~~~~~~~~ jsbuiltins.h:254:37: note: in expansion of macro '_JS_CTYPE' 254 | # define _JS_CTYPE_VALUE _JS_CTYPE(js::ValueArgType, _JS_U64, "","v", INFALLIBLE) | ^~~~~~~~~ jsbuiltins.h:264:71: note: in expansion of macro '_JS_CTYPE_VALUE' 264 | #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' 358 | _JS_CTYPE_ARGTYPE(at2)), \ | ^~~~~~~~~~~~~~~~~ jsarray.cpp:2110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 2110 | JS_DEFINE_CALLINFO_3(extern, BOOL_FAIL, js_ArrayCompPush_tn, CONTEXT, OBJECT, | ^~~~~~~~~~~~~~~~~~~~ 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'} is ill-formed in C++11 [-Wnarrowing] 294 | { (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' 341 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3106:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_2' 3106 | 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'} is ill-formed in C++11 [-Wnarrowing] 294 | { (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' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3108:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3108 | 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'} is ill-formed in C++11 [-Wnarrowing] 294 | { (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' 350 | _JS_DEFINE_CALLINFO(linkage, op, \ | ^~~~~~~~~~~~~~~~~~~ jsarray.cpp:3110:1: note: in expansion of macro 'JS_DEFINE_CALLINFO_3' 3110 | JS_DEFINE_CALLINFO_3(extern, OBJECT, NewDenseUnallocatedArray, CONTEXT, UINT32, OBJECT, 0, | ^~~~~~~~~~~~~~~~~~~~ jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: warning: converting 'false' to pointer type 'JSIdArray*' [-Wconversion-null] 3988 | return false; | ^~~~~ jsapi.cpp: In function 'JSObject* JS_New(JSContext*, JSObject*, uintN, jsval*)': jsapi.cpp:5182:51: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class js::Value' with 'private' member 'js::Value::data' from an array of 'jsval' {aka 'long unsigned int'}; use assignment or copy-initialization instead [-Wclass-memaccess] 5182 | memcpy(args.argv(), argv, argc * sizeof(jsval)); | ^ In file included from jsobj.h:64, from jsstr.h:56, from jsatom.h:52, from jsarray.h:47, from jsapi.cpp:57: jsvalue.h:331:7: note: 'class js::Value' declared here 331 | class Value | ^~~~~ distcc[29170] ERROR: compile jsarray.cpp on localhost failed In the directory /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src The following command failed to execute properly: c++ -o jsarray.o -c -fvisibility=hidden -DOSTYPE="NetBSD10" -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 -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 gmake[1]: *** [config/rules.mk:1477: jsarray.o] Error 1 distcc[29901] ERROR: compile jsapi.cpp on localhost failed In the directory /tmp/pkgbuild/lang/spidermonkey185/work.sparc64/js-1.8.5/js/src The following command failed to execute properly: c++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE="NetBSD10" -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 -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 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