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 brain.
Your IP: 35.171.45.91

mozjs24 ede85b6a-03c6-4262-9ac0-bb1322e6094e

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/x32/FAIL/mozjs24,ede85b6a-03c6-4262-9ac0-bb1322e6094e.bz2
text/plain URL:View!
rpm -qa of builder:View!
Date:2019/10/19 14:40:32
Runtime:0:01:35.730896

Toc:

  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.JY942R/BUILD/tmp/rpm-tmp.22646
  • build
  • Executing(%build): /bin/sh -e /tmp/B.JY942R/BUILD/tmp/rpm-tmp.25278
  • error 1
  • /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/shell/jsoptparse.cpp:256:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  • error 2
  • make[2]: *** [../config/rules.mk:1140: jsoptparse.o] Error 1
  • error 3
  • make[1]: *** [config/makefiles/target_libs.mk:59: libs] Error 2
  • error 4
  • error: Bad exit status from /tmp/B.JY942R/BUILD/tmp/rpm-tmp.25278 (%build)
  • error 5
  • RPM build errors:
  • error 6
  • error: No files produced.

Content:

request from: baggins
checking if we should skip the build
started at: Sat Oct 19 14:38:51 2019
killing old processes on a builder
sending signal 9 to pid -1
Killed
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/ede85b6a-03c6-4262-9ac0-bb1322e6094e/mozjs24-24.2.0-5.src.rpm
fetched 15209901 bytes, 9472.5 K/s
installing srpm: mozjs24-24.2.0-5.src.rpm
+ install -d /tmp/B.JY942R/BUILD /tmp/B.JY942R/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog mozjs24-24.2.0-5.src.rpm
* Sat Oct 19 2019 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/mozjs24.git;a=log;h=master
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.JY942R' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' mozjs24-24.2.0-5.src.rpm Preparing... ################################################## mozjs24 ################################################## + rm -f mozjs24-24.2.0-5.src.rpm + install -m 700 -d /tmp/B.JY942R/BUILD/tmp + TMPDIR=/tmp/B.JY942R/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.JY942R' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux --define 'prep exit 0' /tmp/B.JY942R/mozjs24.spec Building target platforms: x32-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: Building target platforms: x32-pld-linux no BR needed building RPM using: set -ex; : build-id: ede85b6a-03c6-4262-9ac0-bb1322e6094e; TMPDIR=/tmp/B.JY942R/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.JY942R' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux /tmp/B.JY942R/mozjs24.spec + : build-id: ede85b6a-03c6-4262-9ac0-bb1322e6094e + TMPDIR=/tmp/B.JY942R/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.JY942R' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux /tmp/B.JY942R/mozjs24.spec Building target platforms: x32-pld-linux Executing(%prep): /bin/sh -e /tmp/B.JY942R/BUILD/tmp/rpm-tmp.22646 + umask 022 + cd /tmp/B.JY942R/BUILD + cd /tmp/B.JY942R/BUILD + rm -rf mozjs-24.2.0 + /usr/bin/bzip2 -dc /tmp/B.JY942R/mozjs-24.2.0.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mozjs-24.2.0 + /bin/id -u + '[' 1000 '=' 0 ']' + /bin/id -u + '[' 1000 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mozjs24-system-virtualenv.patch):' Patch #0 (mozjs24-system-virtualenv.patch): + '[' -f /tmp/B.JY942R/mozjs24-system-virtualenv.patch ']' + /bin/cat /tmp/B.JY942R/mozjs24-system-virtualenv.patch + /usr/bin/patch -s -p1 + echo 'Patch #1 (Disable-js-JIT-on-x32.patch):' Patch #1 (Disable-js-JIT-on-x32.patch): + '[' -f /tmp/B.JY942R/Disable-js-JIT-on-x32.patch ']' + /bin/cat /tmp/B.JY942R/Disable-js-JIT-on-x32.patch + /usr/bin/patch -s -p1 + echo 'Patch #2 (perl.patch):' Patch #2 (perl.patch): + '[' -f /tmp/B.JY942R/perl.patch ']' + /bin/cat /tmp/B.JY942R/perl.patch + /usr/bin/patch -s -p1 + exit 0 Executing(%build): /bin/sh -e /tmp/B.JY942R/BUILD/tmp/rpm-tmp.25278 HOME=/home/users/builder PATH=/home/users/builder/GNUstep/Tools:/usr/local/bin:/usr/bin:/bin TMPDIR=/tmp/B.JY942R/BUILD/tmp + umask 022 + cd /tmp/B.JY942R/BUILD + cd mozjs-24.2.0 + cd js/src + '[' -n '' ']' + LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' + export LDFLAGS + CFLAGS='-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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CFLAGS + CXXFLAGS='-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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export CXXFLAGS + FFLAGS='-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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export FFLAGS + FCFLAGS='-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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' + export FCFLAGS + CPPFLAGS='' + export CPPFLAGS + CC=x86_64-pld-linux-gnux32-gcc + export CC + CXX=x86_64-pld-linux-gnux32-g++ + export CXX + ./configure '--host=x86_64-pld-linux-gnux32' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/libx32' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-libraries=/usr/libx32' --enable-readline --enable-system-ffi --enable-threadsafe --with-system-nspr creating cache ./config.cache checking host system type... x86_64-pld-linux-gnux32 checking target system type... x86_64-pld-linux-gnux32 checking build system type... x86_64-pld-linux-gnux32 checking for gawk... gawk checking for perl5... no checking for perl... /usr/bin/perl checking for gcc... x86_64-pld-linux-gnux32-gcc checking whether the C compiler (x86_64-pld-linux-gnux32-gcc -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ) works... yes checking whether the C compiler (x86_64-pld-linux-gnux32-gcc -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-pld-linux-gnux32-gcc accepts -g... yes checking for c++... x86_64-pld-linux-gnux32-g++ checking whether the C++ compiler (x86_64-pld-linux-gnux32-g++ -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ) works... yes checking whether the C++ compiler (x86_64-pld-linux-gnux32-g++ -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether x86_64-pld-linux-gnux32-g++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking how to run the C preprocessor... x86_64-pld-linux-gnux32-gcc -E checking how to run the C++ preprocessor... x86_64-pld-linux-gnux32-g++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for tar archiver... checking for gnutar... no checking for gtar... gtar gtar checking for minimum required perl version >= 5.006... 5.028002 checking for full perl installation... yes checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/_virtualenv/bin/python2.7 Also creating executable in /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/_virtualenv/bin/python Installing setuptools, pip, wheel...done. running build_ext copying build/lib.linux-x86_64-2.7/_psutil_linux.so -> copying build/lib.linux-x86_64-2.7/_psutil_posix.so -> checking Python environment is Mozilla virtualenv... yes checking for doxygen... /usr/bin/doxygen checking for autoconf... /usr/bin/autoconf checking for xargs... /bin/xargs checking for gmake... /usr/bin/gmake checking for X... libraries /usr/libx32, headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking that static assertion macros used in autoconf tests work... yes checking for --build-id option to ld... yes checking whether the C compiler supports -Werror=return-type... yes checking whether the C compiler supports -Wtype-limits... yes checking whether the C compiler supports -Wempty-body... yes checking whether the C compiler supports -Wsign-compare... yes checking whether the C++ compiler supports -Werror=return-type... yes checking whether the C++ compiler supports -Wtype-limits... yes checking whether the C++ compiler supports -Wempty-body... yes checking whether the C++ compiler supports -Werror=conversion-null... yes checking whether the C++ compiler supports -Wsign-compare... yes checking whether the C++ compiler supports -Wno-invalid-offsetof... yes checking whether ld has archive extraction flags... yes checking for 64-bit OS... no checking for custom <stdint.h> implementation... none specified checking whether the linker supports Identical Code Folding... no checking whether removing dead symbols breaks debugging... no checking for ANSI C header files... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for __stdcall... no checking for ssize_t... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for the size of void*... 4 checking for endian.h... yes checking for machine/endian.h... no checking for sys/isa_defs.h... no checking for uint... yes checking for uint_t... no checking for uname.domainname... yes checking for uname.__domainname... no checking for gcc c++0x headers bug without rtti... no checking for visibility(hidden) attribute... yes checking for visibility(default) attribute... yes checking for visibility pragma support... yes checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking for gcc PR49911... no checking for gcc pr39608... no checking for llvm pr8927... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... yes checking for io.h... no checking for cpuid.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for new... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for dladdr... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether x86_64-pld-linux-gnux32-gcc accepts -pthread... yes checking whether x86_64-pld-linux-gnux32-gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for fchmod... yes checking for flockfile... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for getpagesize... yes checking for lchown... yes checking for localtime_r... yes checking for lstat64... yes checking for memmove... yes checking for random... yes checking for rint... no checking for sbrk... yes checking for snprintf... yes checking for stat64... yes checking for statvfs... yes checking for statvfs64... yes checking for strerror... yes checking for strtok_r... yes checking for truncate64... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for gnu_get_libc_version()... yes checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... no checking whether the C++ "using" keyword resolves ambiguity... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... no checking for trouble comparing to zero near std::operator!=()... no checking for __thread keyword for TLS variables... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking for nspr-config... /usr/bin/nspr-config checking for NSPR - version >= 4.9.2... yes checking for gzread in -lz... yes checking for pkg-config... /usr/bin/pkg-config checking for libffi >= 3.0.9... yes checking MOZ_FFI_CFLAGS... checking MOZ_FFI_LIBS... -lffi checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking for correct overload resolution with const and templates... no checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... none checking for readline in -lreadline... yes checking for posix_fallocate... yes checking for setlocale... yes checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.status Reticulating splines... Finished reading 6 moz.build files into 18 descriptors in 0.01s Backend executed in 0.02s 14 total backend files. 14 created; 0 updated; 0 unchanged Total wall time: 0.04s; CPU time: 0.04s; Efficiency: 100% invoking /usr/bin/gmake to create js24-config script Build configuration changed. Regenerating backend. Reticulating splines... Finished reading 6 moz.build files into 18 descriptors in 0.01s Backend executed in 0.02s 14 total backend files. 0 created; 0 updated; 14 unchanged Total wall time: 0.03s; CPU time: 0.03s; Efficiency: 99% rm -f js24-config.tmp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/_virtualenv/bin/python ./config/Preprocessor.py --marker % -Dprefix="/usr" -Dexec_prefix="/usr" -Dincludedir="/usr/include" -Dlibdir="/usr/libx32" -DMOZILLA_VERSION="24.2.0" -DLIBRARY_NAME="mozjs-24" -DJS_CONFIG_LIBS="-L/usr/libx32 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-version-script,symverscript -ldl -lm -lz -ldl" -DJS_CONFIG_MOZ_JS_LIBS="-L/usr/libx32 -lmozjs-24" -DMOZJS_MAJOR_VERSION="24" -DMOZJS_MINOR_VERSION="2" -DMOZJS_PATCH_VERSION="0" -DMOZJS_ALPHA="" -DNSPR_CFLAGS="-I/usr/include/nspr" -DNSPR_PKGCONF_CHECK="nspr >= 4.9.2" -DUSE_CXX11="" js-config.in > js24-config.tmp \ && mv js24-config.tmp js24-config && chmod +x js24-config + /usr/bin/make -Otarget -j9 'HOST_OPTIMIZE_FLAGS=' 'MODULE_OPTIMIZE_FLAGS=' 'MOZ_OPTIMIZE_FLAGS=-freorder-blocks' 'MOZ_PGO_OPTIMIZE_FLAGS=' 'MOZILLA_VERSION=24.2.0' /usr/bin/make export /usr/bin/make -C config/ nsinstall make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' pathsub.c x86_64-pld-linux-gnux32-gcc -o host_pathsub.o -c -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer -DXP_UNIX -freorder-blocks -DUNICODE -D_UNICODE -I../config -I. -I../dist/include -I/usr/include/nspr -I/usr/include/nspr /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/pathsub.c In file included from /usr/include/string.h:494, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/pathsub.c:17: In function 'strncpy', inlined from 'reversepath' at /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/pathsub.c:210:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' nsinstall.c x86_64-pld-linux-gnux32-gcc -o host_nsinstall.o -c -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer -DXP_UNIX -freorder-blocks -DUNICODE -D_UNICODE -I../config -I. -I../dist/include -I/usr/include/nspr -I/usr/include/nspr /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall.c make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' x86_64-pld-linux-gnux32-gcc -o nsinstall_real -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -fomit-frame-pointer -DXP_UNIX -freorder-blocks -DUNICODE -D_UNICODE -lpthread -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -Wl,--build-id -Wl,-rpath-link,../dist/bin -Wl,-rpath-link,/usr/lib host_nsinstall.o host_pathsub.o make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' cp nsinstall_real nsinstall.tmp mv nsinstall.tmp nsinstall make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' /usr/bin/make -C config export make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "nsinstall" "../dist/bin" make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' mkdir -p "system_wrappers_js/" make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' make[2]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/_virtualenv/bin/python ../config/Preprocessor.py -DNO_NSPR_10_SUPPORT -DMOZ_NATIVE_ZLIB=1 -DMOZILLA_VERSION=\"24.2.0\" -DMOZILLA_VERSION_U=24.2.0 -DMOZILLA_UAVERSION=\"24.0\" -DMOZJS_MAJOR_VERSION=24 -DMOZJS_MINOR_VERSION=2 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_BYTES_PER_WORD=4 -DJS_BITS_PER_WORD_LOG2=5 -DHAVE_ENDIAN_H=1 -DJS_HAVE_ENDIAN_H=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_CPUID_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DNEW_H=\<new\> -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DMOZ_UPDATE_CHANNEL=default -DRELEASE_BUILD=1 -DMOZ_DEBUG_SYMBOLS=1 -DJSGC_INCREMENTAL=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DJS_THREADSAFE=1 -DU_USING_ICU_NAMESPACE=0 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 \ ../config/system-headers | /usr/bin/perl ../config/make-system-wrappers.pl system_wrappers_js /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R system_wrappers_js ../dist make[2]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config' /usr/bin/make -C shell export make[2]: Nothing to be done for 'export'. /usr/bin/make -C jsapi-tests export make[2]: Nothing to be done for 'export'. /usr/bin/make -C tests export make[2]: Nothing to be done for 'export'. /usr/bin/make -C gdb export make[2]: Nothing to be done for 'export'. make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "js-config.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "js.msg" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsalloc.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsapi.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsclass.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsclist.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jscpucfg.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsdbgapi.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsfriendapi.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jslock.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./perf/jsperf.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsprf.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsprototypes.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsproxy.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsprvtd.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jspubtd.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jstypes.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsutil.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jsversion.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "jswrapper.h" "dist/include" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Assertions.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Atomics.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Attributes.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/BloomFilter.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Casting.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Char16.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/CheckedInt.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Compiler.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Constants.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/DebugOnly.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/decimal/Decimal.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Endian.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/EnumSet.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/FloatingPoint.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/GuardObjects.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/HashFunctions.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Likely.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/LinkedList.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/MathAlgorithms.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/MemoryChecking.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/MSStdInt.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/NullPtr.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/PodOperations.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Poison.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Range.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/RangedPtr.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/RefPtr.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Scoped.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/SHA1.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/SplayTree.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/StandardInteger.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/ThreadLocal.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/TypedEnum.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Types.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/TypeTraits.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/Util.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../../mfbt/WeakPtr.h" "dist/include/mozilla" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/Anchor.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/CallArgs.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/CharacterEncoding.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/Date.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/GCAPI.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/HashTable.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/HeapAPI.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/LegacyIntTypes.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/MemoryMetrics.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/PropertyKey.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/RequiredDefines.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/RootingAPI.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/TemplateLib.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/Utility.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/Value.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/config/nsinstall -R -m 644 "./../public/Vector.h" "dist/include/js" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/_virtualenv/bin/python ./builtin/embedjs.py -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -DMOZILLA_VERSION=\"24.2.0\" -DMOZILLA_VERSION_U=24.2.0 -DMOZILLA_UAVERSION=\"24.0\" -DMOZJS_MAJOR_VERSION=24 -DMOZJS_MINOR_VERSION=2 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_BYTES_PER_WORD=4 -DJS_BITS_PER_WORD_LOG2=5 -DHAVE_ENDIAN_H=1 -DJS_HAVE_ENDIAN_H=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_CPUID_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DNEW_H=\<new\> -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DMOZ_UPDATE_CHANNEL=default -DRELEASE_BUILD=1 -DMOZ_DEBUG_SYMBOLS=1 -DJSGC_INCREMENTAL=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DJS_THREADSAFE=1 -DU_USING_ICU_NAMESPACE=0 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 -DNDEBUG -DTRIMMED \ -p 'x86_64-pld-linux-gnux32-gcc -E' -m ./js.msg -o selfhosted.out.h ./builtin/Utilities.js ./builtin/Array.js ./builtin/Date.js ./builtin/Intl.js ./builtin/IntlData.js ./builtin/Number.js ./builtin/ParallelArray.js ./builtin/String.js make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /usr/bin/make libs make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' mkdir -p ".deps/" make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/_virtualenv/bin/python ./config/Preprocessor.py \ -DVERSION="mozjs_24" symverscript.in > symverscript make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsoplengen.cpp x86_64-pld-linux-gnux32-g++ -o host_jsoplengen.o -c -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsoplengen.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' x86_64-pld-linux-gnux32-g++ -o host_jsoplengen -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ./host_jsoplengen /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsautooplen.h make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jskwgen.cpp x86_64-pld-linux-gnux32-g++ -o host_jskwgen.o -c -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -I/usr/include/nspr /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jskwgen.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' x86_64-pld-linux-gnux32-g++ -o host_jskwgen -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ./host_jskwgen /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsautokw.h make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' diy-fp.cc x86_64-pld-linux-gnux32-g++ -o diy-fp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/diy-fp.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/diy-fp.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/diy-fp.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/diy-fp.cc:29: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' HashFunctions.cpp x86_64-pld-linux-gnux32-g++ -o HashFunctions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/HashFunctions.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/HashFunctions.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' cached-powers.cc x86_64-pld-linux-gnux32-g++ -o cached-powers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/cached-powers.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/cached-powers.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/cached-powers.cc:32: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Poison.cpp x86_64-pld-linux-gnux32-g++ -o Poison.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Poison.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/Poison.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' bignum-dtoa.cc x86_64-pld-linux-gnux32-g++ -o bignum-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/bignum-dtoa.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/bignum-dtoa.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/bignum-dtoa.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/bignum-dtoa.cc:30: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' fast-dtoa.cc x86_64-pld-linux-gnux32-g++ -o fast-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/fast-dtoa.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/fast-dtoa.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/fast-dtoa.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/fast-dtoa.cc:28: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' fixed-dtoa.cc x86_64-pld-linux-gnux32-g++ -o fixed-dtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/fixed-dtoa.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/fixed-dtoa.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/fixed-dtoa.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/fixed-dtoa.cc:30: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' strtod.cc x86_64-pld-linux-gnux32-g++ -o strtod.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/strtod.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/strtod.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/strtod.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/strtod.cc:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/strtod.cc: In function 'float double_conversion::Strtof(double_conversion::Vector<const char>, int)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/strtod.cc:509:9: warning: unused variable 'f2' [-Wunused-variable] 509 | float f2 = float_guess; | ^~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' bignum.cc x86_64-pld-linux-gnux32-g++ -o bignum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/bignum.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/bignum.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/bignum.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/bignum.cc:28: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' SHA1.cpp x86_64-pld-linux-gnux32-g++ -o SHA1.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/SHA1.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/SHA1.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' double-conversion.cc x86_64-pld-linux-gnux32-g++ -o double-conversion.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/double-conversion.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/double-conversion.cc In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/double-conversion.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/double-conversion.cc:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' DateTime.cpp x86_64-pld-linux-gnux32-g++ -o DateTime.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/DateTime.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/DateTime.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ExecutableAllocator.cpp x86_64-pld-linux-gnux32-g++ -o ExecutableAllocator.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ExecutableAllocator.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/assembler/jit/ExecutableAllocator.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/assembler/jit/ExecutableAllocator.cpp:30: ./dist/include/js/MemoryMetrics.h: In constructor 'JS::RuntimeSizes::RuntimeSizes()': ./dist/include/js/MemoryMetrics.h:130:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::RuntimeSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 130 | RuntimeSizes() { memset(this, 0, sizeof(RuntimeSizes)); } | ^ ./dist/include/js/MemoryMetrics.h:128:8: note: 'struct JS::RuntimeSizes' declared here 128 | struct RuntimeSizes | ^~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' CharacterEncoding.cpp x86_64-pld-linux-gnux32-g++ -o CharacterEncoding.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/CharacterEncoding.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/CharacterEncoding.cpp In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/CharacterEncoding.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/CharacterEncoding.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/CharacterEncoding.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/CharacterEncoding.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/CharacterEncoding.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Decimal.cpp x86_64-pld-linux-gnux32-g++ -o Decimal.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Decimal.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/decimal/Decimal.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/decimal/../double-conversion/double-conversion.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/decimal/moz-decimal-utils.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/decimal/Decimal.cpp:32: /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/decimal/../double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/mfbt/decimal/../double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' FoldConstants.cpp x86_64-pld-linux-gnux32-g++ -o FoldConstants.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/FoldConstants.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/FoldConstants.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/FoldConstants.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/FoldConstants.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./frontend/SharedContext.h:21, from ./frontend/FullParseHandler.h:13, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:14: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/FoldConstants.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FoldConstants.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' BytecodeCompiler.cpp x86_64-pld-linux-gnux32-g++ -o BytecodeCompiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/BytecodeCompiler.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsinfer.h:16, from ./jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsinfer.h:16, from ./jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from ./frontend/SharedContext.h:19, from ./frontend/BytecodeEmitter.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:10: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from ./frontend/SharedContext.h:19, from ./frontend/BytecodeEmitter.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:10: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./frontend/SharedContext.h:21, from ./frontend/BytecodeEmitter.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:10: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:9: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:16: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:9: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./frontend/BytecodeCompiler.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeCompiler.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, unsigned int>; HashPolicy = js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = unsigned int; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::SystemAllocPolicy]' ./ds/InlineMap.h:55:13: required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./ds/InlineMap.h:75:14: required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./ds/InlineMap.h:256:24: required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./frontend/BytecodeEmitter.h:171:45: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, unsigned int>, js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, unsigned int> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, unsigned int>, js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, unsigned int> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ArgumentsObject.cpp x86_64-pld-linux-gnux32-g++ -o ArgumentsObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ArgumentsObject.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject.h:10, from ./vm/ArgumentsObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject.h:10, from ./vm/ArgumentsObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./vm/ArgumentsObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/ScopeObject.h:10, from ./vm/ArgumentsObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:14: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./jsfun.h:13, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/ArgumentsObject.h:10, from ./vm/ArgumentsObject-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ArgumentsObject.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Eval.cpp x86_64-pld-linux-gnux32-g++ -o Eval.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Eval.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:15: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./vm/Stack.h:12, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:17: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./jsfun.h:13, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from ./builtin/Eval.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Eval.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' LifoAlloc.cpp x86_64-pld-linux-gnux32-g++ -o LifoAlloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/LifoAlloc.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/ds/LifoAlloc.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ForkJoin.cpp x86_64-pld-linux-gnux32-g++ -o ForkJoin.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ForkJoin.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/Interpreter-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:28: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ForkJoin.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' GlobalObject.cpp x86_64-pld-linux-gnux32-g++ -o GlobalObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/GlobalObject.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:24: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsobj.h:18, from ./jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Memory.cpp x86_64-pld-linux-gnux32-g++ -o Memory.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Memory.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Memory.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Memory.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Memory.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Memory.cpp:9: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Memory.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Memory.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Memory.cpp:9: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Memory.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Memory.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Iteration.cpp x86_64-pld-linux-gnux32-g++ -o Iteration.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Iteration.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:8: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:8: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsgcinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:14: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Iteration.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Monitor.cpp x86_64-pld-linux-gnux32-g++ -o Monitor.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Monitor.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Monitor.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Nursery.cpp x86_64-pld-linux-gnux32-g++ -o Nursery.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Nursery.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Nursery.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Intl.cpp x86_64-pld-linux-gnux32-g++ -o Intl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Intl.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:17: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:17: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:18: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:18: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:22: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:18: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:40: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:18: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./builtin/Intl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Intl.cpp:12: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Module.cpp x86_64-pld-linux-gnux32-g++ -o Module.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Module.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./vm/NumberObject.h:10, from ./jsobjinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./vm/NumberObject.h:10, from ./jsobjinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./jsfuninlines.h:14, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsnum.h:12, from ./vm/NumberObject.h:10, from ./jsobjinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:9: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Module.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' PageBlock.cpp x86_64-pld-linux-gnux32-g++ -o PageBlock.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/PageBlock.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/PageBlock.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' BytecodeEmitter.cpp x86_64-pld-linux-gnux32-g++ -o BytecodeEmitter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/BytecodeEmitter.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from ./frontend/SharedContext.h:19, from ./frontend/BytecodeEmitter.h:19, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from ./frontend/SharedContext.h:19, from ./frontend/BytecodeEmitter.h:19, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./frontend/SharedContext.h:21, from ./frontend/BytecodeEmitter.h:19, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./frontend/BytecodeEmitter.h:15, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:35: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./frontend/BytecodeEmitter.h:15, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, unsigned int>; HashPolicy = js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = unsigned int; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::SystemAllocPolicy]' ./ds/InlineMap.h:55:13: required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./ds/InlineMap.h:75:14: required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./ds/InlineMap.h:256:24: required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./frontend/BytecodeEmitter.h:171:45: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, unsigned int>, js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, unsigned int> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, unsigned int>, js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, unsigned int> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:32, from ./jsatom.h:14, from ./frontend/BytecodeEmitter.h:13, from ./frontend/BytecodeEmitter-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:11: ./dist/include/js/Vector.h: In member function 'bool js::frontend::CGTryNoteList::append(JSTryNoteKind, unsigned int, size_t, size_t)': ./dist/include/js/Vector.h:865:5: warning: 'note.JSTryNote::padding' may be used uninitialized in this function [-Wmaybe-uninitialized] 865 | new(endNoCheck()) T(u); | ^~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/BytecodeEmitter.cpp:6307:15: note: 'note.JSTryNote::padding' was declared here 6307 | JSTryNote note; | ^~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' MapObject.cpp x86_64-pld-linux-gnux32-g++ -o MapObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/MapObject.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./builtin/MapObject.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./builtin/MapObject.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./builtin/MapObject.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./builtin/MapObject.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:13: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./builtin/MapObject.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:18: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./builtin/MapObject.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./builtin/MapObject.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/MapObject.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' NameFunctions.cpp x86_64-pld-linux-gnux32-g++ -o NameFunctions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/NameFunctions.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:13: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:13: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./frontend/SharedContext.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:14: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./frontend/ParseNode.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:13: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:16: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./jsfun.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/NameFunctions.cpp:9: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ObjectImpl.cpp x86_64-pld-linux-gnux32-g++ -o ObjectImpl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ObjectImpl.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/Debugger.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:11: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.cpp:8: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Marking.cpp x86_64-pld-linux-gnux32-g++ -o Marking.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Marking.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsinfer.h:16, from ./jsscript.h:15, from ./jsgc.h:19, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsinfer.h:16, from ./jsscript.h:15, from ./jsgc.h:19, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:17: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jsapi.h:28, from ./jsclass.h:15, from ./jsgc.h:16, from ./gc/Marking.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Object.cpp x86_64-pld-linux-gnux32-g++ -o Object.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Object.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./jsfuninlines.h:14, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:11: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:17: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Object.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Object.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ParallelArray.cpp x86_64-pld-linux-gnux32-g++ -o ParallelArray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ParallelArray.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:8: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:8: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./builtin/ParallelArray.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:10: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./builtin/ParallelArray.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:10: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:12: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./builtin/ParallelArray.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:10: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:16: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:8: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/ParallelArray.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ParseNode.cpp x86_64-pld-linux-gnux32-g++ -o ParseNode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ParseNode.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:8: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:8: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./frontend/SharedContext.h:21, from ./frontend/FullParseHandler.h:13, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:9: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsobj.h:18, from ./builtin/Module.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseNode.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Probes.cpp x86_64-pld-linux-gnux32-g++ -o Probes.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Probes.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./vm/Probes.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./vm/Probes.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsobj.h:18, from ./vm/Probes.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes-inl.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Probes.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ParseMaps.cpp x86_64-pld-linux-gnux32-g++ -o ParseMaps.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ParseMaps.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/SharedContext.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/FullParseHandler.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:8: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, js::frontend::DefinitionList>; HashPolicy = js::HashMap<JSAtom*, js::frontend::DefinitionList, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::SystemAllocPolicy]' ./ds/InlineMap.h:55:13: required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; unsigned int InlineElems = 24]' ./ds/InlineMap.h:75:14: required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; unsigned int InlineElems = 24]' ./ds/InlineMap.h:256:24: required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; unsigned int InlineElems = 24]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps-inl.h:77:24: required from 'bool js::frontend::AtomDecls<ParseHandler>::addUnique(JSAtom*, js::frontend::AtomDecls<ParseHandler>::DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; js::frontend::AtomDecls<ParseHandler>::DefinitionNode = js::frontend::Definition*]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/ParseMaps.cpp:135:30: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList>, js::HashMap<JSAtom*, js::frontend::DefinitionList, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList>, js::HashMap<JSAtom*, js::frontend::DefinitionList, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' PropertyKey.cpp x86_64-pld-linux-gnux32-g++ -o PropertyKey.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/PropertyKey.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp In file included from ./vm/String.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp:13: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsatominlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp:15: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./vm/String.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp:13: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsatominlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp:15: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./vm/String.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp:13: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/String-inl.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.cpp:17: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./vm/String.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/PropertyKey.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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Profilers.cpp x86_64-pld-linux-gnux32-g++ -o Profilers.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Profilers.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp In file included from ./jscntxt.h:13, from ./jscntxtinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxtinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jscntxtinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxtinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jscntxtinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jscntxtinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./jscntxtinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/Profilers.cpp:22: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' RegExpStatics.cpp x86_64-pld-linux-gnux32-g++ -o RegExpStatics.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/RegExpStatics.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./vm/NumberObject.h:10, from ./jsobjinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./vm/NumberObject.h:10, from ./jsobjinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./jsfuninlines.h:14, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsnum.h:12, from ./vm/NumberObject.h:10, from ./jsobjinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsobj.h:18, from ./jsobjinlines.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpStatics.cpp:9: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' SPSProfiler.cpp x86_64-pld-linux-gnux32-g++ -o SPSProfiler.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/SPSProfiler.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.cpp In file included from ./jscntxt.h:13, from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.cpp:9: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.cpp:9: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.cpp:9: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' RootMarking.cpp x86_64-pld-linux-gnux32-g++ -o RootMarking.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/RootMarking.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:11: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:11: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:20: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:11: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:29: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:11: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/RootMarking.cpp:10: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' RegExp.cpp x86_64-pld-linux-gnux32-g++ -o RegExp.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/RegExp.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/RegExpObject.h:13, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/RegExpObject.h:13, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/RegExpObject.h:13, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/RegExpObject.h:13, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/RegExpObject.h:13, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:13: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/RegExpObject.h:13, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./builtin/RegExp.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/RegExp.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Debugger.cpp x86_64-pld-linux-gnux32-g++ -o Debugger.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Debugger.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/Debugger.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:25: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/Debugger.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jsapi.h:28, from ./vm/Debugger.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' StoreBuffer.cpp x86_64-pld-linux-gnux32-g++ -o StoreBuffer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/StoreBuffer.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/StoreBuffer.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Interpreter.cpp x86_64-pld-linux-gnux32-g++ -o Interpreter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Interpreter.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp In file included from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/Debugger.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:36: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from ./vm/BooleanObject-inl.h:12, from ./jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:40: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter.cpp:11: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' RegExpObject.cpp x86_64-pld-linux-gnux32-g++ -o RegExpObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/RegExpObject.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:14: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./vm/RegExpObject.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<js::RegExpCompartment::Key, js::RegExpShared*>; HashPolicy = js::HashMap<js::RegExpCompartment::Key, js::RegExpShared*, js::RegExpCompartment::Key, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = js::RegExpCompartment::Key; Value = js::RegExpShared*; HashPolicy = js::RegExpCompartment::Key; AllocPolicy = js::RuntimeAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/RegExpObject.cpp:673:16: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<js::RegExpCompartment::Key, js::RegExpShared*>, js::HashMap<js::RegExpCompartment::Key, js::RegExpShared*, js::RegExpCompartment::Key, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::RegExpCompartment::Key, js::RegExpShared*> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<js::RegExpCompartment::Key, js::RegExpShared*>, js::HashMap<js::RegExpCompartment::Key, js::RegExpShared*, js::RegExpCompartment::Key, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::RegExpCompartment::Key, js::RegExpShared*> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' SelfHosting.cpp x86_64-pld-linux-gnux32-g++ -o SelfHosting.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/SelfHosting.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:8: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:19: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::SelfHostedClass]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:91:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::SelfHostedClass'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:39:8: note: 'struct js::SelfHostedClass' declared here 39 | struct SelfHostedClass | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SelfHosting.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' StringBuffer.cpp x86_64-pld-linux-gnux32-g++ -o StringBuffer.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/StringBuffer.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./jsfuninlines.h:14, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:9: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Statistics.cpp x86_64-pld-linux-gnux32-g++ -o Statistics.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Statistics.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Statistics.cpp In file included from ./gc/Statistics.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Statistics.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Statistics.cpp:14: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./gc/Statistics.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Statistics.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Statistics.cpp:14: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsclass.h:15, from ./jsfriendapi.h:10, from ./gc/Statistics.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Statistics.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Unicode.cpp x86_64-pld-linux-gnux32-g++ -o Unicode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Unicode.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Unicode.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' TestingFunctions.cpp x86_64-pld-linux-gnux32-g++ -o TestingFunctions.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/TestingFunctions.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/TestingFunctions.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:10: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/TestingFunctions.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:10: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./builtin/TestingFunctions.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/ObjectImpl-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:20: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./builtin/TestingFunctions.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/builtin/TestingFunctions.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' String.cpp x86_64-pld-linux-gnux32-g++ -o String.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/String.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp In file included from ./vm/String.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:12: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./vm/String.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:12: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./vm/String.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:12: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./vm/String.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Shape.cpp x86_64-pld-linux-gnux32-g++ -o Shape.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Shape.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:13: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:13: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:14: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:14: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jscntxtinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:20: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:14: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:21: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:14: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.cpp:12: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' YarrCanonicalizeUCS2.cpp x86_64-pld-linux-gnux32-g++ -o YarrCanonicalizeUCS2.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/YarrCanonicalizeUCS2.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrCanonicalizeUCS2.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Stack.cpp x86_64-pld-linux-gnux32-g++ -o Stack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Stack.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsobj.h:19, from ./jsfun.h:13, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:13: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./vm/Stack.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:19: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ObjectImpl.h:15, from ./jsobj.h:26, from ./jsfun.h:13, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./jsfun.h:12, from ./vm/Stack.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ThreadPool.cpp x86_64-pld-linux-gnux32-g++ -o ThreadPool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ThreadPool.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ThreadPool.cpp In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ThreadPool.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ThreadPool.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ThreadPool.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ThreadPool.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ThreadPool.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Verifier.cpp x86_64-pld-linux-gnux32-g++ -o Verifier.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Verifier.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:8: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:8: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:9: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Verifier.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Xdr.cpp x86_64-pld-linux-gnux32-g++ -o Xdr.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Xdr.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./jsnum.h:12, from ./vm/Xdr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./jsnum.h:12, from ./vm/Xdr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./vm/Xdr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsnum.h:12, from ./vm/Xdr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/Debugger.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:16: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./vm/Shape-inl.h:29, from ./jsscriptinlines.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:18: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsnum.h:12, from ./vm/Xdr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jsnum.h:12, from ./vm/Xdr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jsapi.h:28, from ./vm/Xdr.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Xdr.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' YarrSyntaxChecker.cpp x86_64-pld-linux-gnux32-g++ -o YarrSyntaxChecker.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/YarrSyntaxChecker.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.cpp In file included from ./jsstr.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/wtfbridge.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/Yarr.h:34, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrParser.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jsstr.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/wtfbridge.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/Yarr.h:34, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrParser.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsstr.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/wtfbridge.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrSyntaxChecker.cpp:28: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsalloc.cpp x86_64-pld-linux-gnux32-g++ -o jsalloc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsalloc.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.cpp:9: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' TokenStream.cpp x86_64-pld-linux-gnux32-g++ -o TokenStream.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/TokenStream.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/TokenStream.cpp In file included from ./frontend/TokenStream.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/TokenStream.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/TokenStream.cpp:11: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/TokenStream.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/TokenStream.cpp:11: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./frontend/TokenStream.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/TokenStream.cpp:11: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Zone.cpp x86_64-pld-linux-gnux32-g++ -o Zone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Zone.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/Debugger.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:10: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' ScopeObject.cpp x86_64-pld-linux-gnux32-g++ -o ScopeObject.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/ScopeObject.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:18: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSPropertyDescriptor]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:1383:25: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSPropertyDescriptor'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:18, from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./jsapi.h:3342:8: note: 'struct JSPropertyDescriptor' declared here 3342 | struct JSPropertyDescriptor { | ^~~~~~~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from ./jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:9: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject> >; HashPolicy = js::HashMap<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject>, js::DefaultHasher<js::EncapsulatedPtr<JSObject> >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = js::EncapsulatedPtr<JSObject>; Value = js::RelocatablePtr<JSObject>; HashPolicy = js::DefaultHasher<js::EncapsulatedPtr<JSObject> >; AllocPolicy = js::RuntimeAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:1940:37: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject> >, js::HashMap<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject>, js::DefaultHasher<js::EncapsulatedPtr<JSObject> >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject> > >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject> >, js::HashMap<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject>, js::DefaultHasher<js::EncapsulatedPtr<JSObject> >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::EncapsulatedPtr<JSObject>, js::RelocatablePtr<JSObject> > >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject> >; HashPolicy = js::HashMap<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject>, js::ScopeIterKey, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = js::ScopeIterKey; Value = js::ReadBarriered<js::DebugScopeObject>; HashPolicy = js::ScopeIterKey; AllocPolicy = js::RuntimeAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:1941:37: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject> >, js::HashMap<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject>, js::ScopeIterKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject> > >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject> >, js::HashMap<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject>, js::ScopeIterKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::ScopeIterKey, js::ReadBarriered<js::DebugScopeObject> > >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<js::ScopeObject*, js::AbstractFramePtr>; HashPolicy = js::HashMap<js::ScopeObject*, js::AbstractFramePtr, js::DefaultHasher<js::ScopeObject*>, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = js::ScopeObject*; Value = js::AbstractFramePtr; HashPolicy = js::DefaultHasher<js::ScopeObject*>; AllocPolicy = js::RuntimeAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject.cpp:1942:34: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<js::ScopeObject*, js::AbstractFramePtr>, js::HashMap<js::ScopeObject*, js::AbstractFramePtr, js::DefaultHasher<js::ScopeObject*>, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::ScopeObject*, js::AbstractFramePtr> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<js::ScopeObject*, js::AbstractFramePtr>, js::HashMap<js::ScopeObject*, js::AbstractFramePtr, js::DefaultHasher<js::ScopeObject*>, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::ScopeObject*, js::AbstractFramePtr> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' Parser.cpp x86_64-pld-linux-gnux32-g++ -o Parser.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Parser.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsinfer.h:16, from ./jsscript.h:15, from ./frontend/ParseNode.h:12, from ./frontend/FullParseHandler.h:12, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsinfer.h:16, from ./jsscript.h:15, from ./frontend/ParseNode.h:12, from ./frontend/FullParseHandler.h:12, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from ./frontend/FullParseHandler.h:12, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./frontend/TokenStream.h:20, from ./frontend/ParseNode.h:14, from ./frontend/FullParseHandler.h:12, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./jsweakmap.h:12, from ./vm/ScopeObject.h:12, from ./frontend/SharedContext.h:21, from ./frontend/FullParseHandler.h:13, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./frontend/ParseNode.h:12, from ./frontend/FullParseHandler.h:12, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:39: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./frontend/ParseNode.h:12, from ./frontend/FullParseHandler.h:12, from ./frontend/Parser.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsprvtd.h:24, from ./frontend/Parser.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:20: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, js::frontend::DefinitionList>; HashPolicy = js::HashMap<JSAtom*, js::frontend::DefinitionList, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::SystemAllocPolicy]' ./ds/InlineMap.h:55:13: required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; unsigned int InlineElems = 24]' ./ds/InlineMap.h:75:14: required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; unsigned int InlineElems = 24]' ./ds/InlineMap.h:256:24: required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; unsigned int InlineElems = 24]' ./frontend/ParseMaps-inl.h:77:24: required from 'bool js::frontend::AtomDecls<ParseHandler>::addUnique(JSAtom*, js::frontend::AtomDecls<ParseHandler>::DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; js::frontend::AtomDecls<ParseHandler>::DefinitionNode = js::frontend::Definition*]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:163:39: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList>, js::HashMap<JSAtom*, js::frontend::DefinitionList, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList>, js::HashMap<JSAtom*, js::frontend::DefinitionList, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, js::frontend::DefinitionList> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, js::frontend::DefinitionSingle>; HashPolicy = js::HashMap<JSAtom*, js::frontend::DefinitionSingle, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionSingle; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::SystemAllocPolicy]' ./ds/InlineMap.h:55:13: required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionSingle; unsigned int InlineElems = 24]' ./ds/InlineMap.h:75:14: required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; unsigned int InlineElems = 24]' ./ds/InlineMap.h:256:24: required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; unsigned int InlineElems = 24]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:1247:9: required from 'typename ParseHandler::DefinitionNode js::frontend::Parser<ParseHandler>::getOrCreateLexicalDependency(js::frontend::ParseContext<ParseHandler>*, JSAtom*) [with ParseHandler = js::frontend::FullParseHandler; typename ParseHandler::DefinitionNode = js::frontend::Definition*]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:1343:70: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, js::frontend::DefinitionSingle>, js::HashMap<JSAtom*, js::frontend::DefinitionSingle, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, js::frontend::DefinitionSingle> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, js::frontend::DefinitionSingle>, js::HashMap<JSAtom*, js::frontend::DefinitionSingle, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, js::frontend::DefinitionSingle> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSAtom*, unsigned int>; HashPolicy = js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSAtom*; Value = unsigned int; HashPolicy = js::DefaultHasher<JSAtom*>; AllocPolicy = js::SystemAllocPolicy]' ./ds/InlineMap.h:55:13: required from 'bool js::InlineMap<K, V, InlineElems>::switchToMap() [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./ds/InlineMap.h:75:14: required from 'bool js::InlineMap<K, V, InlineElems>::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' ./ds/InlineMap.h:256:24: required from 'bool js::InlineMap<K, V, InlineElems>::add(js::InlineMap<K, V, InlineElems>::AddPtr&, const K&, const V&) [with K = JSAtom*; V = unsigned int; unsigned int InlineElems = 24]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:6720:27: required from 'typename ParseHandler::Node js::frontend::Parser<ParseHandler>::primaryExpr(js::frontend::TokenKind) [with ParseHandler = js::frontend::FullParseHandler; typename ParseHandler::Node = js::frontend::ParseNode*]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/frontend/Parser.cpp:5835:33: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSAtom*, unsigned int>, js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, unsigned int> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSAtom*, unsigned int>, js::HashMap<JSAtom*, unsigned int, js::DefaultHasher<JSAtom*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSAtom*, unsigned int> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsbool.cpp x86_64-pld-linux-gnux32-g++ -o jsbool.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsbool.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:15: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:15: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:19: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:22: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsbool.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' YarrInterpreter.cpp x86_64-pld-linux-gnux32-g++ -o YarrInterpreter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/YarrInterpreter.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.cpp In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.cpp:29: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.cpp:29: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.cpp:29: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.cpp:29: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.cpp:29: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsanalyze.cpp x86_64-pld-linux-gnux32-g++ -o jsanalyze.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsanalyze.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:16: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:16: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*, size_t) [with T = js::analyze::SSAUseChain; size_t = unsigned int]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:1292:41: required from here ./dist/include/mozilla/PodOperations.h:43: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] 43 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.cpp:7: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' YarrPattern.cpp x86_64-pld-linux-gnux32-g++ -o YarrPattern.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/YarrPattern.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.cpp In file included from ./jsstr.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/wtfbridge.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.cpp:29: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/Yarr.h:34, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.cpp:31: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jsstr.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/wtfbridge.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.cpp:29: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrInterpreter.h:31, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/Yarr.h:34, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.cpp:31: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from ./jsstr.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/wtfbridge.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/yarr/YarrPattern.cpp:29: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jscrashreport.cpp x86_64-pld-linux-gnux32-g++ -o jscrashreport.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jscrashreport.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscrashreport.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsclone.cpp x86_64-pld-linux-gnux32-g++ -o jsclone.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsclone.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jstypedarrayinlines.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:38: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:31: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = JSObject* const; HashPolicy = js::HashSet<JSObject*>::SetOps; AllocPolicy = js::TempAllocPolicy]': ./dist/include/js/HashTable.h:397:57: required from 'void js::HashSet<T, HashPolicy, AllocPolicy>::clear() [with T = JSObject*; HashPolicy = js::DefaultHasher<JSObject*>; AllocPolicy = js::TempAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:478:9: required from 'void JS::AutoHashSetRooter<T>::clear() [with T = JSObject*]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:447:31: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<JSObject* const, js::HashSet<JSObject*>::SetOps, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<JSObject* const>'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<JSObject* const, js::HashSet<JSObject*>::SetOps, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<JSObject* const>'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<JSObject*, unsigned int>; HashPolicy = js::HashMap<JSObject*, unsigned int, js::DefaultHasher<JSObject*>, js::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSObject*; Value = unsigned int; HashPolicy = js::DefaultHasher<JSObject*>; AllocPolicy = js::TempAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:363:9: required from 'void JS::AutoHashMapRooter<Key, Value>::clear() [with Key = JSObject*; Value = unsigned int]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:781:18: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<JSObject*, unsigned int>, js::HashMap<JSObject*, unsigned int, js::DefaultHasher<JSObject*>, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSObject*, unsigned int> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<JSObject*, unsigned int>, js::HashMap<JSObject*, unsigned int, js::DefaultHasher<JSObject*>, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<JSObject*, unsigned int> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp: In member function 'bool js::SCInput::getPair(uint32_t*, uint32_t*)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:230:12: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized] 230 | *datap = uint32_t(u); | ~~~~~~~^~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp: In member function 'bool JSStructuredCloneReader::readTransferMap()': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:230:12: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized] 230 | *datap = uint32_t(u); | ~~~~~~~^~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:225:14: note: 'u' was declared here 225 | uint64_t u; | ^ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:230:12: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized] 230 | *datap = uint32_t(u); | ~~~~~~~^~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.cpp:225:14: note: 'u' was declared here 225 | uint64_t u; | ^ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsatom.cpp x86_64-pld-linux-gnux32-g++ -o jsatom.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsatom.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:22: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.cpp:10: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsdtoa.cpp x86_64-pld-linux-gnux32-g++ -o jsdtoa.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsdtoa.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdtoa.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jscntxt.cpp x86_64-pld-linux-gnux32-g++ -o jscntxt.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jscntxt.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:49: ./dist/include/js/MemoryMetrics.h: In constructor 'JS::RuntimeSizes::RuntimeSizes()': ./dist/include/js/MemoryMetrics.h:130:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::RuntimeSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 130 | RuntimeSizes() { memset(this, 0, sizeof(RuntimeSizes)); } | ^ ./dist/include/js/MemoryMetrics.h:128:8: note: 'struct JS::RuntimeSizes' declared here 128 | struct RuntimeSizes | ^~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:30: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:54: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsalloc.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./dist/include/js/Utility.h: In instantiation of 'void js_delete_poison(T*) [with T = JSContext]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:404:24: required from here ./dist/include/js/Utility.h:509:15: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct JSContext' with no trivial copy-assignment [-Wclass-memaccess] 509 | memset(p, 0x3B, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:1665:8: note: 'struct JSContext' declared here 1665 | struct JSContext : js::ThreadSafeContext, | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jscompartment.cpp x86_64-pld-linux-gnux32-g++ -o jscompartment.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jscompartment.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:26: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.cpp:7: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsfriendapi.cpp x86_64-pld-linux-gnux32-g++ -o jsfriendapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsfriendapi.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:13: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:23: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfriendapi.cpp:7: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsdbgapi.cpp x86_64-pld-linux-gnux32-g++ -o jsdbgapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsdbgapi.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Debugger.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:29: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:38: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdbgapi.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsapi.cpp x86_64-pld-linux-gnux32-g++ -o jsapi.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsapi.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:26: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:26: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:29: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:29: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsweakmap.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:47: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:78: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:26, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:26: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclone.h:11, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:29: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsarray.cpp x86_64-pld-linux-gnux32-g++ -o jsarray.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsarray.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxtinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:33: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:16: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Interpreter-inl.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:37: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:26, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.cpp:7: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsexn.cpp x86_64-pld-linux-gnux32-g++ -o jsexn.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsexn.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:20: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:20: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp: In function 'bool InitExnPrivate(JSContext*, JS::HandleObject, JS::HandleString, JS::HandleString, unsigned int, unsigned int, JSErrorReport*, int)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:300:27: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct JSExnPrivate' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(priv, 0, nbytes); | ^ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:84:8: note: 'struct JSExnPrivate' declared here 84 | struct JSExnPrivate | ^~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:20: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:20: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:26: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:20: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:30: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:20: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsexn.cpp:10: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsnativestack.cpp x86_64-pld-linux-gnux32-g++ -o jsnativestack.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsnativestack.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnativestack.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsdate.cpp x86_64-pld-linux-gnux32-g++ -o jsdate.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsdate.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:40: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:46: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsdate.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsmath.cpp x86_64-pld-linux-gnux32-g++ -o jsmath.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsmath.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:35: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:37: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jslibmath.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:18: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.h:10, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:16: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp: In function 'uint64_t random_generateSeed()': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmath.cpp:620:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] 620 | read(fd, seed.u8, mozilla::ArrayLength(seed.u8)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsfun.cpp x86_64-pld-linux-gnux32-g++ -o jsfun.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsfun.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:21: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:21: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:30: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:21: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:36: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:26, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfun.cpp:10: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsmemorymetrics.cpp x86_64-pld-linux-gnux32-g++ -o jsmemorymetrics.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsmemorymetrics.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:7: ./dist/include/js/MemoryMetrics.h: In constructor 'JS::RuntimeSizes::RuntimeSizes()': ./dist/include/js/MemoryMetrics.h:130:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::RuntimeSizes'; use assignment or value-initialization instead [-Wclass-memaccess] 130 | RuntimeSizes() { memset(this, 0, sizeof(RuntimeSizes)); } | ^ ./dist/include/js/MemoryMetrics.h:128:8: note: 'struct JS::RuntimeSizes' declared here 128 | struct RuntimeSizes | ^~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:13: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:22: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsmemorymetrics.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsiter.cpp x86_64-pld-linux-gnux32-g++ -o jsiter.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsiter.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./vm/ScopeObject-inl.h:13, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Marking.h:17, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:27: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Stack-inl.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinferinlines.h:30, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:34: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NativeIterator]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:432:15: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::NativeIterator' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:27:8: note: 'struct js::NativeIterator' declared here 27 | struct NativeIterator | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsiter.cpp:9: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsperf.cpp x86_64-pld-linux-gnux32-g++ -o jsperf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsperf.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.h:9, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:6: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:8: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.h:9, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:6: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:8: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.h:9, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:6: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./gc/Zone.h:22, from ./jscompartment.h:16, from ./vm/ObjectImpl-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:11: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.h:9, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/perf/jsperf.cpp:6: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsnum.cpp x86_64-pld-linux-gnux32-g++ -o jsnum.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsnum.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp In file included from ./yarr/CheckedArithmetic.h:31, from ./yarr/wtfbridge.h:22, from ./yarr/MatchResult.h:31, from ./vm/RegExpObject.h:21, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:35: ./assembler/wtf/Assertions.h:40: warning: "ASSERT" redefined 40 | #define ASSERT(assertion) MOZ_ASSERT(assertion) | In file included from ./../../mfbt/double-conversion/double-conversion.h:32, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:17: ./../../mfbt/double-conversion/utils.h:36: note: this is the location of the previous definition 36 | #define ASSERT(condition) (assert(condition)) | ./../../mfbt/double-conversion/utils.h: In function 'Dest double_conversion::BitCast(const Source&)': ./../../mfbt/double-conversion/utils.h:283:16: warning: typedef 'VerifySizesAreEqual' locally defined but not used [-Wunused-local-typedefs] 283 | typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1]; | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:35: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/NumberObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:41: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsnum.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsprf.cpp x86_64-pld-linux-gnux32-g++ -o jsprf.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsprf.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprf.cpp make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsonparser.cpp x86_64-pld-linux-gnux32-g++ -o jsonparser.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsonparser.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jsstr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jsstr.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/String.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:12: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:12: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:17: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ObjectImpl.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobj.h:26, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsarray.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:11: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsonparser.cpp:7: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' json.cpp x86_64-pld-linux-gnux32-g++ -o json.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/json.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': ./jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from ./jsatom.h:18, from ./jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': ./jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': ./jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from ./jsfuninlines.h:14, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:20, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./vm/ScopeObject-inl.h:12, from ./jsfuninlines.h:16, from ./jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/BooleanObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsboolinlines.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:27: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./jscntxt.h:13, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsscript.h:15, from ./jsgc.h:19, from ./jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from ./jsapi.h:28, from ./jscntxt.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/StringBuffer.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/json.cpp:7: ./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:186: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:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsopcode.cpp x86_64-pld-linux-gnux32-g++ -o jsopcode.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsopcode.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:40: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:40: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsatom.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:21, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:40: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:23, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsanalyze.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:22: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsprvtd.h:24, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsopcode.cpp:11: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' make[1]: Entering directory '/tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src' jsgc.cpp x86_64-pld-linux-gnux32-g++ -o jsgc.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -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 -mtune=generic -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 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsgc.o.pp /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:513:87: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 513 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::HeapSlot)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h: In member function 'void JSObject::moveDenseElementsUnbarriered(uint32_t, uint32_t, uint32_t)': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:526:80: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class js::HeapSlot' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 526 | memmove(elements + dstStart, elements + srcStart, count * sizeof(js::Value)); | ^ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Barrier.h:467:7: note: 'class js::HeapSlot' declared here 467 | class HeapSlot : public EncapsulatedValue | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ConservativeGCData]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:181:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:51: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:155:8: note: 'struct js::ConservativeGCData' declared here 155 | struct ConservativeGCData | ^~~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:362:45: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:51: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscntxt.h:317:7: note: 'class js::NewObjectCache' declared here 317 | class NewObjectCache | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': ./jit/IonCode.h:640:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./gc/Marking.h:17, from ./vm/RegExpObject.h:17, from ./builtin/RegExp.h:13, from ./vm/GlobalObject.h:18, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/gc/Zone.h:22, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jscompartment.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:51: ./jit/IonCode.h:627:8: note: 'struct js::jit::IonScriptCounts' declared here 627 | struct IonScriptCounts | ^~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::Bytecode]': ./jsanalyze.h:58:39: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: ./jsanalyze.h:53:7: note: 'class js::analyze::Bytecode' declared here 53 | class Bytecode | ^~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAPhiNode]': ./jsanalyze.h:632:41: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: ./jsanalyze.h:625:8: note: 'struct js::analyze::SSAPhiNode' declared here 625 | struct SSAPhiNode | ^~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::SSAUseChain]': ./jsanalyze.h:674:42: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: ./jsanalyze.h:662:7: note: 'class js::analyze::SSAUseChain' declared here 662 | class SSAUseChain | ^~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::analyze::ScriptAnalysis]': ./jsanalyze.h:738:30: required from here ./dist/include/mozilla/PodOperations.h:29:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::analyze::ScriptAnalysis'; use assignment instead [-Wclass-memaccess] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from ./jsinferinlines.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: ./jsanalyze.h:688:7: note: 'class js::analyze::ScriptAnalysis' declared here 688 | class ScriptAnalysis | ^~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': ./vm/Shape-inl.h:54:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:20, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/Shape.h:231:7: note: 'class js::BaseShape' declared here 231 | class BaseShape : public js::gc::Cell | ^~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::AllocationSiteKey]': ./jsinferinlines.h:857:48: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/ScopeObject-inl.h:12, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsfuninlines.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsobjinlines.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:73: ./jsinferinlines.h:849:8: note: 'struct js::types::AllocationSiteKey' declared here 849 | struct AllocationSiteKey { | ^~~~~~~~~~~~~~~~~ In file included from ./dist/include/js/HashTable.h:14, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./dist/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::types::TypeObject]': ./jsinferinlines.h:1526:26: required from here ./dist/include/mozilla/PodOperations.h:29:9: 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] 29 | memset(t, 0, sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsscript.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:19, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsinfer.h:945:8: note: 'struct js::types::TypeObject' declared here 945 | struct TypeObject : gc::Cell | ^~~~~~~~~~ In file included from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsapi.h:28, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsclass.h:15, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.h:16, from /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:9: ./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:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher<JSScript*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/vm/SPSProfiler.h:192:41: required from here ./dist/include/js/HashTable.h:1287: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 [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606: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 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::gc::Chunk* const; HashPolicy = js::HashSet<js::gc::Chunk*, js::GCChunkHasher, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:397:57: required from 'void js::HashSet<T, HashPolicy, AllocPolicy>::clear() [with T = js::gc::Chunk*; HashPolicy = js::GCChunkHasher; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:1009:26: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::gc::Chunk* const, js::HashSet<js::gc::Chunk*, js::GCChunkHasher, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::gc::Chunk* const>'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::gc::Chunk* const, js::HashSet<js::gc::Chunk*, js::GCChunkHasher, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::gc::Chunk* const>'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable<T, HashPolicy, AllocPolicy>::clear() [with T = js::HashMapEntry<void*, js::RootInfo>; HashPolicy = js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': ./dist/include/js/HashTable.h:186:57: required from 'void js::HashMap<Key, Value, HashPolicy, AllocPolicy>::clear() [with Key = void*; Value = js::RootInfo; HashPolicy = js::DefaultHasher<void*>; AllocPolicy = js::SystemAllocPolicy]' /tmp/B.JY942R/BUILD/mozjs-24.2.0/js/src/jsgc.cpp:1013:27: required from here ./dist/include/js/HashTable.h:1287:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<void*, js::RootInfo>, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<void*, js::RootInfo> >'} with no trivial copy-assignment [-Wclass-memaccess] 1287 | memset(table, 0, sizeof(*table) * capacity()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dist/include/js/HashTable.h:606:7: note: 'js::detail::HashTable<js::HashMapEntry<void*, js::RootInfo>, js::HashMap<void*, js::RootInfo, js::DefaultHasher<void*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<void*, js::RootInfo> >'} declared here 606 | class HashTableEntry | ^~~~~~~~~~~~~~ ./dist/include/js/HashTable.h: In instantiatio