FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2019 PLD Team
$Revision: 1.37 $
Powered by power.
Your IP: 3.92.92.168

mozjs17 ca60d9b7-40bf-4138-b056-073104e2ed0e

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/x86_64/FAIL/mozjs17,ca60d9b7-40bf-4138-b056-073104e2ed0e.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2019/10/19 00:52:25
Runtime:0:01:10.401859

Toc:

  • error 1
  • /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsoptparse.cpp:246:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  • error 2
  • make[2]: *** [../config/rules.mk:1019: jsoptparse.o] Error 1
  • error 3
  • make[1]: *** [config/makefiles/target_libs.mk:61: libs] Error 2
  • error 4
  • error: Bad exit status from /tmp/B.Ezgd5I/BUILD/tmp/rpm-tmp.37739 (%build)
  • error 5
  • RPM build errors:
  • error 6
  • error: No files produced.

Content:

./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]':
./jsinferinlines.h:1352:17:   required from here
./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ./jsobj.h:23,
                 from ./jsfun.h:14,
                 from ./vm/Stack.h:12,
                 from ./jscntxt.h:32,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8:
./jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here
  776 | struct TypeObject : gc::Cell
      |        ^~~~~~~~~~
In file included from ./jsapi.h:22,
                 from ./jscntxt.h:17,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8:
./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::FrameState::ActiveFrame]':
./methodjit/FrameState.h:1046:37:   required from here
./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::FrameState::ActiveFrame'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/StubCompiler.h:13,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.h:15,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.cpp:12:
./methodjit/FrameState.h:1045:12: note: 'struct js::mjit::FrameState::ActiveFrame' declared here
 1045 |     struct ActiveFrame {
      |            ^~~~~~~~~~~
In file included from ./jsapi.h:22,
                 from ./jscntxt.h:17,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8:
./jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::LoopState::InvariantEntry]':
./methodjit/LoopState.h:180:40:   required from here
./jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::LoopState::InvariantEntry'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/FrameState-inl.h:11,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.cpp:20:
./methodjit/LoopState.h:132:12: note: 'struct js::mjit::LoopState::InvariantEntry' declared here
  132 |     struct InvariantEntry {
      |            ^~~~~~~~~~~~~~
In file included from ./jsprvtd.h:28,
                 from ./jsclass.h:17,
                 from ./jsfriendapi.h:10,
                 from ./jscntxt.h:18,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/MethodJIT.h:15,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/methodjit/Compiler.cpp:8:
./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSScript*, const char*>; HashPolicy = js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]':
./dist/include/js/HashTable.h:1168:57:   required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]'
./vm/SPSProfiler.h:252:41:   required from here
./dist/include/js/HashTable.h:662:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSScript*, const char*>, js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSScript*, const char*> >'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  662 |             memset(table, 0, sizeof(*table) * capacity());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable<js::HashMapEntry<JSScript*, const char*>, js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSScript*, const char*> >'} declared here
   26 | class HashTableEntry {
      |       ^~~~~~~~~~~~~~
./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, long unsigned int>; HashPolicy = js::HashMap<JSAtom*, long unsigned int, js::DefaultHasher<JSAtom*>, js::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]':
./dist/include/js/HashTable.h:1168:57:   required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::TempAllocPolicy]'
./ds/InlineMap.h:56:13:   required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]'
./ds/InlineMap.h:76:14:   required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]'
./ds/InlineMap.h:257:24:   required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]'
./frontend/BytecodeEmitter.h:149:45:   required from here
./dist/include/js/HashTable.h:662:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, long unsigned int>, js::HashMap<JSAtom*, long unsigned int, js::DefaultHasher<JSAtom*>, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, long unsigned int> >'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  662 |             memset(table, 0, sizeof(*table) * capacity());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, long unsigned int>, js::HashMap<JSAtom*, long unsigned int, js::DefaultHasher<JSAtom*>, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, long unsigned int> >'} declared here
   26 | class HashTableEntry {
      |       ^~~~~~~~~~~~~~
make[1]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
make[1]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
rm -f libjs_static.a libjs_static.a.desc
/usr/bin/python2.7 ./config/pythonpath.py -I./config ./config/expandlibs_exec.py --depend .deps/libjs_static.a.pp --target libjs_static.a --extract -- ar cr libjs_static.a bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jscrashreport.o jsinfer.o jsinterp.o jsiter.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jswrapper.o jsxml.o prmjtime.o sharkctl.o ArgumentsObject.o ScopeObject.o Debugger.o GlobalObject.o ObjectImpl.o Stack.o String.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o SPSProfiler.o TokenStream.o TestingFunctions.o LifoAlloc.o Eval.o MapObject.o MemoryMetrics.o RegExpObject.o RegExpStatics.o RegExp.o Marking.o Memory.o Statistics.o StoreBuffer.o StringBuffer.o Unicode.o Xdr.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastBuiltins.o FastOps.o LoopState.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o ExecutableAllocator.o PageBlock.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o jsperf.o pm_linux.o HashFunctions.o SHA1.o  
ranlib libjs_static.a
make[1]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
make[1]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
/usr/bin/python2.7 ./config/pythonpath.py -I./config ./config/expandlibs_gen.py --depend .deps/libjs_static.a.desc.pp -o libjs_static.a.desc bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jscrashreport.o jsinfer.o jsinterp.o jsiter.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jswrapper.o jsxml.o prmjtime.o sharkctl.o ArgumentsObject.o ScopeObject.o Debugger.o GlobalObject.o ObjectImpl.o Stack.o String.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o SPSProfiler.o TokenStream.o TestingFunctions.o LifoAlloc.o Eval.o MapObject.o MemoryMetrics.o RegExpObject.o RegExpStatics.o RegExp.o Marking.o Memory.o Statistics.o StoreBuffer.o StringBuffer.o Unicode.o Xdr.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastBuiltins.o FastOps.o LoopState.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o ExecutableAllocator.o PageBlock.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o jsperf.o pm_linux.o HashFunctions.o SHA1.o  
make[1]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
make[1]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
rm -f libmozjs-17.0.so
/usr/bin/python2.7 ./config/pythonpath.py -I./config ./config/expandlibs_exec.py --depend .deps/libmozjs-17.0.so.pp --target libmozjs-17.0.so --uselist --  x86_64-pld-linux-g++  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libmozjs-17.0.so -o libmozjs-17.0.so  bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jscrashreport.o jsinfer.o jsinterp.o jsiter.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jswrapper.o jsxml.o prmjtime.o sharkctl.o ArgumentsObject.o ScopeObject.o Debugger.o GlobalObject.o ObjectImpl.o Stack.o String.o BytecodeCompiler.o BytecodeEmitter.o FoldConstants.o NameFunctions.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o SPSProfiler.o TokenStream.o TestingFunctions.o LifoAlloc.o Eval.o MapObject.o MemoryMetrics.o RegExpObject.o RegExpStatics.o RegExp.o Marking.o Memory.o Statistics.o StoreBuffer.o StringBuffer.o Unicode.o Xdr.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastBuiltins.o FastOps.o LoopState.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o ExecutableAllocator.o PageBlock.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o jsperf.o pm_linux.o HashFunctions.o SHA1.o    -lpthread -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc    -Wl,-rpath-link,./dist/bin -Wl,-rpath-link,/usr/lib    -Wl,-version-script,symverscript -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -ldl  -lm -lz -ldl  
chmod +x libmozjs-17.0.so
make[1]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
make[1]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config/nsinstall -R -m 644 libjs_static.a libjs_static.a.desc ./dist/lib
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config/nsinstall -R -m 755 libmozjs-17.0.so ./dist/lib
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config/nsinstall -R -m 755 libmozjs-17.0.so ./dist/bin
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config/nsinstall -R -m 755 host_jskwgen host_jsoplengen ./dist/host/bin
make[1]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src'
/usr/bin/make -C config libs
make[2]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config'
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config/nsinstall -R -m 755 nsinstall ../dist/host/bin
make[2]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/config'
/usr/bin/make -C shell libs
make[2]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell'
jsoptparse.cpp
x86_64-pld-linux-g++ -o jsoptparse.o -c  -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include  -I/usr/include/nspr       -fPIC  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer   -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsoptparse.o.pp /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsoptparse.cpp
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsoptparse.cpp: In member function 'js::cli::OptionParser::Result js::cli::OptionParser::extractValue(size_t, char**, size_t*, char**)':
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsoptparse.cpp:246:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  246 |         if (value[0] == '\0')
      |                         ^~~~
make[2]: *** [../config/rules.mk:1019: jsoptparse.o] Error 1
make[2]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell'
jsheaptools.cpp
x86_64-pld-linux-g++ -o jsheaptools.o -c  -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include  -I/usr/include/nspr       -fPIC  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer   -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsheaptools.o.pp /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp
In file included from ../jsapi.h:26,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../gc/Root.h: In constructor 'JS::Handle<T>::Handle(JS::NullPtr)':
../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs]
  111 |         typedef typename js::tl::StaticAssert<js::tl::IsPointerType<T>::result>::result _;
      |                                                                                         ^
In file included from ../jscntxt.h:28,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)':
../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs]
   36 |     >::result _;
      |               ^
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)':
../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess]
  496 |         memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot));
      |                                                                                       ^
In file included from ../jsatom.h:18,
                 from ../jscntxt.h:20,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here
  427 | class HeapSlot : public EncapsulatedValue
      |       ^~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)':
../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess]
  509 |     memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value));
      |                                                                                ^
In file included from ../jsatom.h:18,
                 from ../jscntxt.h:20,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here
  427 | class HeapSlot : public EncapsulatedValue
      |       ^~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]':
../jspropertycache.h:134:21:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jscntxt.h:23,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here
   83 | class PropertyCache
      |       ^~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]':
../jscntxt.h:145:21:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here
  119 | struct ConservativeGCData
      |        ^~~~~~~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]':
../jscntxt.h:291:36:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here
  246 | class NewObjectCache
      |       ^~~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]':
../methodjit/MethodJIT.h:747:37:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsprobes.h:20,
                 from ../jsobjinlines.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here
  735 | struct ChunkDescriptor
      |        ^~~~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]':
../methodjit/MethodJIT.h:783:36:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsprobes.h:20,
                 from ../jsobjinlines.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here
  751 | struct CrossChunkEdge
      |        ^~~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]':
../jsscopeinlines.h:54:17:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsscript.h:18,
                 from ../jsfun.h:16,
                 from ../vm/Stack.h:12,
                 from ../jscntxt.h:32,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../jsscope.h:236:7: note: 'class js::BaseShape' declared here
  236 | class BaseShape : public js::gc::Cell
      |       ^~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]':
../jsanalyze.h:64:30:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here
   59 | class Bytecode
      |       ^~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]':
../jsanalyze.h:747:32:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::SSAPhiNode'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here
  740 | struct SSAPhiNode
      |        ^~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]':
../jsanalyze.h:789:33:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::SSAUseChain'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here
  777 | class SSAUseChain
      |       ^~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]':
../jsanalyze.h:851:21:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here
  803 | class ScriptAnalysis
      |       ^~~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]':
../jsinferinlines.h:672:39:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsobjinlines.h:45,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:20:
../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here
  664 | struct AllocationSiteKey {
      |        ^~~~~~~~~~~~~~~~~
In file included from ../jsapi.h:22,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:10:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]':
../jsinferinlines.h:1352:17:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsobj.h:23,
                 from ../jsfun.h:14,
                 from ../vm/Stack.h:12,
                 from ../jscntxt.h:32,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here
  776 | struct TypeObject : gc::Cell
      |        ^~~~~~~~~~
In file included from ../jsprvtd.h:28,
                 from ../jsclass.h:17,
                 from ../jsfriendapi.h:10,
                 from ../jscntxt.h:18,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/jsheaptools.cpp:13:
../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSScript*, const char*>; HashPolicy = js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]':
../dist/include/js/HashTable.h:1168:57:   required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]'
../vm/SPSProfiler.h:252:41:   required from here
../dist/include/js/HashTable.h:662:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSScript*, const char*>, js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSScript*, const char*> >'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  662 |             memset(table, 0, sizeof(*table) * capacity());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable<js::HashMapEntry<JSScript*, const char*>, js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSScript*, const char*> >'} declared here
   26 | class HashTableEntry {
      |       ^~~~~~~~~~~~~~
make[2]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell'
make[2]: Entering directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell'
js.cpp
x86_64-pld-linux-g++ -o js.o -c  -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include  -I/usr/include/nspr       -fPIC  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer   -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/js.o.pp /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp
In file included from ../jsapi.h:26,
                 from ../jswrapper.h:13,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:24:
../gc/Root.h: In constructor 'JS::Handle<T>::Handle(JS::NullPtr)':
../gc/Root.h:111:89: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs]
  111 |         typedef typename js::tl::StaticAssert<js::tl::IsPointerType<T>::result>::result _;
      |                                                                                         ^
In file included from ../jscntxt.h:28,
                 from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../ds/LifoAlloc.h: In function 'char* js::detail::AlignPtr(void*)':
../ds/LifoAlloc.h:36:15: warning: typedef '_' locally defined but not used [-Wunused-local-typedefs]
   36 |     >::result _;
      |               ^
In file included from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElements(unsigned int, unsigned int, unsigned int)':
../jsobjinlines.h:496:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess]
  496 |         memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot));
      |                                                                                       ^
In file included from ../jsatom.h:18,
                 from ../jscntxt.h:20,
                 from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here
  427 | class HeapSlot : public EncapsulatedValue
      |       ^~~~~~~~
In file included from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsobjinlines.h: In member function 'void JSObject::moveDenseArrayElementsUnbarriered(unsigned int, unsigned int, unsigned int)':
../jsobjinlines.h:509:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment [-Wclass-memaccess]
  509 |     memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value));
      |                                                                                ^
In file included from ../jsatom.h:18,
                 from ../jscntxt.h:20,
                 from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../gc/Barrier.h:427:7: note: 'class js::HeapSlot' declared here
  427 | class HeapSlot : public EncapsulatedValue
      |       ^~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::PropertyCache]':
../jspropertycache.h:134:21:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PropertyCache'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jscntxt.h:23,
                 from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../jspropertycache.h:83:7: note: 'class js::PropertyCache' declared here
   83 | class PropertyCache
      |       ^~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::ConservativeGCData]':
../jscntxt.h:145:21:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::ConservativeGCData'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../jscntxt.h:119:8: note: 'struct js::ConservativeGCData' declared here
  119 | struct ConservativeGCData
      |        ^~~~~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::NewObjectCache]':
../jscntxt.h:291:36:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../jscntxt.h:246:7: note: 'class js::NewObjectCache' declared here
  246 | class NewObjectCache
      |       ^~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::ChunkDescriptor]':
../methodjit/MethodJIT.h:747:37:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::ChunkDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsprobes.h:20,
                 from ../jsobjinlines.h:22,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../methodjit/MethodJIT.h:735:8: note: 'struct js::mjit::ChunkDescriptor' declared here
  735 | struct ChunkDescriptor
      |        ^~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::mjit::CrossChunkEdge]':
../methodjit/MethodJIT.h:783:36:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::mjit::CrossChunkEdge'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsprobes.h:20,
                 from ../jsobjinlines.h:22,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../methodjit/MethodJIT.h:751:8: note: 'struct js::mjit::CrossChunkEdge' declared here
  751 | struct CrossChunkEdge
      |        ^~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::BaseShape]':
../jsscopeinlines.h:54:17:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsscript.h:18,
                 from ../jsfun.h:16,
                 from ../vm/Stack.h:12,
                 from ../jscntxt.h:32,
                 from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../jsscope.h:236:7: note: 'class js::BaseShape' declared here
  236 | class BaseShape : public js::gc::Cell
      |       ^~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::Bytecode]':
../jsanalyze.h:64:30:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsanalyze.h:59:7: note: 'class js::analyze::Bytecode' declared here
   59 | class Bytecode
      |       ^~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAPhiNode]':
../jsanalyze.h:747:32:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::analyze::SSAPhiNode'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsanalyze.h:740:8: note: 'struct js::analyze::SSAPhiNode' declared here
  740 | struct SSAPhiNode
      |        ^~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::SSAUseChain]':
../jsanalyze.h:789:33:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::SSAUseChain'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsanalyze.h:777:7: note: 'class js::analyze::SSAUseChain' declared here
  777 | class SSAUseChain
      |       ^~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::analyze::ScriptAnalysis]':
../jsanalyze.h:851:21:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsinferinlines.h:10,
                 from ../jsobjinlines.h:45,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsanalyze.h:803:7: note: 'class js::analyze::ScriptAnalysis' declared here
  803 | class ScriptAnalysis
      |       ^~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::AllocationSiteKey]':
../jsinferinlines.h:672:39:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::types::AllocationSiteKey'; use assignment or value-initialization instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsobjinlines.h:45,
                 from ../jstypedarrayinlines.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:42:
../jsinferinlines.h:664:8: note: 'struct js::types::AllocationSiteKey' declared here
  664 | struct AllocationSiteKey {
      |        ^~~~~~~~~~~~~~~~~
In file included from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:22:
../jsutil.h: In instantiation of 'void js::PodZero(T*) [with T = js::types::TypeObject]':
../jsinferinlines.h:1352:17:   required from here
../jsutil.h:181:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::types::TypeObject' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  181 |     memset(t, 0, sizeof(T));
      |     ~~~~~~^~~~~~~~~~~~~~~~~
In file included from ../jsobj.h:23,
                 from ../jsfun.h:14,
                 from ../vm/Stack.h:12,
                 from ../jscntxt.h:32,
                 from ../jsarray.h:12,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:26:
../jsinfer.h:776:8: note: 'struct js::types::TypeObject' declared here
  776 | struct TypeObject : gc::Cell
      |        ^~~~~~~~~~
In file included from ../jsprvtd.h:28,
                 from ../jsclass.h:17,
                 from ../jsfriendapi.h:10,
                 from ../jsproxy.h:12,
                 from ../jswrapper.h:14,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:24:
../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSScript*, const char*>; HashPolicy = js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]':
../dist/include/js/HashTable.h:1168:57:   required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]'
../vm/SPSProfiler.h:252:41:   required from here
../dist/include/js/HashTable.h:662:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSScript*, const char*>, js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSScript*, const char*> >'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  662 |             memset(table, 0, sizeof(*table) * capacity());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable<js::HashMapEntry<JSScript*, const char*>, js::HashMap<JSScript*, const char*, js::DefaultHasher<JSScript*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSScript*, const char*> >'} declared here
   26 | class HashTableEntry {
      |       ^~~~~~~~~~~~~~
../dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, long unsigned int>; HashPolicy = js::HashMap<JSAtom*, long unsigned int, js::DefaultHasher<JSAtom*>, js::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]':
../dist/include/js/HashTable.h:1168:57:   required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::TempAllocPolicy]'
../ds/InlineMap.h:56:13:   required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]'
../ds/InlineMap.h:76:14:   required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]'
../ds/InlineMap.h:257:24:   required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]'
../frontend/BytecodeEmitter.h:149:45:   required from here
../dist/include/js/HashTable.h:662:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, long unsigned int>, js::HashMap<JSAtom*, long unsigned int, js::DefaultHasher<JSAtom*>, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, long unsigned int> >'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  662 |             memset(table, 0, sizeof(*table) * capacity());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../dist/include/js/HashTable.h:26:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, long unsigned int>, js::HashMap<JSAtom*, long unsigned int, js::DefaultHasher<JSAtom*>, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, long unsigned int> >'} declared here
   26 | class HashTableEntry {
      |       ^~~~~~~~~~~~~~
In file included from ../jswrapper.h:13,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:24:
../jsapi.h: In function 'JSBool Evaluate(JSContext*, unsigned int, jsval*)':
../jsapi.h:3061:22: warning: '*((void*)(& ancx)+40).JSAutoRequest::mContext' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3061 |         JS_EndRequest(mContext);
      |         ~~~~~~~~~~~~~^~~~~~~~~~
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:891:20: note: '*((void*)(& ancx)+40).JSAutoRequest::mContext' was declared here
  891 |     AutoNewContext ancx;
      |                    ^~~~
In file included from ../jswrapper.h:13,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:24:
../jsapi.h:3098:29: warning: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mSaveDepth' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3098 |             JS_ResumeRequest(mContext, mSaveDepth);
      |             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:891:20: note: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mSaveDepth' was declared here
  891 |     AutoNewContext ancx;
      |                    ^~~~
In file included from ../jswrapper.h:13,
                 from /tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:24:
../jsapi.h:3098:29: warning: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mContext' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3098 |             JS_ResumeRequest(mContext, mSaveDepth);
      |             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell/js.cpp:891:20: note: '*((void*)(& ancx)+16).JSAutoSuspendRequest::mContext' was declared here
  891 |     AutoNewContext ancx;
      |                    ^~~~
make[2]: Leaving directory '/tmp/B.Ezgd5I/BUILD/mozjs17.0.0/js/src/shell'
make[1]: *** [config/makefiles/target_libs.mk:61: libs] Error 2
make: *** [config/rules.mk:577: default] Error 2
error: Bad exit status from /tmp/B.Ezgd5I/BUILD/tmp/rpm-tmp.37739 (%build)


RPM build errors:
    Bad exit status from /tmp/B.Ezgd5I/BUILD/tmp/rpm-tmp.37739 (%build)
ended at: Sat Oct 19 00:52:24 2019, done in 0:01:10.401859
error: No files produced.
+ chmod -R u+rwX /tmp/B.Ezgd5I/BUILD
+ rm -rf /tmp/B.Ezgd5I/tmp /tmp/B.Ezgd5I/BUILD
+ rm -rf /tmp/B.Ezgd5I
Begin-PLD-Builder-Info
Build-Time: user:393.16s sys:25.23s real:73.71s (faults io:0 non-io:6216185)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]