<86>Nov 13 08:26:07 userdel[33074]: delete user 'rooter' <86>Nov 13 08:26:07 userdel[33074]: removed group 'rooter' owned by 'rooter' <86>Nov 13 08:26:07 userdel[33074]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 13 08:26:07 groupadd[33142]: group added to /etc/group: name=rooter, GID=684 <86>Nov 13 08:26:07 groupadd[33142]: group added to /etc/gshadow: name=rooter <86>Nov 13 08:26:07 groupadd[33142]: new group: name=rooter, GID=684 <86>Nov 13 08:26:07 useradd[33169]: new user: name=rooter, UID=684, GID=684, home=/root, shell=/bin/bash <86>Nov 13 08:26:07 userdel[33194]: delete user 'builder' <86>Nov 13 08:26:07 userdel[33194]: removed group 'builder' owned by 'builder' <86>Nov 13 08:26:07 userdel[33194]: removed shadow group 'builder' owned by 'builder' <86>Nov 13 08:26:07 groupadd[33210]: group added to /etc/group: name=builder, GID=685 <86>Nov 13 08:26:07 groupadd[33210]: group added to /etc/gshadow: name=builder <86>Nov 13 08:26:07 groupadd[33210]: new group: name=builder, GID=685 <86>Nov 13 08:26:07 useradd[33222]: new user: name=builder, UID=685, GID=685, home=/usr/src, shell=/bin/bash warning: Macro %kernel_src not found warning: Macro %_altdir not found warning: Macro %_altdir not found warning: Macro %_altdir not found warning: Macro %_altdir not found <13>Nov 13 08:26:18 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Nov 13 08:26:18 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Nov 13 08:26:18 rpmi: libgdbm-devel-1.8.3-alt10 1454943334 installed <13>Nov 13 08:26:18 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Nov 13 08:26:18 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Nov 13 08:26:18 rpmi: docbook-style-xsl-1.79.1-alt2 sisyphus.213665.100 1537949315 installed <13>Nov 13 08:26:18 rpmi: libunwind-1.1-alt2 1442339812 installed <13>Nov 13 08:26:18 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159349 installed <13>Nov 13 08:26:18 rpmi: libslang2-2.3.2-alt1 1534746870 installed <13>Nov 13 08:26:18 rpmi: libpaper-1.1.24-alt4 1315383465 installed <13>Nov 13 08:26:18 rpmi: libnuma-2.0.11-alt1 1450022594 installed <13>Nov 13 08:26:18 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Nov 13 08:26:18 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990448 installed <13>Nov 13 08:26:18 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Nov 13 08:26:18 rpmi: xsltproc-1.1.32-alt2 1517429984 installed <13>Nov 13 08:26:18 rpmi: libdb4.7-devel-4.7.25-alt9 1490438479 installed <13>Nov 13 08:26:18 rpmi: libauparse0-2.8.4-alt1.S1 1529909479 installed <13>Nov 13 08:26:18 rpmi: libelf-devel-0.174-alt1 sisyphus.213048.100 1536977290 installed <13>Nov 13 08:26:18 rpmi: libdw-devel-0.174-alt1 sisyphus.213048.100 1536977290 installed <13>Nov 13 08:26:18 rpmi: libasm-devel-0.174-alt1 sisyphus.213048.100 1536977290 installed <13>Nov 13 08:26:20 rpmi: glibc-devel-static-6:2.27-alt6 1530126039 installed <13>Nov 13 08:26:20 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Nov 13 08:26:20 rpmi: zlib-devel-static-1.2.8-alt1 1371079011 installed <13>Nov 13 08:26:20 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Nov 13 08:26:20 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Nov 13 08:26:20 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Nov 13 08:26:20 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 13 08:26:20 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 13 08:26:20 rpmi: ca-certificates-2018.09.09-alt1 sisyphus.212781.100 1536518628 installed <13>Nov 13 08:26:20 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 13 08:26:20 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Nov 13 08:26:20 rpmi: libcrypto1.1-1.1.0i-alt1 1535471315 installed <13>Nov 13 08:26:20 rpmi: libssl1.1-1.1.0i-alt1 1535471315 installed <86>Nov 13 08:26:20 groupadd[55467]: group added to /etc/group: name=_keytab, GID=499 <86>Nov 13 08:26:20 groupadd[55467]: group added to /etc/gshadow: name=_keytab <86>Nov 13 08:26:20 groupadd[55467]: new group: name=_keytab, GID=499 <13>Nov 13 08:26:20 rpmi: libkrb5-1.16.2-alt1 sisyphus.216047.100 1541159177 installed <13>Nov 13 08:26:20 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Nov 13 08:26:20 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Nov 13 08:26:20 rpmi: python-modules-encodings-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 13 08:26:20 rpmi: python-modules-compiler-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 13 08:26:20 rpmi: python-modules-email-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 13 08:26:20 rpmi: python-modules-unittest-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 13 08:26:20 rpmi: python-modules-nis-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 13 08:26:20 rpmi: python-modules-2.7.14-alt7.1 sisyphus.212296.100 1535808823 installed <13>Nov 13 08:26:20 rpmi: asciidoc-8.6.9-alt1.1 1520284178 installed <13>Nov 13 08:26:21 rpmi: binutils-devel-1:2.30.0-alt2 1533760049 installed <13>Nov 13 08:26:21 rpmi: elfutils-devel-0.174-alt1 sisyphus.213048.100 1536977289 installed <13>Nov 13 08:26:21 rpmi: libaudit-devel-2.8.4-alt1.S1 1529909479 installed <13>Nov 13 08:26:21 rpmi: perl-devel-1:5.26.2-alt2 1534850821 installed <13>Nov 13 08:26:21 rpmi: xmlto-0.0.28-alt2 1518213370 installed <13>Nov 13 08:26:21 rpmi: libnuma-devel-2.0.11-alt1 1450022594 installed <13>Nov 13 08:26:21 rpmi: libslang2-devel-2.3.2-alt1 1534746870 installed <13>Nov 13 08:26:21 rpmi: libunwind-devel-1.1-alt2 1442339812 installed <13>Nov 13 08:26:21 rpmi: rpm-build-kernel-0.106-alt1 1531502686 installed <13>Nov 13 08:26:30 rpmi: kernel-source-4.1-1.0.0-alt1 1435230830 installed <13>Nov 13 08:26:30 rpmi: flex-2.6.0-alt1 1449073223 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/linux-tools-4.1-4.1-alt1.1.1.1.nosrc.rpm Installing linux-tools-4.1-4.1-alt1.1.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.54196 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf linux-tools-4.1-4.1 + /bin/mkdir -p linux-tools-4.1-4.1 + cd linux-tools-4.1-4.1 + /bin/chmod -c -Rf u+rwX,go-w . + tar -xf /usr/src/kernel/sources/kernel-source-4.1.tar + cd kernel-source-4.1 + echo 'Patch #1 (linux-tools-4.1-alt.patch):' Patch #1 (linux-tools-4.1-alt.patch): + /usr/bin/patch -p1 patching file tools/perf/Makefile.perf Hunk #1 succeeded at 465 (offset -458 lines). Hunk #2 succeeded at 484 (offset -458 lines). Hunk #3 succeeded at 493 (offset -458 lines). Hunk #4 succeeded at 513 (offset -458 lines). patching file tools/perf/Documentation/Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.91460 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd linux-tools-4.1-4.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91080 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/linux-tools-4.1-buildroot + : + /bin/rm -rf -- /usr/src/tmp/linux-tools-4.1-buildroot + cd linux-tools-4.1-4.1 + pushd kernel-source-4.1/tools/perf ~/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf ~/RPM/BUILD/linux-tools-4.1-4.1 + sed -i 's|\(perfexecdir[[:blank:]]*=[[:blank:]]*\).*$|\1share/perf_4.1-core|' config/Makefile + sed -i 's|\(plugindir[[:blank:]]*=[[:blank:]]*\).*$|\1/usr/lib/traceevent_4.1/plugins|' config/Makefile + make VERSION=4.1 V=1 VF=1 WERROR=0 NO_GTK2=1 DESTDIR=/usr/src/tmp/linux-tools-4.1-buildroot prefix=/usr all man install install-man make: Entering directory '/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf' BUILD: Doing 'make -j1' parallel build Auto-detecting system features: ... dwarf: [ on ] ... glibc: [ on ] ... gtk2: [ OFF ] ... libaudit: [ on ] ... libbfd: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... libperl: [ on ] ... libpython: [ OFF ] ... libslang: [ on ] ... libunwind: [ on ] ... libdw-dwarf-unwind: [ on ] ... zlib: [ on ] ... lzma: [ OFF ] ... backtrace: [ on ] ... fortify-source: [ on ] ... sync-compare-and-swap: [ on ] ... gtk2-infobar: [ OFF ] ... libelf-getphdrnum: [ on ] ... libelf-mmap: [ on ] ... libpython-version: [ OFF ] ... pthread-attr-setaffinity-np: [ on ] ... stackprotector-all: [ on ] ... timerfd: [ on ] config/Makefile:448: No 'python-config' tool was found: disables Python support - please install python-devel/python-dev config/Makefile:550: No liblzma found, disables xz kernel module decompression, please install xz-devel/liblzma-dev ... prefix: /usr ... bindir: /usr/bin ... libdir: /usr/lib ... sysconfdir: /etc ... LIBUNWIND_DIR: ... LIBDW_DIR: $(:) make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=. obj=libperf make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./util obj=libperf gcc -Wp,-MD,util/.abspath.o.d,-MT,util/abspath.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/abspath.o util/abspath.c In file included from util/abspath.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/abspath.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.alias.o.d,-MT,util/alias.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/alias.o util/alias.c In file included from util/alias.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/alias.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.annotate.o.d,-MT,util/annotate.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/annotate.o util/annotate.c In file included from util/sort.h:9:0, from util/annotate.c:12: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/annotate.c:10: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.build-id.o.d,-MT,util/build-id.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/build-id.o util/build-id.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/build-id.c:15: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/build-id.c:9: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.config.o.d,-MT,util/config.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DETC_PERFCONFIG="BUILD_STR(/etc/perfconfig)" -c -o util/config.o util/config.c In file included from util/config.c:12:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/config.c:11: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.ctype.o.d,-MT,util/ctype.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/ctype.o util/ctype.c gcc -Wp,-MD,util/.db-export.o.d,-MT,util/db-export.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/db-export.o util/db-export.c gcc -Wp,-MD,util/.environment.o.d,-MT,util/environment.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/environment.o util/environment.c In file included from util/environment.c:6:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/environment.c:6: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.event.o.d,-MT,util/event.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/event.o util/event.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/event.c:4: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/i586-alt-linux/7/include/stdint.h:9, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/linux/types.h:6, from util/event.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ util/event.c: In function '__event__synthesize_thread': util/event.c:416:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] while (!readdir_r(tasks, &dirent, &next) && next) { ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/i586-alt-linux/7/include/stdint.h:9, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/linux/types.h:6, from util/event.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/event.c: In function 'perf_event__synthesize_threads': util/event.c:551:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] while (!readdir_r(proc, &dirent, &next) && next) { ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/i586-alt-linux/7/include/stdint.h:9, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/linux/types.h:6, from util/event.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ gcc -Wp,-MD,util/.evlist.o.d,-MT,util/evlist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/evlist.o util/evlist.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/evlist.c:12: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/evlist.c:9: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.evsel.o.d,-MT,util/evsel.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/evsel.o util/evsel.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/evsel.c:23: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/byteswap.h:21, from util/evsel.c:10: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.exec_cmd.o.d,-MT,util/exec_cmd.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DPERF_EXEC_PATH="BUILD_STR(share/perf_4.1-core)" -DPREFIX="BUILD_STR(/usr)" -c -o util/exec_cmd.o util/exec_cmd.c In file included from util/exec_cmd.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/exec_cmd.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.find_next_bit.o.d,-MT,util/find_next_bit.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(/etc/perfconfig)" -c -o util/find_next_bit.o ../lib/util/find_next_bit.c gcc -Wp,-MD,util/.help.o.d,-MT,util/help.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/help.o util/help.c In file included from util/help.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/help.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.kallsyms.o.d,-MT,util/kallsyms.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/kallsyms.o ../lib/symbol/kallsyms.c gcc -Wp,-MD,util/.levenshtein.o.d,-MT,util/levenshtein.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/levenshtein.o util/levenshtein.c In file included from util/levenshtein.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/levenshtein.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.parse-options.o.d,-MT,util/parse-options.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/parse-options.o util/parse-options.c In file included from util/parse-options.c:3:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-options.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.parse-events.o.d,-MT,util/parse-events.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -Wno-redundant-decls -c -o util/parse-events.o util/parse-events.c util/parse-events.c: In function 'tracepoint_id_to_path': util/parse-events.c:177:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_subsystem(sys_dir, sys_dirent, sys_next) { ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-events.c:2: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/parse-events.c:185:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) { ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-events.c:2: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/parse-events.c: In function 'print_tracepoint_events': util/parse-events.c:1127:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_subsystem(sys_dir, sys_dirent, sys_next) { ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-events.c:2: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/parse-events.c:1138:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) { ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-events.c:2: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/parse-events.c: In function 'is_valid_tracepoint': util/parse-events.c:1210:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_subsystem(sys_dir, sys_dirent, sys_next) { ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-events.c:2: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/parse-events.c:1218:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) { ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/parse-events.c:2: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ gcc -Wp,-MD,util/.path.o.d,-MT,util/path.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/path.o util/path.c In file included from util/path.c:13:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/path.c:13: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.rbtree.o.d,-MT,util/rbtree.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(/etc/perfconfig)" -c -o util/rbtree.o ../../lib/rbtree.c gcc -Wp,-MD,util/.bitmap.o.d,-MT,util/bitmap.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/bitmap.o util/bitmap.c gcc -Wp,-MD,util/.hweight.o.d,-MT,util/hweight.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR(/etc/perfconfig)" -c -o util/hweight.o ../../lib/hweight.c gcc -Wp,-MD,util/.run-command.o.d,-MT,util/run-command.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/run-command.o util/run-command.c In file included from util/run-command.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/run-command.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.quote.o.d,-MT,util/quote.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/quote.o util/quote.c In file included from util/quote.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/quote.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.strbuf.o.d,-MT,util/strbuf.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/strbuf.o util/strbuf.c In file included from util/strbuf.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/strbuf.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.string.o.d,-MT,util/string.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/string.o util/string.c util/string.c: In function 'perf_atoll': util/string.c:22:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*p) ^ util/string.c:24:3: note: here case '\0': ^~~~ gcc -Wp,-MD,util/.strlist.o.d,-MT,util/strlist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/strlist.o util/strlist.c gcc -Wp,-MD,util/.strfilter.o.d,-MT,util/strfilter.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/strfilter.o util/strfilter.c gcc -Wp,-MD,util/.top.o.d,-MT,util/top.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/top.o util/top.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/top.c:9: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from util/cpumap.h:4, from util/top.c:9: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.usage.o.d,-MT,util/usage.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/usage.o util/usage.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/usage.c:10: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/usage.c:9: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.wrapper.o.d,-MT,util/wrapper.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/wrapper.o util/wrapper.c In file included from util/wrapper.c:4:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/wrapper.c:4: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.sigchain.o.d,-MT,util/sigchain.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/sigchain.o util/sigchain.c In file included from util/sigchain.c:2:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/sigchain.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.dso.o.d,-MT,util/dso.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/dso.o util/dso.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/dso.c:8: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/time.h:21, from util/dso.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.symbol.o.d,-MT,util/symbol.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/symbol.o util/symbol.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/symbol.c:14: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/dirent.h:25, from util/symbol.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.color.o.d,-MT,util/color.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/color.o util/color.c In file included from util/color.c:2:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from util/color.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.pager.o.d,-MT,util/pager.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/pager.o util/pager.c In file included from util/pager.c:1:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cache.h:5, from util/pager.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.header.o.d,-MT,util/header.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/header.o util/header.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/header.c:19: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/header.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.callchain.o.d,-MT,util/callchain.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/callchain.o util/callchain.c In file included from util/sort.h:9:0, from util/callchain.c:22: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from util/callchain.c:12: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.values.o.d,-MT,util/values.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/values.o util/values.c gcc -Wp,-MD,util/.debug.o.d,-MT,util/debug.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/debug.o util/debug.c In file included from util/debug.c:9:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from util/../perf.h:4, from util/debug.c:3: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.machine.o.d,-MT,util/machine.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/machine.o util/machine.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/machine.c:2: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from util/../perf.h:4, from util/callchain.h:4, from util/machine.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.map.o.d,-MT,util/map.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/map.o util/map.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/map.c:15: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/i586-alt-linux/7/include/stdint.h:9, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/linux/types.h:6, from util/symbol.h:4, from util/map.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.pstack.o.d,-MT,util/pstack.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/pstack.o util/pstack.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/pstack.c:9: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/pstack.c:7: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.session.o.d,-MT,util/session.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/session.o util/session.c In file included from util/sort.h:9:0, from util/session.c:13: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from util/session.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.ordered-events.o.d,-MT,util/ordered-events.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/ordered-events.o util/ordered-events.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/ordered-events.c:7: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/list.h:1, from util/ordered-events.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.comm.o.d,-MT,util/comm.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/comm.o util/comm.c gcc -Wp,-MD,util/.thread.o.d,-MT,util/thread.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/thread.o util/thread.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/thread.c:9: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from util/../perf.h:4, from util/thread.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ util/thread.c: In function 'thread__find_cpumode_addr_location': util/thread.c:220:11: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const u8 const cpumodes[] = { ^~~~~ gcc -Wp,-MD,util/.thread_map.o.d,-MT,util/thread_map.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/thread_map.o util/thread_map.c util/thread_map.c: In function 'thread_map__new_by_uid': util/thread_map.c:79:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] while (!readdir_r(proc, &dirent, &next) && next) { ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/dirent.h:25, from util/thread_map.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ util/thread_map.c:88:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 250 [-Wformat-truncation=] snprintf(path, sizeof(path), "/proc/%s", dirent.d_name); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862:0, from util/thread_map.c:5: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wp,-MD,util/.trace-event-parse.o.d,-MT,util/trace-event-parse.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/trace-event-parse.o util/trace-event-parse.c gcc -Wp,-MD,util/.parse-events-flex.o.d,-MT,util/parse-events-flex.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -w -c -o util/parse-events-flex.o util/parse-events-flex.c gcc -Wp,-MD,util/.parse-events-bison.o.d,-MT,util/parse-events-bison.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w -c -o util/parse-events-bison.o util/parse-events-bison.c gcc -Wp,-MD,util/.pmu.o.d,-MT,util/pmu.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/pmu.o util/pmu.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/pmu.c:13: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/list.h:1, from util/pmu.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ util/pmu.c: In function 'perf_pmu__parse_unit': util/pmu.c:148:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fd == -1) ^~ util/pmu.c:151:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' sret = read(fd, alias->unit, UNIT_MAX_LEN); ^~~~ gcc -Wp,-MD,util/.pmu-flex.o.d,-MT,util/pmu-flex.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -w -c -o util/pmu-flex.o util/pmu-flex.c gcc -Wp,-MD,util/.pmu-bison.o.d,-MT,util/pmu-bison.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 -w -c -o util/pmu-bison.o util/pmu-bison.c gcc -Wp,-MD,util/.trace-event-read.o.d,-MT,util/trace-event-read.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/trace-event-read.o util/trace-event-read.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/trace-event-read.c:38: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/dirent.h:25, from util/trace-event-read.c:21: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.trace-event-info.o.d,-MT,util/trace-event-info.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/trace-event-info.o util/trace-event-info.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/trace-event-info.c:43: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/trace-event-info.c:21: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.trace-event-scripting.o.d,-MT,util/trace-event-scripting.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/trace-event-scripting.o util/trace-event-scripting.c gcc -Wp,-MD,util/.trace-event.o.d,-MT,util/trace-event.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/trace-event.o util/trace-event.c gcc -Wp,-MD,util/.svghelper.o.d,-MT,util/svghelper.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/svghelper.o util/svghelper.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/svghelper.c:25: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/inttypes.h:25, from util/svghelper.c:15: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.sort.o.d,-MT,util/sort.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/sort.o util/sort.c In file included from util/sort.h:9:0, from util/sort.c:2: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/mman.h:22, from util/sort.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.hist.o.d,-MT,util/hist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/hist.o util/hist.c In file included from util/sort.h:9:0, from util/hist.c:5: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/hist.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.util.o.d,-MT,util/util.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/util.o util/util.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/util.c:3: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from util/../perf.h:4, from util/util.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.xyarray.o.d,-MT,util/xyarray.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/xyarray.o util/xyarray.c gcc -Wp,-MD,util/.cpumap.o.d,-MT,util/cpumap.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/cpumap.o util/cpumap.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/cpumap.c:4: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/cpumap.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.cgroup.o.d,-MT,util/cgroup.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/cgroup.o util/cgroup.c gcc -Wp,-MD,util/.target.o.d,-MT,util/target.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/target.o util/target.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/target.c:10: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from util/target.h:5, from util/target.c:9: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.rblist.o.d,-MT,util/rblist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/rblist.o util/rblist.c gcc -Wp,-MD,util/.intlist.o.d,-MT,util/intlist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/intlist.o util/intlist.c gcc -Wp,-MD,util/.vdso.o.d,-MT,util/vdso.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/vdso.o util/vdso.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/vdso.c:17: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/vdso.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.stat.o.d,-MT,util/stat.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/stat.o util/stat.c gcc -Wp,-MD,util/.record.o.d,-MT,util/record.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/record.o util/record.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/cpumap.h:8, from util/record.c:3: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/list.h:1, from util/evlist.h:4, from util/record.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.srcline.o.d,-MT,util/srcline.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/srcline.o util/srcline.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/srcline.c:9: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from util/srcline.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.data.o.d,-MT,util/data.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/data.o util/data.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/data.c:10: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from util/data.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.tsc.o.d,-MT,util/tsc.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/tsc.o util/tsc.c gcc -Wp,-MD,util/.cloexec.o.d,-MT,util/cloexec.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/cloexec.o util/cloexec.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/cloexec.c:6: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sched.h:22, from util/cloexec.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.thread-stack.o.d,-MT,util/thread-stack.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/thread-stack.o util/thread-stack.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/thread-stack.c:22: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/kernel.h:5, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../../../include/linux/rbtree.h:32, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/linux/rbtree.h:2, from util/thread-stack.c:16: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.symbol-elf.o.d,-MT,util/symbol-elf.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/symbol-elf.o util/symbol-elf.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/symbol-elf.c:12: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/fcntl.h:25, from util/symbol-elf.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.probe-event.o.d,-MT,util/probe-event.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/probe-event.o util/probe-event.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/probe-event.c:38: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/utsname.h:25, from util/probe-event.c:22: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.probe-finder.o.d,-MT,util/probe-finder.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/probe-finder.o util/probe-finder.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/probe-finder.c:37: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/utsname.h:25, from util/probe-finder.c:22: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.dwarf-aux.o.d,-MT,util/dwarf-aux.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/dwarf-aux.o util/dwarf-aux.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/dwarf-aux.c:22: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from util/dwarf-aux.c:21: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,util/.unwind-libunwind.o.d,-MT,util/unwind-libunwind.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/unwind-libunwind.o util/unwind-libunwind.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from util/unwind-libunwind.c:34: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/elf.h:22, from util/unwind-libunwind.c:18: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./util/scripting-engines obj=libperf gcc -Wp,-MD,util/scripting-engines/.trace-event-perl.o.d,-MT,util/scripting-engines/trace-event-perl.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/CORE -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-undef -Wno-switch-default -c -o util/scripting-engines/trace-event-perl.o util/scripting-engines/trace-event-perl.c In file included from util/scripting-engines/trace-event-perl.c:31:0: /usr/lib/perl5/CORE/inline.h: In function 'Perl_foldEQ_locale': /usr/lib/perl5/CORE/perl.h:449:26: warning: nested extern declaration of 'Perl___notused' [-Wnested-externs] #define dNOOP extern int Perl___notused(void) ^ /usr/lib/perl5/CORE/perl.h:167:17: note: in expansion of macro 'dNOOP' # define dVAR dNOOP ^~~~~ /usr/lib/perl5/CORE/inline.h:1718:5: note: in expansion of macro 'dVAR' dVAR; ^~~~ util/scripting-engines/trace-event-perl.c: In function 'xs_init': /usr/lib/perl5/CORE/perl.h:449:26: warning: nested extern declaration of 'Perl___notused' [-Wnested-externs] #define dNOOP extern int Perl___notused(void) ^ /usr/lib/perl5/CORE/unixish.h:162:19: note: in expansion of macro 'dNOOP' #define dXSUB_SYS dNOOP ^~~~~ util/scripting-engines/trace-event-perl.c:49:2: note: in expansion of macro 'dXSUB_SYS' dXSUB_SYS; ^~~~~~~~~ ld -r -o util/scripting-engines/libperf-in.o util/scripting-engines/trace-event-perl.o gcc -Wp,-MD,util/.perf_regs.o.d,-MT,util/perf_regs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/perf_regs.o util/perf_regs.c gcc -Wp,-MD,util/.zlib.o.d,-MT,util/zlib.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o util/zlib.o util/zlib.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from util/zlib.c:8: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from util/zlib.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ ld -r -o util/libperf-in.o util/abspath.o util/alias.o util/annotate.o util/build-id.o util/config.o util/ctype.o util/db-export.o util/environment.o util/event.o util/evlist.o util/evsel.o util/exec_cmd.o util/find_next_bit.o util/help.o util/kallsyms.o util/levenshtein.o util/parse-options.o util/parse-events.o util/path.o util/rbtree.o util/bitmap.o util/hweight.o util/run-command.o util/quote.o util/strbuf.o util/string.o util/strlist.o util/strfilter.o util/top.o util/usage.o util/wrapper.o util/sigchain.o util/dso.o util/symbol.o util/color.o util/pager.o util/header.o util/callchain.o util/values.o util/debug.o util/machine.o util/map.o util/pstack.o util/session.o util/ordered-events.o util/comm.o util/thread.o util/thread_map.o util/trace-event-parse.o util/parse-events-flex.o util/parse-events-bison.o util/pmu.o util/pmu-flex.o util/pmu-bison.o util/trace-event-read.o util/trace-event-info.o util/trace-event-scripting.o util/trace-event.o util/svghelper.o util/sort.o util/hist.o util/util.o util/xyarray.o util/cpumap.o util/cgroup.o util/target.o util/rblist.o util/intlist.o util/vdso.o util/stat.o util/record.o util/srcline.o util/data.o util/tsc.o util/cloexec.o util/thread-stack.o util/symbol-elf.o util/probe-event.o util/probe-finder.o util/dwarf-aux.o util/unwind-libunwind.o util/scripting-engines/libperf-in.o util/perf_regs.o util/zlib.o make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./arch obj=libperf gcc -Wp,-MD,arch/.common.o.d,-MT,arch/common.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/common.o arch/common.c In file included from arch/../util/../ui/helpline.h:7:0, from arch/../util/debug.h:8, from arch/common.c:4: arch/../util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from arch/common.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./arch/x86 obj=libperf make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./arch/x86/util obj=libperf gcc -Wp,-MD,arch/x86/util/.header.o.d,-MT,arch/x86/util/header.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/util/header.o arch/x86/util/header.c gcc -Wp,-MD,arch/x86/util/.tsc.o.d,-MT,arch/x86/util/tsc.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/util/tsc.o arch/x86/util/tsc.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../util/debug.h:8, from arch/x86/util/tsc.c:8: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/errno.h:25, from arch/x86/util/tsc.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,arch/x86/util/.kvm-stat.o.d,-MT,arch/x86/util/kvm-stat.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/util/kvm-stat.o arch/x86/util/kvm-stat.c gcc -Wp,-MD,arch/x86/util/.dwarf-regs.o.d,-MT,arch/x86/util/dwarf-regs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/util/dwarf-regs.o arch/x86/util/dwarf-regs.c gcc -Wp,-MD,arch/x86/util/.unwind-libunwind.o.d,-MT,arch/x86/util/unwind-libunwind.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/util/unwind-libunwind.o arch/x86/util/unwind-libunwind.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../util/debug.h:8, from arch/x86/util/unwind-libunwind.c:6: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/errno.h:25, from arch/x86/util/unwind-libunwind.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ ld -r -o arch/x86/util/libperf-in.o arch/x86/util/header.o arch/x86/util/tsc.o arch/x86/util/kvm-stat.o arch/x86/util/dwarf-regs.o arch/x86/util/unwind-libunwind.o make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./arch/x86/tests obj=libperf gcc -Wp,-MD,arch/x86/tests/.regs_load.o.d,-MT,arch/x86/tests/regs_load.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/tests/regs_load.o arch/x86/tests/regs_load.S gcc -Wp,-MD,arch/x86/tests/.dwarf-unwind.o.d,-MT,arch/x86/tests/dwarf-unwind.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o arch/x86/tests/dwarf-unwind.o arch/x86/tests/dwarf-unwind.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from arch/x86/tests/dwarf-unwind.c:6: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from arch/x86/tests/dwarf-unwind.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ ld -r -o arch/x86/tests/libperf-in.o arch/x86/tests/regs_load.o arch/x86/tests/dwarf-unwind.o ld -r -o arch/x86/libperf-in.o arch/x86/util/libperf-in.o arch/x86/tests/libperf-in.o ld -r -o arch/libperf-in.o arch/common.o arch/x86/libperf-in.o make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./ui obj=libperf gcc -Wp,-MD,ui/.setup.o.d,-MT,ui/setup.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DLIBDIR="BUILD_STR()" -c -o ui/setup.o ui/setup.c In file included from ui/setup.c:4:0: ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/pthread.h:21, from ui/setup.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/.helpline.o.d,-MT,ui/helpline.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/helpline.o ui/helpline.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../debug.h:8, from ui/helpline.c:5: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ui/helpline.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/.progress.o.d,-MT,ui/progress.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/progress.o ui/progress.c In file included from ui/progress.c:1:0: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../util.h:46, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../cache.h:5, from ui/progress.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/.util.o.d,-MT,ui/util.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/util.o ui/util.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../debug.h:8, from ui/util.c:2: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../debug.h:6, from ui/util.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/.hist.o.d,-MT,ui/hist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/hist.o ui/hist.c In file included from ui/../util/sort.h:9:0, from ui/hist.c:6: ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from ui/hist.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/stdio/.hist.o.d,-MT,ui/stdio/hist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/stdio/hist.o ui/stdio/hist.c In file included from ui/stdio/../../util/sort.h:9:0, from ui/stdio/hist.c:5: ui/stdio/../../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ui/stdio/hist.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/.browser.o.d,-MT,ui/browser.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST -c -o ui/browser.o ui/browser.c In file included from ui/browser.c:2:0: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../util.h:46, from ui/browser.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./ui/browsers obj=libperf gcc -Wp,-MD,ui/browsers/.annotate.o.d,-MT,ui/browsers/annotate.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST -c -o ui/browsers/annotate.o ui/browsers/annotate.c In file included from ui/browsers/../helpline.h:7:0, from ui/browsers/annotate.c:3: ui/browsers/../../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from ui/browsers/../../util/util.h:46, from ui/browsers/annotate.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ ui/browsers/annotate.c: In function 'annotate_browser__run': ui/browsers/annotate.c:719:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (nd != NULL) ^~ ui/browsers/annotate.c:721:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (nd == NULL) ^~ gcc -Wp,-MD,ui/browsers/.hists.o.d,-MT,ui/browsers/hists.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST -c -o ui/browsers/hists.o ui/browsers/hists.c In file included from ui/browsers/../../util/sort.h:9:0, from ui/browsers/hists.c:11: ui/browsers/../../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ui/browsers/hists.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/browsers/.map.o.d,-MT,ui/browsers/map.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST -c -o ui/browsers/map.o ui/browsers/map.c In file included from ui/browsers/../../util/../ui/helpline.h:7:0, from ui/browsers/../../util/debug.h:8, from ui/browsers/map.c:8: ui/browsers/../../util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from ui/browsers/../libslang.h:8, from ui/browsers/map.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/browsers/.scripts.o.d,-MT,ui/browsers/scripts.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DENABLE_SLFUTURE_CONST -c -o ui/browsers/scripts.o ui/browsers/scripts.c In file included from ui/browsers/../../util/sort.h:9:0, from ui/browsers/scripts.c:5: ui/browsers/../../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/elf.h:22, from ui/browsers/scripts.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/browsers/.header.o.d,-MT,ui/browsers/header.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/browsers/header.o ui/browsers/header.c In file included from ui/browsers/header.c:1:0: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/util.h:46, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/cache.h:5, from ui/browsers/header.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ ld -r -o ui/browsers/libperf-in.o ui/browsers/annotate.o ui/browsers/hists.o ui/browsers/map.o ui/browsers/scripts.o ui/browsers/header.o make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./ui/tui obj=libperf gcc -Wp,-MD,ui/tui/.setup.o.d,-MT,ui/tui/setup.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/tui/setup.o ui/tui/setup.c In file included from ui/tui/setup.c:7:0: ui/tui/../../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/signal.h:25, from ui/tui/setup.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/tui/.util.o.d,-MT,ui/tui/util.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/tui/util.o ui/tui/util.c In file included from ui/tui/util.c:7:0: ui/tui/../../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from ui/tui/../../util/util.h:46, from ui/tui/util.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/tui/.helpline.o.d,-MT,ui/tui/helpline.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/tui/helpline.o ui/tui/helpline.c In file included from ui/tui/../../util/../ui/helpline.h:7:0, from ui/tui/../../util/debug.h:8, from ui/tui/helpline.c:6: ui/tui/../../util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ui/tui/helpline.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,ui/tui/.progress.o.d,-MT,ui/tui/progress.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o ui/tui/progress.o ui/tui/progress.c In file included from ui/tui/progress.c:1:0: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../util.h:46, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include/../cache.h:5, from ui/tui/progress.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ ld -r -o ui/tui/libperf-in.o ui/tui/setup.o ui/tui/util.o ui/tui/helpline.o ui/tui/progress.o ld -r -o ui/libperf-in.o ui/setup.o ui/helpline.o ui/progress.o ui/util.o ui/hist.o ui/stdio/hist.o ui/browser.o ui/browsers/libperf-in.o ui/tui/libperf-in.o make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./scripts obj=libperf make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./scripts/perl/Perf-Trace-Util obj=libperf gcc -Wp,-MD,scripts/perl/Perf-Trace-Util/.Context.o.d,-MT,scripts/perl/Perf-Trace-Util/Context.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/CORE -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-undef -Wno-switch-default -c -o scripts/perl/Perf-Trace-Util/Context.o scripts/perl/Perf-Trace-Util/Context.c ld -r -o scripts/perl/Perf-Trace-Util/libperf-in.o scripts/perl/Perf-Trace-Util/Context.o ld -r -o scripts/libperf-in.o scripts/perl/Perf-Trace-Util/libperf-in.o ld -r -o libperf-in.o util/libperf-in.o arch/libperf-in.o ui/libperf-in.o scripts/libperf-in.o rm -f libperf.a && ar rcs libperf.a libperf-in.o make -C /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/api/ O= libapi.a make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./fd obj=libapi gcc -Wp,-MD,fd/.array.o.d,-MT,fd/array.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o fd/array.o fd/array.c ld -r -o fd/libapi-in.o fd/array.o make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./fs obj=libapi gcc -Wp,-MD,fs/.fs.o.d,-MT,fs/fs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o fs/fs.o fs/fs.c gcc -Wp,-MD,fs/.debugfs.o.d,-MT,fs/debugfs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o fs/debugfs.o fs/debugfs.c gcc -Wp,-MD,fs/.findfs.o.d,-MT,fs/findfs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o fs/findfs.o fs/findfs.c gcc -Wp,-MD,fs/.tracefs.o.d,-MT,fs/tracefs.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o fs/tracefs.o fs/tracefs.c ld -r -o fs/libapi-in.o fs/fs.o fs/debugfs.o fs/findfs.o fs/tracefs.o ld -r -o libapi-in.o fd/libapi-in.o fs/libapi-in.o rm -f libapi.a && ar rcs libapi.a libapi-in.o make -C /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/traceevent/ plugin_dir=/usr/lib/traceevent_4.1/plugins O= libtraceevent.a plugins gcc -Wp,-MD,./.event-parse.o.d,-MT,event-parse.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o event-parse.o event-parse.c gcc -Wp,-MD,./.event-plugin.o.d,-MT,event-plugin.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o event-plugin.o event-plugin.c gcc -Wp,-MD,./.trace-seq.o.d,-MT,trace-seq.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o trace-seq.o trace-seq.c gcc -Wp,-MD,./.parse-filter.o.d,-MT,parse-filter.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o parse-filter.o parse-filter.c gcc -Wp,-MD,./.parse-utils.o.d,-MT,parse-utils.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o parse-utils.o parse-utils.c gcc -Wp,-MD,./.kbuffer-parse.o.d,-MT,kbuffer-parse.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o kbuffer-parse.o kbuffer-parse.c ld -r -o libtraceevent-in.o event-parse.o event-plugin.o trace-seq.o parse-filter.o parse-utils.o kbuffer-parse.o rm -f libtraceevent.a; ar rcs libtraceevent.a libtraceevent-in.o gcc -Wp,-MD,./.plugin_jbd2.o.d,-MT,plugin_jbd2.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_jbd2.o plugin_jbd2.c ld -r -o plugin_jbd2-in.o plugin_jbd2.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_jbd2.so plugin_jbd2-in.o gcc -Wp,-MD,./.plugin_hrtimer.o.d,-MT,plugin_hrtimer.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_hrtimer.o plugin_hrtimer.c ld -r -o plugin_hrtimer-in.o plugin_hrtimer.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_hrtimer.so plugin_hrtimer-in.o gcc -Wp,-MD,./.plugin_kmem.o.d,-MT,plugin_kmem.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_kmem.o plugin_kmem.c ld -r -o plugin_kmem-in.o plugin_kmem.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_kmem.so plugin_kmem-in.o gcc -Wp,-MD,./.plugin_kvm.o.d,-MT,plugin_kvm.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_kvm.o plugin_kvm.c ld -r -o plugin_kvm-in.o plugin_kvm.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_kvm.so plugin_kvm-in.o gcc -Wp,-MD,./.plugin_mac80211.o.d,-MT,plugin_mac80211.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_mac80211.o plugin_mac80211.c ld -r -o plugin_mac80211-in.o plugin_mac80211.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_mac80211.so plugin_mac80211-in.o gcc -Wp,-MD,./.plugin_sched_switch.o.d,-MT,plugin_sched_switch.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_sched_switch.o plugin_sched_switch.c ld -r -o plugin_sched_switch-in.o plugin_sched_switch.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_sched_switch.so plugin_sched_switch-in.o gcc -Wp,-MD,./.plugin_function.o.d,-MT,plugin_function.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_function.o plugin_function.c ld -r -o plugin_function-in.o plugin_function.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_function.so plugin_function-in.o gcc -Wp,-MD,./.plugin_xen.o.d,-MT,plugin_xen.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_xen.o plugin_xen.c ld -r -o plugin_xen-in.o plugin_xen.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_xen.so plugin_xen-in.o gcc -Wp,-MD,./.plugin_scsi.o.d,-MT,plugin_scsi.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_scsi.o plugin_scsi.c ld -r -o plugin_scsi-in.o plugin_scsi.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_scsi.so plugin_scsi-in.o gcc -Wp,-MD,./.plugin_cfg80211.o.d,-MT,plugin_cfg80211.o -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o plugin_cfg80211.o plugin_cfg80211.c ld -r -o plugin_cfg80211-in.o plugin_cfg80211.o gcc -g -Wall -fPIC -I. -I /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include '-DPLUGIN_DIR="/usr/lib/traceevent_4.1/plugins"' -D_GNU_SOURCE -shared -nostartfiles -o plugin_cfg80211.so plugin_cfg80211-in.o /bin/sh util/PERF-VERSION-GEN PERF_VERSION = 4.1.0 touch PERF-VERSION-FILE . util/generate-cmdlist.sh > common-cmds.h+ && mv common-cmds.h+ common-cmds.h make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=. obj=perf gcc -Wp,-MD,./.builtin-bench.o.d,-MT,builtin-bench.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-bench.o builtin-bench.c gcc -Wp,-MD,./.builtin-annotate.o.d,-MT,builtin-annotate.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-annotate.o builtin-annotate.c In file included from builtin-annotate.c:13:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-annotate.c:8: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-diff.o.d,-MT,builtin-diff.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-diff.o builtin-diff.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-diff.c:9: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-diff.c:7: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-evlist.o.d,-MT,builtin-evlist.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-evlist.o builtin-evlist.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-evlist.c:18: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-evlist.c:5: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-help.o.d,-MT,builtin-help.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DPERF_HTML_PATH="BUILD_STR(share/doc/perf-doc)" -DPERF_INFO_PATH="BUILD_STR(share/info)" -DPERF_MAN_PATH="BUILD_STR(share/man)" -c -o builtin-help.o builtin-help.c In file included from builtin-help.c:7:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from perf.h:4, from builtin-help.c:6: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-sched.o.d,-MT,builtin-sched.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-sched.o builtin-sched.c In file included from builtin-sched.c:6:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-sched.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-buildid-list.o.d,-MT,builtin-buildid-list.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-buildid-list.o builtin-buildid-list.c In file included from builtin-buildid-list.c:13:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-buildid-list.c:10: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-buildid-cache.o.d,-MT,builtin-buildid-cache.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-buildid-cache.o builtin-buildid-cache.c In file included from builtin-buildid-cache.c:16:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from builtin-buildid-cache.c:9: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-list.o.d,-MT,builtin-list.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-list.o builtin-list.c In file included from builtin-list.c:15:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-list.c:10: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-record.o.d,-MT,builtin-record.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-record.o builtin-record.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-record.c:23: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-record.c:8: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-report.o.d,-MT,builtin-report.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-report.o builtin-report.c In file included from builtin-report.c:11:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-report.c:8: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-stat.o.d,-MT,builtin-stat.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-stat.o builtin-stat.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-stat.c:54: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/time.h:25, from perf.h:4, from builtin-stat.c:44: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-timechart.o.d,-MT,builtin-timechart.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -DPERF_HTML_PATH="BUILD_STR(share/doc/perf-doc)" -DPERF_INFO_PATH="BUILD_STR(share/info)" -DPERF_MAN_PATH="BUILD_STR(share/man)" -c -o builtin-timechart.o builtin-timechart.c In file included from builtin-timechart.c:23:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/traceevent/event-parse.h:25, from builtin-timechart.c:15: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-top.o.d,-MT,builtin-top.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-top.o builtin-top.c In file included from util/sort.h:9:0, from util/annotate.h:9, from builtin-top.c:24: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-top.c:20: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ builtin-top.c: In function 'display_thread': builtin-top.c:628:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (errno == EINTR) ^ builtin-top.c:631:3: note: here default: ^~~~~~~ gcc -Wp,-MD,./.builtin-script.o.d,-MT,builtin-script.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-script.o builtin-script.c In file included from builtin-script.c:4:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ builtin-script.c: In function 'list_available_scripts': builtin-script.c:1239:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { ^~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ builtin-script.c:1246:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_script(lang_path, lang_dir, script_dirent, script_next) { ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ builtin-script.c: In function 'find_scripts': builtin-script.c:1362:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { ^~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ builtin-script.c:1378:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_script(lang_path, lang_dir, script_dirent, script_next) { ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ builtin-script.c: In function 'get_script_path': builtin-script.c:1418:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_lang(scripts_path, scripts_dir, lang_dirent, lang_next) { ^~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ builtin-script.c:1425:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] for_each_script(lang_path, lang_dir, script_dirent, script_next) { ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-script.c:1: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ gcc -Wp,-MD,./.builtin-kmem.o.d,-MT,builtin-kmem.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-kmem.o builtin-kmem.c In file included from builtin-kmem.c:7:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-kmem.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-lock.o.d,-MT,builtin-lock.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-lock.o builtin-lock.c In file included from builtin-lock.c:7:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-lock.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-kvm.o.d,-MT,builtin-kvm.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-kvm.o builtin-kvm.c In file included from builtin-kvm.c:7:0: util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-kvm.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-inject.o.d,-MT,builtin-inject.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-inject.o builtin-inject.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-inject.c:16: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-inject.c:8: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-mem.o.d,-MT,builtin-mem.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-mem.o builtin-mem.c gcc -Wp,-MD,./.builtin-data.o.d,-MT,builtin-data.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-data.o builtin-data.c In file included from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/helpline.h:7:0, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/debug.h:8, from builtin-data.c:4: /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/unistd.h:25, from util/util.h:46, from builtin.h:4, from builtin-data.c:2: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ gcc -Wp,-MD,./.builtin-trace.o.d,-MT,builtin-trace.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-trace.o builtin-trace.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-trace.c:4: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/traceevent/event-parse.h:25, from builtin-trace.c:1: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ builtin-trace.c: In function 'trace__process_event': builtin-trace.c:1406:7: warning: this statement may fall through [-Wimplicit-fallthrough=] ret = machine__process_lost_event(machine, event, sample); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builtin-trace.c:1407:2: note: here default: ^~~~~~~ gcc -Wp,-MD,./.builtin-probe.o.d,-MT,builtin-probe.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o builtin-probe.o builtin-probe.c In file included from util/../ui/helpline.h:7:0, from util/debug.h:8, from builtin-probe.c:39: util/../ui/../util/cache.h:77:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/utsname.h:25, from builtin-probe.c:23: /usr/include/bits/string_fortified.h:151:1: note: previous definition of 'strlcpy' was here __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ make -f /usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build dir=./bench obj=perf gcc -Wp,-MD,bench/.sched-messaging.o.d,-MT,bench/sched-messaging.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o bench/sched-messaging.o bench/sched-messaging.c gcc -Wp,-MD,bench/.sched-pipe.o.d,-MT,bench/sched-pipe.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o bench/sched-pipe.o bench/sched-pipe.c gcc -Wp,-MD,bench/.mem-memcpy.o.d,-MT,bench/mem-memcpy.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o bench/mem-memcpy.o bench/mem-memcpy.c gcc -Wp,-MD,bench/.futex-hash.o.d,-MT,bench/futex-hash.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-aliasing=3 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -DHAVE_PERF_REGS_SUPPORT -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/include/ -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/arch/x86/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include/uapi -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/include -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf/util -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf -I/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -D"BUILD_STR(s)=#s" -c -o bench/futex-hash.o bench/futex-hash.c In file included from bench/futex-hash.c:17:0: bench/futex.h: In function 'futex_wait': bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function); did you mean 'futex'? syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) ^ bench/futex.h:45:9: note: in expansion of macro 'futex' return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); ^~~~~ bench/futex.h:36:10: note: each undeclared identifier is reported only once for each function it appears in syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) ^ bench/futex.h:45:9: note: in expansion of macro 'futex' return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); ^~~~~ bench/futex.h: In function 'futex_wake': bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function); did you mean 'futex'? syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) ^ bench/futex.h:55:9: note: in expansion of macro 'futex' return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); ^~~~~ bench/futex.h: In function 'futex_cmp_requeue': bench/futex.h:36:10: error: 'SYS_futex' undeclared (first use in this function); did you mean 'futex'? syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) ^ bench/futex.h:67:9: note: in expansion of macro 'futex' return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, ^~~~~ bench/futex.h: In function 'futex_wait': bench/futex.h:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[3]: *** [/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build:69: bench/futex-hash.o] Error 1 make[2]: *** [/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/build/Makefile.build:107: bench] Error 2 make[1]: *** [Makefile.perf:277: perf-in.o] Error 2 make: *** [Makefile:69: all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/linux-tools-4.1-4.1/kernel-source-4.1/tools/perf' error: Bad exit status from /usr/src/tmp/rpm-tmp.91080 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.91080 (%install) Command exited with non-zero status 1 53.21user 4.29system 1:33.17elapsed 61%CPU (0avgtext+0avgdata 48456maxresident)k 0inputs+0outputs (0major+1412863minor)pagefaults 0swaps hsh-rebuild: rebuild of `linux-tools-4.1-4.1-alt1.1.1.1.src.rpm' failed. Command exited with non-zero status 1 75.65user 7.03system 2:08.14elapsed 64%CPU (0avgtext+0avgdata 122996maxresident)k 170112inputs+0outputs (0major+1817131minor)pagefaults 0swaps