Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libdwarf.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libdwarf.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libdwarf-20130207-3.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libdwarf.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libdwarf.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HiwMaT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dwarf-20130207 + /usr/bin/gzip -dc /builddir/build/SOURCES/libdwarf-20130207.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dwarf-20130207 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libdwarf-soname.patch): + echo 'Patch #0 (libdwarf-soname.patch):' + /usr/bin/cat /builddir/build/SOURCES/libdwarf-soname.patch + /usr/bin/patch -p1 -b --suffix .soname --fuzz=0 patching file libdwarf/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u5Ji01 + umask 022 + cd /builddir/build/BUILD + cd dwarf-20130207 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar configuring libdwarf --enable-shared configure: WARNING: you should use --build, --host, --target checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... ar checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking elfaccess.h usability... no checking elfaccess.h presence... no checking for elfaccess.h... no checking libelf.h usability... yes checking libelf.h presence... yes checking for libelf.h... yes checking libelf/libelf.h usability... no checking libelf/libelf.h presence... no checking for libelf/libelf.h... no checking for sys/types.h... (cached) yes checking sys/ia64/elf.h usability... no checking sys/ia64/elf.h presence... no checking for sys/ia64/elf.h... no Assuming struct Elf for the default libdwarf.h checking for elf64_getehdr in -lelf... yes checking for elf64_getshdr in -lelf... yes libelf/libelf.h does not have struct _Elf libelf.h does not have struct _Elf configure: creating ./config.status config.status: creating Makefile config.status: creating config.h done configuring libdwarf --enable-shared configuring dwarfdump checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... ar checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libelf.h usability... yes checking libelf.h presence... yes checking for libelf.h... yes checking libelf/libelf.h usability... no checking libelf/libelf.h presence... no checking for libelf/libelf.h... no checking sgidefs.h usability... no checking sgidefs.h presence... no checking for sgidefs.h... no checking for sys/types.h... (cached) yes checking for elf64_getehdr in -lelf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h done configuring dwarfdump configuring dwarfdump2 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... ar checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libelf.h usability... yes checking libelf.h presence... yes checking for libelf.h... yes checking libelf/libelf.h usability... no checking libelf/libelf.h presence... no checking for libelf/libelf.h... no checking sgidefs.h usability... no checking sgidefs.h presence... no checking for sgidefs.h... no checking for sys/types.h... (cached) yes checking for elf64_getehdr in -lelf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h done dwarfdump2 configuring dwarfgen checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... ar checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libelf.h usability... yes checking libelf.h presence... yes checking for libelf.h... yes checking sgidefs.h usability... no checking sgidefs.h presence... no checking for sgidefs.h... no checking for sys/types.h... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h done configuring dwarfgen configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + LD_LIBRARY_PATH=../libdwarf + make -j16 SONAME=libdwarf.so.0 cd libdwarf && make make[1]: Entering directory `/builddir/build/BUILD/dwarf-20130207/libdwarf' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c ./common.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC ./gennames.c common.o -Wl,-z,relro -o gennames rm -f dwarf_names.h dwarf_names.c ./gennames -s -i . -o . ./gennames [May 31 2014 04:49:57 Release] Arguments: -s -i . -o . gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_abbrev.o dwarf_abbrev.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_alloc.o dwarf_alloc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_arange.o dwarf_arange.c dwarf_arange.c: In function 'dwarf_get_aranges_list': dwarf_arange.c:113:13: warning: variable 'local_extension_size' set but not used [-Wunused-but-set-variable] int local_extension_size = 0; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_die_deliv.o dwarf_die_deliv.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_elf_access.o dwarf_elf_access.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_error.o dwarf_error.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_form.o dwarf_form.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_frame.o dwarf_frame.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_frame2.o dwarf_frame2.c dwarf_frame2.c: In function 'dwarf_create_cie_from_after_start': dwarf_frame2.c:556:24: warning: variable 'exception_table_addr' set but not used [-Wunused-but-set-variable] Dwarf_Unsigned exception_table_addr; ^ dwarf_frame2.c: In function 'dwarf_create_fde_from_after_start': dwarf_frame2.c:836:24: warning: variable 'eh_table_value' set but not used [-Wunused-but-set-variable] Dwarf_Unsigned eh_table_value = 0; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_frame3.o dwarf_frame3.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_funcs.o dwarf_funcs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_global.o dwarf_global.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_harmless.o dwarf_harmless.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_init_finish.o dwarf_init_finish.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_line.o dwarf_line.c dwarf_line.c: In function '_dwarf_internal_srclines': dwarf_line.c:620:32: warning: variable 'utmp2' set but not used [-Wunused-but-set-variable] Dwarf_Unsigned utmp2 = 0; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_line2.o dwarf_line2.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_loc.o dwarf_loc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_original_elf_init.o dwarf_original_elf_init.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_query.o dwarf_query.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_string.o dwarf_string.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_stubs.o dwarf_stubs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_pubtypes.o dwarf_pubtypes.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_types.o dwarf_types.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_util.o dwarf_util.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_leb.o dwarf_leb.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_ranges.o dwarf_ranges.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_vars.o dwarf_vars.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_weaks.o dwarf_weaks.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_addr_finder.o dwarf_addr_finder.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_sort_line.o dwarf_sort_line.c dwarf_sort_line.c: In function '_dwarf_update_line_sec': dwarf_sort_line.c:413:32: warning: variable 'utmp2' set but not used [-Wunused-but-set-variable] Dwarf_Unsigned utmp2; ^ dwarf_sort_line.c:455:32: warning: variable 'utmp2' set but not used [-Wunused-but-set-variable] Dwarf_Unsigned utmp2; ^ dwarf_sort_line.c:464:32: warning: variable 'utmp2' set but not used [-Wunused-but-set-variable] Dwarf_Unsigned utmp2; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_print_lines.o dwarf_print_lines.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_macro.o dwarf_macro.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o malloc_check.o malloc_check.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_alloc.o pro_alloc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_arange.o pro_arange.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_die.o pro_die.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_encode_nm.o pro_encode_nm.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_error.o pro_error.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_expr.o pro_expr.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_finish.o pro_finish.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_forms.o pro_forms.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_funcs.o pro_funcs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_frame.o pro_frame.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_init.o pro_init.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_line.o pro_line.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_reloc.o pro_reloc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_reloc_stream.o pro_reloc_stream.c pro_reloc_stream.c: In function '_dwarf_stream_relocs_to_disk': pro_reloc_stream.c:225:25: warning: passing argument 1 of 'dbg->de_callback_func_c' discards 'const' qualifier from pointer target type [enabled by default] &err); ^ pro_reloc_stream.c:225:25: note: expected 'char *' but argument is of type 'const char *' pro_reloc_stream.c:236:25: warning: passing argument 1 of 'dbg->de_callback_func_b' discards 'const' qualifier from pointer target type [enabled by default] &name_idx, &err); ^ pro_reloc_stream.c:236:25: note: expected 'char *' but argument is of type 'const char *' pro_reloc_stream.c:246:29: warning: passing argument 1 of 'dbg->de_callback_func' discards 'const' qualifier from pointer target type [enabled by default] dbg->de_elf_sects[i], &int_name, &err); ^ pro_reloc_stream.c:246:29: note: expected 'char *' but argument is of type 'const char *' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_reloc_symbolic.o pro_reloc_symbolic.c pro_reloc_symbolic.c: In function '_dwarf_symbolic_relocs_to_disk': pro_reloc_symbolic.c:205:25: warning: passing argument 1 of 'dbg->de_callback_func_c' discards 'const' qualifier from pointer target type [enabled by default] dbg->de_user_data,&err); ^ pro_reloc_symbolic.c:205:25: note: expected 'char *' but argument is of type 'const char *' pro_reloc_symbolic.c:216:25: warning: passing argument 1 of 'dbg->de_callback_func_b' discards 'const' qualifier from pointer target type [enabled by default] &name_idx, &err); ^ pro_reloc_symbolic.c:216:25: note: expected 'char *' but argument is of type 'const char *' pro_reloc_symbolic.c:226:25: warning: passing argument 1 of 'dbg->de_callback_func' discards 'const' qualifier from pointer target type [enabled by default] dbg->de_elf_sects[i], &int_name, &err); ^ pro_reloc_symbolic.c:226:25: note: expected 'char *' but argument is of type 'const char *' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_pubnames.o pro_pubnames.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_section.o pro_section.c pro_section.c: In function 'dwarf_transform_to_disk_form': pro_section.c:325:25: warning: passing argument 1 of 'dbg->de_callback_func_c' discards 'const' qualifier from pointer target type [enabled by default] dbg->de_user_data, &err); ^ pro_section.c:325:25: note: expected 'char *' but argument is of type 'const char *' pro_section.c:331:25: warning: passing argument 1 of 'dbg->de_callback_func_b' discards 'const' qualifier from pointer target type [enabled by default] flags, SHN_UNDEF, 0, &du, &err); ^ pro_section.c:331:25: note: expected 'char *' but argument is of type 'const char *' pro_section.c:339:21: warning: passing argument 1 of 'dbg->de_callback_func' discards 'const' qualifier from pointer target type [enabled by default] &name_idx, &err); ^ pro_section.c:339:21: note: expected 'char *' but argument is of type 'const char *' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_types.o pro_types.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_vars.o pro_vars.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_macinfo.o pro_macinfo.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o pro_weaks.o pro_weaks.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -c -o dwarf_names.o dwarf_names.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -fPIC -shared dwarf_abbrev.o dwarf_alloc.o dwarf_arange.o dwarf_die_deliv.o dwarf_elf_access.o dwarf_error.o dwarf_form.o dwarf_frame.o dwarf_frame2.o dwarf_frame3.o dwarf_funcs.o dwarf_global.o dwarf_harmless.o dwarf_init_finish.o dwarf_line.o dwarf_line2.o dwarf_loc.o dwarf_original_elf_init.o dwarf_query.o dwarf_string.o dwarf_stubs.o dwarf_pubtypes.o dwarf_types.o dwarf_util.o dwarf_leb.o dwarf_ranges.o dwarf_vars.o dwarf_weaks.o dwarf_addr_finder.o dwarf_sort_line.o dwarf_print_lines.o dwarf_macro.o malloc_check.o pro_alloc.o pro_arange.o pro_die.o pro_encode_nm.o pro_error.o pro_expr.o pro_finish.o pro_forms.o pro_funcs.o pro_frame.o pro_init.o pro_line.o pro_reloc.o pro_reloc_stream.o pro_reloc_symbolic.o pro_pubnames.o pro_section.o pro_types.o pro_vars.o pro_macinfo.o pro_weaks.o -Wl,-soname,libdwarf.so.0 dwarf_names.o -o libdwarf.so.0 ln -s libdwarf.so.0 libdwarf.so ar rv libdwarf.a dwarf_abbrev.o dwarf_alloc.o dwarf_arange.o dwarf_die_deliv.o dwarf_elf_access.o dwarf_error.o dwarf_form.o dwarf_frame.o dwarf_frame2.o dwarf_frame3.o dwarf_funcs.o dwarf_global.o dwarf_harmless.o dwarf_init_finish.o dwarf_line.o dwarf_line2.o dwarf_loc.o dwarf_original_elf_init.o dwarf_query.o dwarf_string.o dwarf_stubs.o dwarf_pubtypes.o dwarf_types.o dwarf_util.o dwarf_leb.o dwarf_ranges.o dwarf_vars.o dwarf_weaks.o dwarf_addr_finder.o dwarf_sort_line.o dwarf_print_lines.o dwarf_macro.o malloc_check.o pro_alloc.o pro_arange.o pro_die.o pro_encode_nm.o pro_error.o pro_expr.o pro_finish.o pro_forms.o pro_funcs.o pro_frame.o pro_init.o pro_line.o pro_reloc.o pro_reloc_stream.o pro_reloc_symbolic.o pro_pubnames.o pro_section.o pro_types.o pro_vars.o pro_macinfo.o pro_weaks.o dwarf_names.o ar: creating libdwarf.a a - dwarf_abbrev.o a - dwarf_alloc.o a - dwarf_arange.o a - dwarf_die_deliv.o a - dwarf_elf_access.o a - dwarf_error.o a - dwarf_form.o a - dwarf_frame.o a - dwarf_frame2.o a - dwarf_frame3.o a - dwarf_funcs.o a - dwarf_global.o a - dwarf_harmless.o a - dwarf_init_finish.o a - dwarf_line.o a - dwarf_line2.o a - dwarf_loc.o a - dwarf_original_elf_init.o a - dwarf_query.o a - dwarf_string.o a - dwarf_stubs.o a - dwarf_pubtypes.o a - dwarf_types.o a - dwarf_util.o a - dwarf_leb.o a - dwarf_ranges.o a - dwarf_vars.o a - dwarf_weaks.o a - dwarf_addr_finder.o a - dwarf_sort_line.o a - dwarf_print_lines.o a - dwarf_macro.o a - malloc_check.o a - pro_alloc.o a - pro_arange.o a - pro_die.o a - pro_encode_nm.o a - pro_error.o a - pro_expr.o a - pro_finish.o a - pro_forms.o a - pro_funcs.o a - pro_frame.o a - pro_init.o a - pro_line.o a - pro_reloc.o a - pro_reloc_stream.o a - pro_reloc_symbolic.o a - pro_pubnames.o a - pro_section.o a - pro_types.o a - pro_vars.o a - pro_macinfo.o a - pro_weaks.o a - dwarf_names.o make[1]: Leaving directory `/builddir/build/BUILD/dwarf-20130207/libdwarf' cd dwarfdump && make make[1]: Entering directory `/builddir/build/BUILD/dwarf-20130207/dwarfdump' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./common.c make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o tag_common.o tag_common.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./makename.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -DTRIVIAL_NAMING -c ./naming.c -o trivial_naming.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib ./tag_tree.c tag_common.o common.o makename.o trivial_naming.o ../libdwarf/libdwarf.a -Wl,-z,relro -L../libdwarf -ldwarf -lelf -o tag_tree_build # gcc -E tag_tree.list does not work, so use a .c name rm -f tmp-t1.c cp ./tag_tree.list tmp-t1.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t1.c > ./tmp-tag-tree-build1.tmp ./tag_tree_build -s -i tmp-tag-tree-build1.tmp -o tmp-tt-table.c rm -f tmp-t4.c cp ./tag_tree_ext.list tmp-t4.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t4.c > ./tmp-tag-tree-build4.tmp ./tag_tree_build -e -i tmp-tag-tree-build4.tmp -o tmp-tt-ext-table.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib ./tag_attr.c tag_common.o common.o makename.o trivial_naming.o ../libdwarf/libdwarf.a -Wl,-z,relro -L../libdwarf -ldwarf -lelf -o tag_attr_build # gcc -E tag_attr.list does not work, so use a .c name rm -f tmp-t2.c cp ./tag_attr.list tmp-t2.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t2.c > ./tmp-tag-attr-build2.tmp ./tag_attr_build -s -i tmp-tag-attr-build2.tmp -o tmp-ta-table.c rm -f tmp-t3.c cp ./tag_attr_ext.list tmp-t3.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t3.c > ./tmp-tag-attr-build3.tmp ./tag_attr_build -e -i tmp-tag-attr-build3.tmp -o tmp-ta-ext-table.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o addrmap.o addrmap.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o checkutil.o checkutil.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o dwarfdump.o dwarfdump.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o dwconf.o dwconf.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o esb.o esb.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_abbrevs.o print_abbrevs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_aranges.o print_aranges.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_die.o print_die.c print_die.c: In function 'get_attr_value': print_die.c:3466:23: warning: unused variable 'culen' [-Wunused-variable] Dwarf_Off culen = 0; ^ print_die.c:3465:23: warning: unused variable 'cuoff' [-Wunused-variable] Dwarf_Off cuoff = 0; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_frames.o print_frames.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_lines.o print_lines.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_locs.o print_locs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_macros.o print_macros.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_pubnames.o print_pubnames.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_ranges.o print_ranges.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_reloc.o print_reloc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_sections.o print_sections.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_static_funcs.o print_static_funcs.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_static_vars.o print_static_vars.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_strings.o print_strings.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_types.o print_types.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_weaknames.o print_weaknames.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o strstrnocase.o strstrnocase.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o uri.o uri.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./naming.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -o dwarfdump addrmap.o checkutil.o dwarfdump.o dwconf.o esb.o print_abbrevs.o print_aranges.o print_die.o print_frames.o print_lines.o print_locs.o print_macros.o print_pubnames.o print_ranges.o print_reloc.o print_sections.o print_static_funcs.o print_static_vars.o print_strings.o print_types.o print_weaknames.o strstrnocase.o uri.o common.o makename.o naming.o -Wl,-z,relro -L../libdwarf -ldwarf -lelf make[1]: Leaving directory `/builddir/build/BUILD/dwarf-20130207/dwarfdump' cd dwarfdump2 && make make[1]: Entering directory `/builddir/build/BUILD/dwarf-20130207/dwarfdump2' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./tag_common.cc In file included from ./globals.h:121:0, from ./tag_common.cc:44: ./dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': ./dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': ./dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': ./dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': ./dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -DTRIVIAL_NAMING -c ./naming.cc -o trivial_naming.o In file included from ./globals.h:121:0, from ./naming.cc:44: ./dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': ./dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': ./dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': ./dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': ./dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./common.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib ./tag_tree.cc trivial_naming.o tag_common.o common.o ../libdwarf/libdwarf.a -Wl,-z,relro -L../libdwarf -ldwarf -lelf -o tag_tree_build In file included from ./globals.h:121:0, from ./tag_tree.cc:43: ./dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': ./dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': ./dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': ./dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': ./dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ # gcc -E tag_tree.list does not work, so use a .cc name rm -f tmp-t1.cc cp ./tag_tree.list tmp-t1.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t1.cc > ./tmp-tag-tree-build1.tmp ./tag_tree_build -s -i tmp-tag-tree-build1.tmp -o tmp-tt-table.cc rm -f tmp-t4.cc cp ./tag_tree_ext.list tmp-t4.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t4.cc > ./tmp-tag-tree-build4.tmp ./tag_tree_build -e -i tmp-tag-tree-build4.tmp -o tmp-tt-ext-table.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o naming.o naming.cc In file included from globals.h:121:0, from naming.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib ./tag_attr.cc trivial_naming.o tag_common.o common.o ../libdwarf/libdwarf.a -Wl,-z,relro -L../libdwarf -ldwarf -lelf -o tag_attr_build In file included from ./globals.h:121:0, from ./tag_attr.cc:43: ./dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': ./dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': ./dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': ./dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': ./dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ # gcc -E tag_attr.list does not work, so use a .cc name rm -f tmp-t2.cc cp ./tag_attr.list tmp-t2.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t2.cc > ./tmp-tag-attr-build2.tmp ./tag_attr_build -s -i tmp-tag-attr-build2.tmp -o tmp-ta-table.cc rm -f tmp-t3.cc cp ./tag_attr_ext.list tmp-t3.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -E tmp-t3.cc > ./tmp-tag-attr-build3.tmp ./tag_attr_build -e -i tmp-tag-attr-build3.tmp -o tmp-ta-ext-table.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o checkutil.o checkutil.cc In file included from globals.h:121:0, from checkutil.cc:33: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o dwarfdump.o dwarfdump.cc In file included from globals.h:121:0, from dwarfdump.cc:46: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o dwconf.o dwconf.cc In file included from globals.h:121:0, from dwconf.cc:38: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dwconf.cc: In function 'void print_reg_from_config_data(Dwarf_Signed, dwconf_s*)': dwconf.cc:1280:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] reg >= config_data->cf_regs.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_abbrevs.o print_abbrevs.cc In file included from globals.h:121:0, from print_abbrevs.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_aranges.o print_aranges.cc In file included from globals.h:121:0, from print_aranges.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_die.o print_die.cc In file included from globals.h:121:0, from print_die.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ print_die.cc: In function 'void print_die_stack(Dwarf_Debug, DieVec&, SrcfilesHolder&)': print_die.cc:592:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (lev = 0; lev < dieVec.Size(); ++lev) ^ print_die.cc: In function 'void print_die_and_children_internal(DieHolder&, Dwarf_Bool, DieVec&, int&, SrcfilesHolder&)': print_die.cc:771:22: warning: unused variable 'small_buf' [-Wunused-variable] char small_buf[200]; ^ print_die.cc: In function 'void get_attr_value(Dwarf_Debug, Dwarf_Half, Dwarf_Die, int, DieVec&, Dwarf_Attribute, SrcfilesHolder&, std::string&, bool, int)': print_die.cc:3245:23: warning: unused variable 'cuoff' [-Wunused-variable] Dwarf_Off cuoff = 0; ^ print_die.cc:3246:23: warning: unused variable 'culen' [-Wunused-variable] Dwarf_Off culen = 0; ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_frames.o print_frames.cc In file included from globals.h:121:0, from print_frames.cc:46: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_lines.o print_lines.cc In file included from globals.h:121:0, from print_lines.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_locs.o print_locs.cc In file included from globals.h:121:0, from print_locs.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_macros.o print_macros.cc In file included from globals.h:121:0, from print_macros.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_pubnames.o print_pubnames.cc In file included from globals.h:121:0, from print_pubnames.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_ranges.o print_ranges.cc In file included from globals.h:121:0, from print_ranges.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_reloc.o print_reloc.cc In file included from globals.h:121:0, from print_reloc.cc:46: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_sections.o print_sections.cc In file included from globals.h:121:0, from print_sections.cc:46: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ print_sections.cc: In function 'Dwarf_Signed local_dwarf_decode_s_leb128(unsigned char*, unsigned int*)': print_sections.cc:163:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define BITSINBYTE 8 ^ print_sections.cc:190:41: note: in expansion of macro 'BITSINBYTE' if ((shift < sizeof(Dwarf_Signed) * BITSINBYTE) && sign) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_static_funcs.o print_static_funcs.cc In file included from globals.h:121:0, from print_static_funcs.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_static_vars.o print_static_vars.cc In file included from globals.h:121:0, from print_static_vars.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_strings.o print_strings.cc In file included from globals.h:121:0, from print_strings.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_types.o print_types.cc In file included from globals.h:121:0, from print_types.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o print_weaknames.o print_weaknames.cc In file included from globals.h:121:0, from print_weaknames.cc:44: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o strstrnocase.o strstrnocase.cc In file included from ./globals.h:121:0, from strstrnocase.cc:64: ./dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': ./dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': ./dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': ./dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ ./dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': ./dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c -o uri.o uri.cc In file included from globals.h:121:0, from uri.cc:41: dieholder.h: In member function 'void DieVec::setSiblingGlobalOffset(int, Dwarf_Off)': dieholder.h:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'Dwarf_Off DieVec::getSiblingGlobalOffset(int)': dieholder.h:112:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDie(int, Dwarf_Die_s*&)': dieholder.h:118:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ dieholder.h: In member function 'bool DieVec::getDieHolder(int, DieHolder&)': dieholder.h:126:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indx >= 0 && indx < dieVec_.size()) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -o dwarfdump checkutil.o dwarfdump.o dwconf.o print_abbrevs.o print_aranges.o print_die.o print_frames.o print_lines.o print_locs.o print_macros.o print_pubnames.o print_ranges.o print_reloc.o print_sections.o print_static_funcs.o print_static_vars.o print_strings.o print_types.o print_weaknames.o strstrnocase.o uri.o naming.o common.o tag_common.o -Wl,-z,relro -L../libdwarf -ldwarf -lelf make[1]: Leaving directory `/builddir/build/BUILD/dwarf-20130207/dwarfdump2' cd dwarfgen && make make[1]: Entering directory `/builddir/build/BUILD/dwarf-20130207/dwarfgen' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -c -o createirepformfrombinary.o createirepformfrombinary.cc createirepformfrombinary.cc: In function 'IRForm* formFactory(Dwarf_Debug, Dwarf_Attribute, IRCUdata&, IRAttr&)': createirepformfrombinary.cc:71:17: warning: unused variable 'err' [-Wunused-variable] Dwarf_Error err = 0; ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -c -o createirepfrombinary.o createirepfrombinary.cc createirepfrombinary.cc: In function 'void get_linedata_of_cu_die(Dwarf_Die, IRDie&, IRCUdata&, IRepresentation&, Dwarf_Debug)': createirepfrombinary.cc:379:9: warning: unused variable 'res2' [-Wunused-variable] int res2 = dwarf_srclines(in_die,&linebuf,&linecnt, &error); ^ createirepfrombinary.cc: In function 'bool getToplevelOffsetAttr(Dwarf_Die, Dwarf_Half, Dwarf_Unsigned&)': createirepfrombinary.cc:497:22: warning: unused variable 'sval' [-Wunused-variable] Dwarf_Signed sval = 0; ^ createirepfrombinary.cc:498:24: warning: unused variable 'uval' [-Wunused-variable] Dwarf_Unsigned uval = 0; ^ createirepfrombinary.cc:495:15: warning: unused variable 'sectoff' [-Wunused-variable] Dwarf_Off sectoff = 0; ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -c -o dwarfgen.o dwarfgen.cc g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -c -o irepattrtodbg.o irepattrtodbg.cc In file included from irepattrtodbg.cc:37:0: irepattrtodbg.cc: In function 'void AddAttrToDie(Dwarf_P_Debug, IRepresentation&, Dwarf_P_Die, IRDie&, IRAttr&)': ./../libdwarf/libdwarf.h:1102:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_BADADDR (~(Dwarf_Addr)0) ^ irepattrtodbg.cc:109:48: note: in expansion of macro 'DW_DLV_BADADDR' if( reinterpret_cast(a) == DW_DLV_BADADDR) { ^ ./../libdwarf/libdwarf.h:1102:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_BADADDR (~(Dwarf_Addr)0) ^ irepattrtodbg.cc:144:48: note: in expansion of macro 'DW_DLV_BADADDR' if( reinterpret_cast(a) == DW_DLV_BADADDR) { ^ ./../libdwarf/libdwarf.h:1102:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_BADADDR (~(Dwarf_Addr)0) ^ irepattrtodbg.cc:202:48: note: in expansion of macro 'DW_DLV_BADADDR' if( reinterpret_cast(a) == DW_DLV_BADADDR) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -c -o ireptodbg.o ireptodbg.cc In file included from ireptodbg.cc:35:0: ireptodbg.cc: In function 'Dwarf_P_Die_s* HandleOneDieAndChildren(Dwarf_P_Debug, IRepresentation&, IRDie&, unsigned int)': ./../libdwarf/libdwarf.h:1102:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_BADADDR (~(Dwarf_Addr)0) ^ ireptodbg.cc:63:51: note: in expansion of macro 'DW_DLV_BADADDR' if (reinterpret_cast(ourdie) == DW_DLV_BADADDR) { ^ ./../libdwarf/libdwarf.h:1102:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_BADADDR (~(Dwarf_Addr)0) ^ ireptodbg.cc:83:52: note: in expansion of macro 'DW_DLV_BADADDR' if (reinterpret_cast(res) == DW_DLV_BADADDR) { ^ ireptodbg.cc: In function 'void HandleLineData(Dwarf_P_Debug, IRepresentation&, IRCUdata&)': ./../libdwarf/libdwarf.h:1105:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_NOCOUNT ((Dwarf_Signed)-1) ^ ireptodbg.cc:130:23: note: in expansion of macro 'DW_DLV_NOCOUNT' if(idx == DW_DLV_NOCOUNT) { ^ ./../libdwarf/libdwarf.h:1105:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_NOCOUNT ((Dwarf_Signed)-1) ^ ireptodbg.cc:153:23: note: in expansion of macro 'DW_DLV_NOCOUNT' if(res == DW_DLV_NOCOUNT) { ^ ./../libdwarf/libdwarf.h:1105:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_NOCOUNT ((Dwarf_Signed)-1) ^ ireptodbg.cc:163:25: note: in expansion of macro 'DW_DLV_NOCOUNT' if(esres == DW_DLV_NOCOUNT) { ^ ./../libdwarf/libdwarf.h:1105:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define DW_DLV_NOCOUNT ((Dwarf_Signed)-1) ^ ireptodbg.cc:197:21: note: in expansion of macro 'DW_DLV_NOCOUNT' if(lires == DW_DLV_NOCOUNT) { ^ ireptodbg.cc: In function 'void transform_cie_fde(Dwarf_P_Debug, IRepresentation&, int)': ireptodbg.cc:298:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(cie_input_index != i) { ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I. -I./../libdwarf -o dwarfgen createirepformfrombinary.o createirepfrombinary.o dwarfgen.o irepattrtodbg.o ireptodbg.o -Wl,-z,relro -L ../libdwarf -ldwarf -lelf make[1]: Leaving directory `/builddir/build/BUILD/dwarf-20130207/dwarfgen' cd dwarfexample && make make[1]: Entering directory `/builddir/build/BUILD/dwarf-20130207/dwarfexample' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. cc -Wall -I../libdwarf simplereader.c -o simplereader -L../libdwarf -ldwarf -lelf cc -Wall -I../libdwarf frame1.c -o frame1 -L../libdwarf -ldwarf -lelf make[1]: Leaving directory `/builddir/build/BUILD/dwarf-20130207/dwarfexample' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JWz4Hk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64 + cd dwarf-20130207 + install -pDm 0644 libdwarf/dwarf.h /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/include/libdwarf/dwarf.h + install -pDm 0644 libdwarf/libdwarf.a /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/lib64/libdwarf.a + install -pDm 0644 libdwarf/libdwarf.h /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/include/libdwarf/libdwarf.h + install -pDm 0755 libdwarf/libdwarf.so /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/lib64/libdwarf.so.0.20130207.0 + ln -s libdwarf.so.0.20130207.0 /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/lib64/libdwarf.so.0 + ln -s libdwarf.so.0.20130207.0 /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/lib64/libdwarf.so + install -pDm 0755 dwarfdump2/dwarfdump /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/bin/dwarfdump + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/dwarf-20130207 extracting debug info from /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/lib64/libdwarf.so.0.20130207.0 extracting debug info from /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/bin/dwarfdump /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libdwarf.so.0.20130207.0.debug to /usr/lib/debug/usr/lib64/libdwarf.so.debug symlinked /usr/lib/debug/usr/lib64/libdwarf.so.0.20130207.0.debug to /usr/lib/debug/usr/lib64/libdwarf.so.0.debug 3597 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: libdwarf-20130207-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MIDUEF + umask 022 + cd /builddir/build/BUILD + cd dwarf-20130207 + DOCDIR=/builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + cp -pr libdwarf/ChangeLog /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + cp -pr libdwarf/README /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + cp -pr libdwarf/COPYING /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + cp -pr libdwarf/LIBDWARFCOPYRIGHT /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + cp -pr libdwarf/LGPL.txt /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-20130207 + exit 0 Provides: libdwarf = 20130207-3.el7 libdwarf(x86-64) = 20130207-3.el7 libdwarf.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: libdwarf-devel-20130207-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dftsP0 + umask 022 + cd /builddir/build/BUILD + cd dwarf-20130207 + DOCDIR=/builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-devel-20130207 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-devel-20130207 + cp -pr libdwarf/dwarf.v2.pdf libdwarf/index.v2.pdf libdwarf/libdwarf2.1.pdf libdwarf/libdwarf2p.1.pdf libdwarf/mips_extensions.pdf /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-devel-20130207 + exit 0 Provides: libdwarf-devel = 20130207-3.el7 libdwarf-devel(x86-64) = 20130207-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libdwarf.so.0()(64bit) Processing files: libdwarf-static-20130207-3.el7.x86_64 Provides: libdwarf-static = 20130207-3.el7 libdwarf-static(x86-64) = 20130207-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libdwarf-tools-20130207-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QOnVym + umask 022 + cd /builddir/build/BUILD + cd dwarf-20130207 + DOCDIR=/builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + cp -pr dwarfdump2/README /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + cp -pr dwarfdump2/ChangeLog /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + cp -pr dwarfdump2/COPYING /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + cp -pr dwarfdump2/DWARFDUMPCOPYRIGHT /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + cp -pr dwarfdump2/GPL.txt /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64/usr/share/doc/libdwarf-tools-20130207 + exit 0 Provides: libdwarf-tools = 20130207-3.el7 libdwarf-tools(x86-64) = 20130207-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdwarf.so.0()(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(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(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: libdwarf-debuginfo-20130207-3.el7.x86_64 Provides: libdwarf-debuginfo = 20130207-3.el7 libdwarf-debuginfo(x86-64) = 20130207-3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64 warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Wrote: /builddir/build/RPMS/libdwarf-20130207-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/libdwarf-devel-20130207-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/libdwarf-static-20130207-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/libdwarf-tools-20130207-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/libdwarf-debuginfo-20130207-3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.y4DHNz + umask 022 + cd /builddir/build/BUILD + cd dwarf-20130207 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libdwarf-20130207-3.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->