Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lpg.spec'], chrootPath='/var/lib/mock/f31-build-72658-30818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lpg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/lpg-2.0.17-29.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lpg.spec'], chrootPath='/var/lib/mock/f31-build-72658-30818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lpg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.naQCAA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lpg-1.1.0 + /usr/bin/mkdir -p lpg-1.1.0 + cd lpg-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + unzip -qq /builddir/build/SOURCES/lpg-java-runtime-src-2.0.17.zip -d lpg-java-runtime + unzip -qq /builddir/build/SOURCES/lpg-generator-cpp-src-2.0.17.zip -d lpg-generator-cpp + unzip -qq /builddir/build/SOURCES/lpg-generator-templates-2.0.17.zip -d lpg-generator-templates + chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lpg-1.1.0 + /usr/bin/unzip -qq /builddir/build/SOURCES/lpgdistribution-05-16-06.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/lpg-build.xml lpgdistribution/build.xml + cp -p /builddir/build/SOURCES/lpg-manifest.mf lpgdistribution/MANIFEST.MF + echo 'Patch #0 (lpg-bootstrap-target.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .orig --fuzz=0 + echo 'Patch #1 (lpg-osgi-jar.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .orig --fuzz=0 + echo 'Patch #2 (lpg-segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .orig --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (lpg-bootstrap-target.patch): patching file lpg-generator-cpp/src/Makefile Patch #1 (lpg-osgi-jar.patch): patching file lpg-java-runtime/META-INF/MANIFEST.MF patching file lpg-java-runtime/exportPlugin.xml Patch #2 (lpg-segfault.patch): patching file lpg-generator-cpp/src/tuple.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RPlgfz + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + cd lpg-java-runtime + ant -f exportPlugin.xml + cd lpgdistribution + ant + pushd lpg-generator-cpp/src + make clean install ARCH=linux_x86 'LOCAL_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow' 'LOCAL_CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow' BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from CAction.h:4, BUILDSTDERR: from CAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from CTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from CppAction.h:4, BUILDSTDERR: from CppAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ Buildfile: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/exportPlugin.xml init: javaInit: [echo] Java source compatibility = 1.5 [echo] Java target compatibility = 1.5 build.plugin.jar: [echo] basedir = /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime [mkdir] Created dir: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp [mkdir] Created dir: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [javac] Compiling 49 source files to /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [copy] Copying 1 file to /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [jar] Building jar: /builddir/build/BUILD/lpg-1.1.0/lpg-java-runtime/lpgruntime.jar BUILD SUCCESSFUL Total time: 1 minute 37 seconds Buildfile: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/build.xml init: all: [echo] basedir = /builddir/build/BUILD/lpg-1.1.0/lpgdistribution [delete] Deleting directory /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/bin [mkdir] Created dir: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/bin [javac] Compiling 38 source files to /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [delete] Deleting: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/lpgjavaruntime.jar [jar] Building jar: /builddir/build/BUILD/lpg-1.1.0/lpgdistribution/lpgjavaruntime.jar BUILD SUCCESSFUL Total time: 1 minute 21 seconds ~/build/BUILD/lpg-1.1.0/lpg-generator-cpp/src ~/build/BUILD/lpg-1.1.0 rm -f core ,* *~ *.bak rm -f *.o gmon.out mon.out TAGS tags g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CppAction.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwindIn file included from partition.h:3, BUILDSTDERR: from CppTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from JavaAction.cpp:2: BUILDSTDERR: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': BUILDSTDERR: NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] BUILDSTDERR: 22 | BoundedArray< Tuple > &global_map; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] BUILDSTDERR: 21 | Array &user_specified_null_ast; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: NTC.h:78:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from CTC.h:4, BUILDSTDERR: from JavaAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: CTC.h:67:72: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': BUILDSTDERR: CTC.h:77:58: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from CTC.h:5, BUILDSTDERR: from JavaAction.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from CTC.h:4, BUILDSTDERR: from JavaAction.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1338:76: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1339:74: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1370:76: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1371:74: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from JavaTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from LexStream.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from MlAction.h:4, BUILDSTDERR: from MlAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from MlTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from PlxAction.h:4, BUILDSTDERR: from PlxAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from PlxTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from PlxasmAction.h:4, BUILDSTDERR: from PlxasmAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from PlxasmTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from XmlAction.h:4, BUILDSTDERR: from XmlAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: XmlTable.cpp: In member function 'virtual void XmlTable::PrintTables()': BUILDSTDERR: XmlTable.cpp:85:19: warning: variable 'in_symb_info' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 85 | *in_symb_info = NULL; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from table.h:4, BUILDSTDERR: from XmlTable.h:4, BUILDSTDERR: from XmlTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ -tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CppTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c JavaAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c JavaTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c LexStream.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c MlAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c MlTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxasmAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxasmTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c XmlAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c XmlTable.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 In file included from Action.cpp:1: BUILDSTDERR: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': BUILDSTDERR: NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] BUILDSTDERR: 22 | BoundedArray< Tuple > &global_map; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] BUILDSTDERR: 21 | Array &user_specified_null_ast; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: NTC.h:78:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from NTC.h:4, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: CTC.h:67:72: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': BUILDSTDERR: CTC.h:77:58: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from NTC.h:5, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from NTC.h:4, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': BUILDSTDERR: LCA.h:71:70: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from NTC.h:5, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from NTC.h:4, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'SimpleMacroSymbol* Action::InsertFilterMacro(const char*, char*)' at Action.h:116:16, BUILDSTDERR: inlined from 'void Action::SetupBuiltinMacros()' at Action.cpp:206:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:11, BUILDSTDERR: from control.h:5, BUILDSTDERR: from NTC.h:5, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: Action.h: In member function 'void Action::SetupBuiltinMacros()': BUILDSTDERR: Action.h:113:28: note: length computed here BUILDSTDERR: 113 | int length = strlen(name); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: base.cpp: In member function 'void Base::Process()': BUILDSTDERR: base.cpp:249:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 249 | if (! generates_string[nt]) BUILDSTDERR: | ^ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': BUILDSTDERR: base.cpp:30:73: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: base.cpp:38:73: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': BUILDSTDERR: base.cpp:303:77: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': BUILDSTDERR: base.cpp:482:47: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: base.cpp:506:50: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from control.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from dfa.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from diagnose.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from diagnose.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintPrimaryMessage(int, int, Location, Location, int)' at diagnose.cpp:1934:47: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2065:47: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2067:50: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2069:50: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from generator.h:4, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSetWithOffset]': BUILDSTDERR: generator.cpp:356:53: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from generator.h:5, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from generator.h:4, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': BUILDSTDERR: generator.cpp:360:52: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from generator.h:5, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from grammar.cpp:2: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from grammar.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: jikespg.cpp: In function 'int main(int, char**)': BUILDSTDERR: jikespg.cpp:81:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: 81 | catch (bad_alloc b) BUILDSTDERR: | ^ BUILDSTDERR: In file included from symbol.h:4, BUILDSTDERR: from jikespg.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c Action.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c base.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c buffer.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c code.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c control.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c dfa.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c diagnose.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c dump.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c generator.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c grammar.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronouIn file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from Stacks.h:5, BUILDSTDERR: from jikespg.g:131, BUILDSTDERR: from jikespg_act.cpp:2: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from Stacks.h:5, BUILDSTDERR: from jikespg.g:131, BUILDSTDERR: from jikespg.g:315: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from option.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from option.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:38:36: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:42:37: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from Stacks.h:5, BUILDSTDERR: from jikespg.g:131, BUILDSTDERR: from parser.h:5, BUILDSTDERR: from parser.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from pda.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': BUILDSTDERR: pda.cpp:99:39: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from pda.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from produce.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: produce.cpp:34:80: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': BUILDSTDERR: produce.cpp:35:79: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from produce.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: resolve.cpp: In member function 'void Resolve::process_conflicts(int)': BUILDSTDERR: resolve.cpp:658:16: warning: unused variable 'otherEndToken' [-Wunused-variable] BUILDSTDERR: 658 | Token *otherEndToken = ls -> GetTokenReference(otherTokenEnd); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from resolve.h:4, BUILDSTDERR: from resolve.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from resolve.h:4, BUILDSTDERR: from resolve.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'void Resolve::process_conflicts(int)' at resolve.cpp:665:59: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scanner.cpp: In member function 'void Scanner::ClassifySingleQuotedSymbol()': BUILDSTDERR: scanner.cpp:1277:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1277 | if (ptr[0] == delimiter) BUILDSTDERR: | ^ BUILDSTDERR: scanner.cpp: In member function 'void Scanner::ClassifyDoubleQuotedSymbol()': BUILDSTDERR: scanner.cpp:1336:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1336 | if (ptr[0] == delimiter) BUILDSTDERR: | ^ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from scanner.cpp:2: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from scanner.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from sp.h:4, BUILDSTDERR: from sp.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: sp.cpp:601:48: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: sp.cpp:604:44: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: sp.cpp:605:47: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ s-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg_act.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg_init.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg_prs.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c option.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c parser.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c pda.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c produce.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c resolve.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c scanner.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c sp.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c symbol.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c tab.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSEIn file included from table.h:4, BUILDSTDERR: from table.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ + make bootstrap ARCH=linux_x86 RTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c table.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c util.cpp g++ CAction.o CTable.o CppAction.o CppTable.o JavaAction.o JavaTable.o LexStream.o MlAction.o MlTable.o PlxAction.o PlxTable.o PlxasmAction.o PlxasmTable.o XmlAction.o XmlTable.o Action.o base.o buffer.o code.o control.o dfa.o diagnose.o dump.o generator.o grammar.o jikespg.o jikespg_act.o jikespg_init.o jikespg_prs.o option.o parser.o pda.o produce.o resolve.o scanner.o sp.o symbol.o tab.o table.o util.o -o lpg-linux_x86 Installing targets and headers: cp lpg-linux_x86 ..//bin/lpg-linux_x86 ../bin/lpg-linux_x86 jikespg.g IBM LALR Parser Generator Version 2.0.17 (Jul 25 2019) (C) Copyright IBM Corp. 1984, 2006. Options in effect for jikespg.g: ACTION-BLOCK=("jikespg_act.cpp","/.","./") ACTION-BLOCK=("jikespg_init.cpp","/:",":/") ACTION-BLOCK=("jikespg_act.h","/!","!/") AST-DIRECTORY="" AST-TYPE="Ast" NOATTRIBUTES NOAUTOMATIC-AST NOBACKTRACK BYTE CONFLICTS DAT-DIRECTORY="" DAT-FILE="jikespg_dcl.data" DCL-FILE="jikespg_prs.cpp" NODEBUG DEF-FILE="jikespg_def.cpp" NOEDIT ERROR-MAPS ESCAPE='$' EXPORT-TERMINALS=("jikespg_exp.h","","") EXTENDS-PARSETABLE FACTORY="new " FILE-PREFIX="jikespg_" NOFIRST NOFOLLOW NOGLR NOGOTO-DEFAULT GRM-FILE="jikespg.g" IMP-FILE="jikespg_imp.h" INCLUDE-DIRECTORY="" LALR=3 LEGACY NOLIST MARGIN=8 MAX-CASES=1024 NAMES=OPTIMIZED NONT-CHECK OR_MARKER='|' OUT-DIRECTORY="" PACKAGE="" NOPARENT-SAVE NOPARSETABLE-INTERFACES PREFIX="TK_" PRIORITY PROGRAMMING_LANGUAGE=CPP PRS-FILE="jikespg_prs.h" NOQUIET READ-REDUCE REMAP-TERMINALS SCOPES NOSERIALIZE NOSHIFT-DEFAULT NOSINGLE-PRODUCTIONS NOSOFT-KEYWORDS NOSTATES SUFFIX="" SYM-FILE="jikespg_sym.h" TAB-FILE="jikespg.t" TABLE TEMPLATE="" TRACE=CONFLICTS NOVARIABLES NOVERBOSE NOVISITOR VISITOR-TYPE="Visitor" WARNINGS NOXREF jikespg.g:120:5:120:17:3312:3324: Informative: Grammar is LALR(3). Number of Terminals: 37 Number of Nonterminals: 44 Number of Productions: 131 Number of Items: 384 Number of Scopes: 0 Number of States: 83 Number of look-ahead states: 21 Number of Shift actions: 445 Number of Goto actions: 58 Number of Shift/Reduce actions: 224 Number of Goto/Reduce actions: 54 Number of Reduce actions: 1616 Number of Shift-Reduce conflicts: 0 Number of Reduce-Reduce conflicts: 0 Number of entries in base Action Table: 195 Additional space required for compaction of Action Table: 0.5% Number of unique terminal states: 70 Number of Shift actions saved by merging: 105 Number of Conflict points saved by merging: 0 Number of Reduce actions saved by merging: 450 Number of Reduce saved by default: 1165 Number of entries in Terminal Action Table: 656 Additional space required for compaction of Terminal Table: 2.2% Actions in Compressed Tables: Number of Shifts: 445 Number of Shift/Reduces: 119 Number of Look-Ahead Shifts: 21 Number of Gotos: 58 Number of Goto/Reduces: 54 Number of Reduces: 1 Number of Defaults: 59 Parsing Tables storage: Storage required for BASE_CHECK: 327 Bytes Storage required for BASE_ACTION: 656 Bytes Storage required for TERM_CHECK: 708 Bytes Storage required for TERM_ACTION: 1344 Bytes Error maps storage: Storage required for ACTION_SYMBOLS_BASE map: 84 Bytes Storage required for ACTION_SYMBOLS_RANGE map: 155 Bytes Storage required for NACTION_SYMBOLS_BASE map: 84 Bytes BUILDSTDERR: Storage required for NACTION_SYMBOLS_RANGE map: 67 B+ make clean install ARCH=linux_x86 'LOCAL_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow' 'LOCAL_CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow' BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from CAction.h:4, BUILDSTDERR: from CAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from CTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from CppAction.h:4, BUILDSTDERR: from CppAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from CppTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from JavaAction.cpp:2: BUILDSTDERR: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': BUILDSTDERR: NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] BUILDSTDERR: 22 | BoundedArray< Tuple > &global_map; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] BUILDSTDERR: 21 | Array &user_specified_null_ast; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: NTC.h:78:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from CTC.h:4, BUILDSTDERR: from JavaAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: CTC.h:67:72: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': BUILDSTDERR: CTC.h:77:58: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from CTC.h:5, BUILDSTDERR: from JavaAction.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from CTC.h:4, BUILDSTDERR: from JavaAction.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1338:76: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1339:74: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1370:76: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, BUILDSTDERR: inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1371:74: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from JavaTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from LexStream.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from MlAction.h:4, BUILDSTDERR: from MlAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from partition.h:3, BUILDSTDERR: from MlTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from PlxAction.h:4, BUILDSTDERR: from PlxAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ ytes Storage required for TERMINAL_INDEX map: 38 Bytes Storage required for NON_TERMINAL_INDEX map: 46 Bytes Storage required for NAME_START map: 156 Bytes Storage required for STRING_BUFFER map: 780 Bytes rm -f jikespg.l rm -f core ,* *~ *.bak rm -f *.o gmon.out mon.out TAGS tags g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CppAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c CppTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c JavaAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c JavaTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c LexStream.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c MlAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c MlTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxAction.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/In file included from PlxTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from PlxasmAction.h:4, BUILDSTDERR: from PlxasmAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from PlxasmTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.h:4, BUILDSTDERR: from XmlAction.h:4, BUILDSTDERR: from XmlAction.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: XmlTable.cpp: In member function 'virtual void XmlTable::PrintTables()': BUILDSTDERR: XmlTable.cpp:85:19: warning: variable 'in_symb_info' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 85 | *in_symb_info = NULL; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from table.h:4, BUILDSTDERR: from XmlTable.h:4, BUILDSTDERR: from XmlTable.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from Action.cpp:1: BUILDSTDERR: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': BUILDSTDERR: NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] BUILDSTDERR: 22 | BoundedArray< Tuple > &global_map; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] BUILDSTDERR: 21 | Array &user_specified_null_ast; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: NTC.h:78:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from NTC.h:4, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: CTC.h:67:72: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': BUILDSTDERR: CTC.h:77:58: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from NTC.h:5, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from NTC.h:4, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': BUILDSTDERR: LCA.h:71:70: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from NTC.h:5, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from NTC.h:4, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'SimpleMacroSymbol* Action::InsertFilterMacro(const char*, char*)' at Action.h:116:16, BUILDSTDERR: inlined from 'void Action::SetupBuiltinMacros()' at Action.cpp:206:26: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:11, BUILDSTDERR: from control.h:5, BUILDSTDERR: from NTC.h:5, BUILDSTDERR: from Action.cpp:1: BUILDSTDERR: Action.h: In member function 'void Action::SetupBuiltinMacros()': BUILDSTDERR: Action.h:113:28: note: length computed here BUILDSTDERR: 113 | int length = strlen(name); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: base.cpp: In member function 'void Base::Process()': BUILDSTDERR: base.cpp:249:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 249 | if (! generates_string[nt]) BUILDSTDERR: | ^ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': BUILDSTDERR: base.cpp:30:73: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: base.cpp:38:73: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': BUILDSTDERR: base.cpp:303:77: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': BUILDSTDERR: base.cpp:482:47: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from base.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: base.cpp:506:50: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from control.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from dfa.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from diagnose.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from diagnose.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintPrimaryMessage(int, int, Location, Location, int)' at diagnose.cpp:1934:47: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2065:47: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2067:50: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, BUILDSTDERR: inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2069:50: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxasmAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c PlxasmTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c XmlAction.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c XmlTable.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c Action.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c base.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c buffer.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c code.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c control.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c dfa.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c diagnose.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-securityIn file included from generator.h:4, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSetWithOffset]': BUILDSTDERR: generator.cpp:356:53: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from generator.h:5, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from generator.h:4, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': BUILDSTDERR: generator.cpp:360:52: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from generator.h:5, BUILDSTDERR: from generator.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from grammar.cpp:2: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from grammar.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: jikespg.cpp: In function 'int main(int, char**)': BUILDSTDERR: jikespg.cpp:81:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: 81 | catch (bad_alloc b) BUILDSTDERR: | ^ BUILDSTDERR: In file included from symbol.h:4, BUILDSTDERR: from jikespg.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from Stacks.h:5, BUILDSTDERR: from jikespg.g:131, BUILDSTDERR: from jikespg_act.cpp:2: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from Stacks.h:5, BUILDSTDERR: from jikespg.g:131, BUILDSTDERR: from jikespg.g:315: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from option.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from option.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:38:36: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, BUILDSTDERR: inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:42:37: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from LexStream.h:7, BUILDSTDERR: from Stacks.h:5, BUILDSTDERR: from jikespg.g:131, BUILDSTDERR: from parser.h:5, BUILDSTDERR: from parser.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from pda.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': BUILDSTDERR: pda.cpp:99:39: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from pda.cpp:1: BUILDSTDERR: set.h:13:7: note: 'class BitSet' declared here BUILDSTDERR: 13 | class BitSet BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from produce.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': BUILDSTDERR: produce.cpp:34:80: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': BUILDSTDERR: produce.cpp:35:79: required from here BUILDSTDERR: tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 657 | memmove(info, old_info, Size() * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from grammar.h:10, BUILDSTDERR: from control.h:5, BUILDSTDERR: from produce.cpp:1: BUILDSTDERR: set.h:383:7: note: 'class BitSetWithOffset' declared here BUILDSTDERR: 383 | class BitSetWithOffset : public BitSet BUILDSTDERR: | ^~~~~~~~~~~~~~~~ -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c dump.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c generator.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c grammar.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg_act.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg_init.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c jikespg_prs.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c option.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c parser.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c pda.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c produce.cpp BUILDSTDERR: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/resolve.cpp: In member function 'void Resolve::process_conflicts(int)': BUILDSTDERR: resolve.cpp:658:16: warning: unused variable 'otherEndToken' [-Wunused-variable] BUILDSTDERR: 658 | Token *otherEndToken = ls -> GetTokenReference(otherTokenEnd); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from resolve.h:4, BUILDSTDERR: from resolve.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from resolve.h:4, BUILDSTDERR: from resolve.cpp:1: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, BUILDSTDERR: inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, BUILDSTDERR: inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, BUILDSTDERR: inlined from 'void Resolve::process_conflicts(int)' at resolve.cpp:665:59: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scanner.cpp: In member function 'void Scanner::ClassifySingleQuotedSymbol()': BUILDSTDERR: scanner.cpp:1277:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1277 | if (ptr[0] == delimiter) BUILDSTDERR: | ^ BUILDSTDERR: scanner.cpp: In member function 'void Scanner::ClassifyDoubleQuotedSymbol()': BUILDSTDERR: scanner.cpp:1336:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1336 | if (ptr[0] == delimiter) BUILDSTDERR: | ^ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from scanner.cpp:2: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tuple.h:4, BUILDSTDERR: from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from scanner.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from util.h:4, BUILDSTDERR: from option.h:4, BUILDSTDERR: from control.h:4, BUILDSTDERR: from sp.h:4, BUILDSTDERR: from sp.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: sp.cpp:601:48: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: sp.cpp:604:44: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: sp.cpp:605:47: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from table.h:4, BUILDSTDERR: from table.cpp:1: BUILDSTDERR: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': BUILDSTDERR: blocks.h:16:29: required from here BUILDSTDERR: tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tuple.h:144:7: note: 'class Tuple' declared here BUILDSTDERR: 144 | class Tuple BUILDSTDERR: | ^~~~~ + popd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c resolve.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c scanner.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c sp.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c symbol.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c tab.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c table.cpp g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-strict-overflow -I../include -c util.cpp g++ CAction.o CTable.o CppAction.o CppTable.o JavaAction.o JavaTable.o LexStream.o MlAction.o MlTable.o PlxAction.o PlxTable.o PlxasmAction.o PlxasmTable.o XmlAction.o XmlTable.o Action.o base.o buffer.o code.o control.o dfa.o diagnose.o dump.o generator.o grammar.o jikespg.o jikespg_act.o jikespg_init.o jikespg_prs.o option.o parser.o pda.o produce.o resolve.o scanner.o sp.o symbol.o tab.o table.o util.o -o lpg-linux_x86 Installing targets and headers: cp lpg-linux_x86 ..//bin/lpg-linux_x86 ~/build/BUILD/lpg-1.1.0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aVLvcB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 + cd lpg-1.1.0 + install -pD -T lpg-generator-cpp/bin/lpg-linux_x86 /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/bin/lpg + /usr/bin/python3 /usr/share/java-utils/mvn_package.py lpg.runtime:java java + /usr/bin/python3 /usr/share/java-utils/mvn_package.py net.sourceforge.lpg:lpgjavaruntime java-compat + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py lpg.runtime:java:2.0.17 lpg-java-runtime/lpgruntime.jar + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py net.sourceforge.lpg:lpgjavaruntime:1.1.0 lpgdistribution/lpgjavaruntime.jar + /usr/bin/python3 /usr/share/java-utils/mvn_file.py lpg.runtime: lpgruntime + /usr/bin/python3 /usr/share/java-utils/mvn_file.py net.sourceforge.lpg: lpgjavaruntime + xmvn-install -R .xmvn-reactor -n lpg -d /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 BUILDSTDERR: [INFO] Installing artifact lpg.runtime:java:jar:2.0.17 BUILDSTDERR: [INFO] Installing artifact net.sourceforge.lpg:lpgjavaruntime:jar:1.1.0 BUILDSTDERR: [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0.17-29.fc31 --unique-debug-suffix -2.0.17-29.fc31.riscv64 --unique-debug-src-base lpg-2.0.17-29.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lpg-1.1.0 BUILDSTDERR: 2942 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/bin/lpg extracting debug info from /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/bin/lpg original debug info size: 14052kB, size after compression: 11452kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: lpg-2.0.17-29.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qHc4xA + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg + cp -pr lpg-generator-templates/docs/Ast.txt 'lpg-generator-templates/docs/Getting Started with LPG.doc' 'lpg-generator-templates/docs/Getting Started with LPG.pdf' 'lpg-generator-templates/docs/LPG Automatic AST Generation.doc' 'lpg-generator-templates/docs/Using the LALR Parser Generator.doc' 'lpg-generator-templates/docs/Using the LALR Parser Generator.pdf' /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: lpg = 2.0.17-29.fc31 lpg(riscv-64) = 2.0.17-29.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: lpg-java-2.0.17-29.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VYJupB + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg-java + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg-java + cp -pr 'lpg-java-runtime/Eclipse Public License - Version 1_0.htm' /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg-java + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: [INFO maven.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/maven-metadata/lpg-java.xml'] BUILDSTDERR: [INFO maven.prov] mvn(lpg.runtime:java) = 2.0.17 BUILDSTDERR: [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/java/lpgruntime.jar'] BUILDSTDERR: [INFO osgi.prov] osgi(lpg.runtime.java) = 2.0.17 BUILDSTDERR: [INFO maven.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/maven-metadata/lpg-java.xml'] BUILDSTDERR: [INFO maven.req] javapackages-filesystem, java-headless BUILDSTDERR: [INFO osgi.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/java/lpgruntime.jar'] Provides: lpg-java = 2.0.17-29.fc31 mvn(lpg.runtime:java) = 2.0.17 osgi(lpg.runtime.java) = 2.0.17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless javapackages-filesystem Processing files: lpg-java-compat-1.1.0-29.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e4nEYA + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg-java-compat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg-java-compat + cp -pr 'lpg-java-runtime/Eclipse Public License - Version 1_0.htm' /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/doc/lpg-java-compat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: [INFO maven.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/maven-metadata/lpg-java-compat.xml'] BUILDSTDERR: [INFO maven.prov] mvn(net.sourceforge.lpg:lpgjavaruntime) = 1.1.0 BUILDSTDERR: [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/java/lpgjavaruntime.jar'] BUILDSTDERR: [INFO osgi.prov] osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0 BUILDSTDERR: [INFO maven.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/maven-metadata/lpg-java-compat.xml'] BUILDSTDERR: [INFO maven.req] java-headless, javapackages-filesystem BUILDSTDERR: [INFO osgi.req] input: ['/builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64/usr/share/java/lpgjavaruntime.jar'] Provides: lpg-java-compat = 1.1.0-29.fc31 mvn(net.sourceforge.lpg:lpgjavaruntime) = 1.1.0 osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless javapackages-filesystem Processing files: lpg-debugsource-2.0.17-29.fc31.riscv64 Provides: lpg-debugsource = 2.0.17-29.fc31 lpg-debugsource(riscv-64) = 2.0.17-29.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lpg-debuginfo-2.0.17-29.fc31.riscv64 Provides: debuginfo(build-id) = 6ffc07a6e4df3cb9dcebb865a9132ed7e1ec07c3 lpg-debuginfo = 2.0.17-29.fc31 lpg-debuginfo(riscv-64) = 2.0.17-29.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lpg-debugsource(riscv-64) = 2.0.17-29.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 Wrote: /builddir/build/RPMS/lpg-java-compat-1.1.0-29.fc31.noarch.rpm Wrote: /builddir/build/RPMS/lpg-java-2.0.17-29.fc31.noarch.rpm Wrote: /builddir/build/RPMS/lpg-2.0.17-29.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lpg-debugsource-2.0.17-29.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lpg-debuginfo-2.0.17-29.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.taLA1A + umask 022 + cd /builddir/build/BUILD + cd lpg-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lpg-2.0.17-29.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0