Re: [PATCH 28/79] libperf: Add perf_cpu_map struct

From: Guenter Roeck
Date: Sun Aug 18 2019 - 17:28:37 EST


On Sun, Aug 18, 2019 at 09:40:32PM +0200, Jiri Olsa wrote:
> On Sun, Aug 18, 2019 at 07:04:36AM -0700, Guenter Roeck wrote:
> > On Sun, Jul 21, 2019 at 01:24:15PM +0200, Jiri Olsa wrote:
> > > Adding perf_cpu_map struct into libperf.
> > >
> > > It's added as a declaration into into:
> > > include/perf/cpumap.h
> > > which will be included by users.
> > >
> > > The perf_cpu_map struct definition is added into:
> > > include/internal/cpumap.h
> > >
> > > which is not to be included by users, but shared
> > > within perf and libperf.
> > >
> > > We tried the total separation of the perf_cpu_map struct
> > > in libperf, but it lead to complications and much bigger
> > > changes in perf code, so we decided to share the declaration.
> > >
> > > Link: http://lkml.kernel.org/n/tip-vhtr6a8apr7vkh2tou0r8896@xxxxxxxxxxxxxx
> > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> >
> > Hi,
> >
> > this patch causes out-of-tree builds (make O=<destdir>) to fail.
> >
> > In file included from tools/include/asm/atomic.h:6:0,
> > from include/linux/atomic.h:5,
> > from tools/include/linux/refcount.h:41,
> > from cpumap.c:4: tools/include/asm/../../arch/x86/include/asm/atomic.h:11:10:
> > fatal error: asm/cmpxchg.h: No such file or directory
> >
> > Bisect log attached.
>
> hi,
> I dont see any problem with v5.3-rc4, could you please send
> the full compilation log (after make clean) from:
>
> $ make V=1 <your options>
>
> also I can't make sense of that bisect, because I can't find
> some of those commits.. what tree are you in?
>
This is with -next, not with mainline. More specifically, with
next-20190816, though the problem has been seen since at least
next-20190801. Mainline builds fine.

Here is the script I used to bisect the problem:

make mrproper
rm -rf /tmp/linux
mkdir /tmp/linux
make ARCH=x86_64 O=/tmp/linux defconfig
make -j40 ARCH=x86_64 O=/tmp/linux tools/perf

It looks like the problem is related to "ARCH=x86_64". In mainline,
x86_64 is replaced in the build command with x86. This is no longer
the case, and make now tries to include from tools/arch/x86_64/include/,
which doesn't exist. As it turns out, O=<destdir> is not needed to
reproduce the problem, only ARCH=x86_64 (or ARCH=i386).

Output from build with V=1 below.

Guenter

---
make[1]: Entering directory '/tmp/linux'
HOSTCC scripts/basic/fixdep
GEN Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/tmp/linux'
make -C /tmp/linux -f /home/groeck/src/linux-next/Makefile tools/perf
make[1]: Entering directory '/tmp/linux'
mkdir -p ./tools
make LDFLAGS= MAKEFLAGS=" -j --jobserver-fds=3,4" O=/tmp/linux subdir=tools -C /home/groeck/src/linux-next/tools/ perf
mkdir -p /tmp/linux/tools/perf .
make --no-print-directory -C perf O=/tmp/linux/tools/perf subdir=
BUILD: Doing 'make -j24' parallel build
make -C /home/groeck/src/linux-next/tools/build CFLAGS= LDFLAGS= /tmp/linux/tools/perf/fixdep
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=. obj=fixdep
gcc -Wp,-MD,/tmp/linux/tools/perf/.fixdep.o.d -Wp,-MT,/tmp/linux/tools/perf/fixdep.o -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/fixdep.o fixdep.c
ld -r -o /tmp/linux/tools/perf/fixdep-in.o /tmp/linux/tools/perf/fixdep.o
gcc -o /tmp/linux/tools/perf/fixdep /tmp/linux/tools/perf/fixdep-in.o
Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
diff -u tools/include/uapi/drm/i915_drm.h include/uapi/drm/i915_drm.h
Warning: Kernel ABI header at 'tools/include/uapi/linux/fs.h' differs from latest version at 'include/uapi/linux/fs.h'
diff -u tools/include/uapi/linux/fs.h include/uapi/linux/fs.h
Warning: Kernel ABI header at 'tools/include/uapi/linux/prctl.h' differs from latest version at 'include/uapi/linux/prctl.h'
diff -u tools/include/uapi/linux/prctl.h include/uapi/linux/prctl.h
Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.h
Warning: Kernel ABI header at 'tools/include/uapi/linux/usbdevice_fs.h' differs from latest version at 'include/uapi/linux/usbdevice_fs.h'
diff -u tools/include/uapi/linux/usbdevice_fs.h include/uapi/linux/usbdevice_fs.h
Warning: Kernel ABI header at 'tools/include/linux/bits.h' differs from latest version at 'include/linux/bits.h'
diff -u tools/include/linux/bits.h include/linux/bits.h
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
diff -u tools/arch/x86/include/uapi/asm/unistd.h arch/x86/include/uapi/asm/unistd.h
Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/mman-common.h' differs from latest version at 'include/uapi/asm-generic/mman-common.h'
diff -u tools/include/uapi/asm-generic/mman-common.h include/uapi/asm-generic/mman-common.h
make FIXDEP=1 -f Makefile.perf

Auto-detecting system features:
... dwarf: [ on ]
... dwarf_getlocations: [ on ]
... glibc: [ on ]
... gtk2: [ on ]
... libaudit: [ on ]
... libbfd: [ on ]
... libelf: [ on ]
... libnuma: [ on ]
... numa_num_possible_cpus: [ on ]
... libperl: [ on ]
... libpython: [ on ]
... libcrypto: [ on ]
... libunwind: [ on ]
... libdw-dwarf-unwind: [ on ]
... zlib: [ on ]
... lzma: [ on ]
... get_cpuid: [ on ]
... bpf: [ on ]
... libaio: [ on ]
... libzstd: [ OFF ]
... disassembler-four-args: [ OFF ]

Makefile.config:822: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
Makefile.config:890: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
$(:)
make -C /home/groeck/src/linux-next/tools/lib/api/ O=/tmp/linux/tools/perf/ /tmp/linux/tools/perf/libapi.a
make -C /home/groeck/src/linux-next/tools/lib/traceevent/ plugin_dir= 'EXTRA_CFLAGS=' 'LDFLAGS= -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions' O=/tmp/linux/tools/perf/ /tmp/linux/tools/perf/libtraceevent.a
make -C /home/groeck/src/linux-next/tools/lib/subcmd/ O=/tmp/linux/tools/perf/ /tmp/linux/tools/perf/libsubcmd.a
make -C /home/groeck/src/linux-next/tools/perf/lib/ O=/tmp/linux/tools/perf/ /tmp/linux/tools/perf/libperf.a
make -C /home/groeck/src/linux-next/tools/lib/bpf/ O=/tmp/linux/tools/perf/ /tmp/linux/tools/perf/libbpf.a FEATURES_DUMP=/tmp/linux/tools/perf/FEATURE-DUMP
/bin/sh util/PERF-VERSION-GEN /tmp/linux/tools/perf/
. util/generate-cmdlist.sh > /tmp/linux/tools/perf/common-cmds.h+ && mv /tmp/linux/tools/perf/common-cmds.h+ /tmp/linux/tools/perf/common-cmds.h
/bin/sh '/home/groeck/src/linux-next/tools/perf/arch/x86/entry/syscalls/syscalltbl.sh' /home/groeck/src/linux-next/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl 'x86_64' > /tmp/linux/tools/perf/arch/x86/include/generated/asm/syscalls_64.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/drm_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/drm > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/drm_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/fadvise.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/fadvise_advice_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/fsconfig.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/fsconfig_arrays.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/fsmount.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/fsmount_arrays.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/fspick.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/fspick_arrays.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/pkey_alloc_access_rights.sh' /home/groeck/src/linux-next/tools/include/uapi/asm-generic/ > /tmp/linux/tools/perf/trace/beauty/generated/pkey_alloc_access_rights_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/sndrv_pcm_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/sound > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/sndrv_pcm_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/sndrv_ctl_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/sound > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/sndrv_ctl_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/kcmp_type.sh' /home/groeck/src/linux-next/tools/include/uapi/linux/ > /tmp/linux/tools/perf/trace/beauty/generated/kcmp_type_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/kvm_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/kvm_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/socket_ipproto.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/socket_ipproto_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/vhost_virtio_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/vhost_virtio_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/madvise_behavior.sh' /home/groeck/src/linux-next/tools/include/uapi/asm-generic/ > /tmp/linux/tools/perf/trace/beauty/generated/madvise_behavior_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/mmap_flags.sh' /home/groeck/src/linux-next/tools/include/uapi/linux /home/groeck/src/linux-next/tools/include/uapi/asm-generic /home/groeck/src/linux-next/tools/arch/x86/include/uapi/asm/ > /tmp/linux/tools/perf/trace/beauty/generated/mmap_flags_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/mount_flags.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/mount_flags_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/move_mount_flags.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/move_mount_flags_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/perf_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/perf_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/prctl_option.sh' /home/groeck/src/linux-next/tools/include/uapi/linux/ > /tmp/linux/tools/perf/trace/beauty/generated/prctl_option_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/usbdevfs_ioctl.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/ioctl/usbdevfs_ioctl_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/x86_arch_prctl.sh' /home/groeck/src/linux-next/tools/arch/x86/include/uapi/asm/ > /tmp/linux/tools/perf/trace/beauty/generated/x86_arch_prctl_code_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/rename_flags.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/rename_flags_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/arch_errno_names.sh' gcc /home/groeck/src/linux-next/tools > /tmp/linux/tools/perf/trace/beauty/generated/arch_errno_name_array.c
/bin/sh '/home/groeck/src/linux-next/tools/perf/trace/beauty/sync_file_range.sh' /home/groeck/src/linux-next/tools/include/uapi/linux > /tmp/linux/tools/perf/trace/beauty/generated/sync_file_range_arrays.c
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=pmu-events obj=jevents
make -C /home/groeck/src/linux-next/tools/lib/traceevent/ plugin_dir= 'EXTRA_CFLAGS=' 'LDFLAGS= -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions' O=/tmp/linux/tools/perf/ plugins
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=jvmti obj=jvmti
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=. obj=gtk
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=./fd obj=libapi
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=./fs obj=libapi
make -f /home/groeck/src/linux-next/tools/build/Makefile.build dir=./ui/gtk obj=gtk
mkdir -p /tmp/linux/tools/perf/jvmti/
mkdir -p /tmp/linux/tools/perf/fd/
mkdir -p /tmp/linux/tools/perf/jvmti/
mkdir -p /tmp/linux/tools/perf/pmu-events/
mkdir -p /tmp/linux/tools/perf/fs/
mkdir -p /tmp/linux/tools/perf/pmu-events/
mkdir -p /tmp/linux/tools/perf/pmu-events/
mkdir -p /tmp/linux/tools/perf/ui/gtk/
gcc -Wp,-MD,/tmp/linux/tools/perf/.exec-cmd.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/exec-cmd.o exec-cmd.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.cpu.o.d -Wp,-MT,/tmp/linux/tools/perf/cpu.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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/groeck/src/linux-next/tools/lib/api -I/home/groeck/src/linux-next/tools/include -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/cpu.o cpu.c
gcc -Wp,-MD,/tmp/linux/tools/perf/fd/.array.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/groeck/src/linux-next/tools/lib/api -I/home/groeck/src/linux-next/tools/include -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/fd/array.o fd/array.c
gcc -Wp,-MD,/tmp/linux/tools/perf/pmu-events/.json.o.d -Wp,-MT,/tmp/linux/tools/perf/pmu-events/json.o -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/pmu-events/json.o pmu-events/json.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.debug.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/groeck/src/linux-next/tools/lib/api -I/home/groeck/src/linux-next/tools/include -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/debug.o debug.c
gcc -Wp,-MD,/tmp/linux/tools/perf/pmu-events/.jsmn.o.d -Wp,-MT,/tmp/linux/tools/perf/pmu-events/jsmn.o -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/pmu-events/jsmn.o pmu-events/jsmn.c
gcc -Wp,-MD,/tmp/linux/tools/perf/jvmti/.libjvmti.o.d -Wp,-MT,/tmp/linux/tools/perf/jvmti/libjvmti.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wswitch-default -Wswitch-enum -Wundef -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DPIC -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -c -o /tmp/linux/tools/perf/jvmti/libjvmti.o jvmti/libjvmti.c
gcc -Wp,-MD,/tmp/linux/tools/perf/pmu-events/.jevents.o.d -Wp,-MT,/tmp/linux/tools/perf/pmu-events/jevents.o -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -D"BUILD_STR(s)=#s" -I/home/groeck/src/linux-next/tools/include -c -o /tmp/linux/tools/perf/pmu-events/jevents.o pmu-events/jevents.c
gcc -Wp,-MD,/tmp/linux/tools/perf/fs/.fs.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/groeck/src/linux-next/tools/lib/api -I/home/groeck/src/linux-next/tools/include -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/fs/fs.o fs/fs.c
gcc -Wp,-MD,/tmp/linux/tools/perf/jvmti/.jvmti_agent.o.d -Wp,-MT,/tmp/linux/tools/perf/jvmti/jvmti_agent.o -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wswitch-default -Wswitch-enum -Wundef -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DPIC -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -c -o /tmp/linux/tools/perf/jvmti/jvmti_agent.o jvmti/jvmti_agent.c
mkdir -p /tmp/linux/tools/perf/ui/gtk/
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.browser.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/browser.o ui/gtk/browser.c
mkdir -p /tmp/linux/tools/perf/fs/
gcc -Wp,-MD,/tmp/linux/tools/perf/.event-parse.o.d -Wp,-MT,/tmp/linux/tools/perf/event-parse.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/event-parse.o event-parse.c
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.setup.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/setup.o ui/gtk/setup.c
gcc -Wp,-MD,/tmp/linux/tools/perf/fs/.tracing_path.o.d -Wp,-MT,/tmp/linux/tools/perf/fs/tracing_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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/groeck/src/linux-next/tools/lib/api -I/home/groeck/src/linux-next/tools/include -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/fs/tracing_path.o fs/tracing_path.c
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.util.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/util.o ui/gtk/util.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.core.o.d -Wp,-MT,/tmp/linux/tools/perf/core.o -g -Wall -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/ -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/core.o core.c
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.hists.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/hists.o ui/gtk/hists.c
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.helpline.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/helpline.o ui/gtk/helpline.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_jbd2.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_jbd2.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_jbd2.o plugin_jbd2.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.str_error_r.o.d -Wp,-MT,/tmp/linux/tools/perf/str_error_r.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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/groeck/src/linux-next/tools/lib/api -I/home/groeck/src/linux-next/tools/include -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/str_error_r.o ../str_error_r.c
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.progress.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/progress.o ui/gtk/progress.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.event-plugin.o.d -Wp,-MT,/tmp/linux/tools/perf/event-plugin.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/event-plugin.o event-plugin.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.cpumap.o.d -Wp,-MT,/tmp/linux/tools/perf/cpumap.o -g -Wall -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/ -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/cpumap.o cpumap.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.libbpf.o.d -Wp,-MT,/tmp/linux/tools/perf/libbpf.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/libbpf.o libbpf.c
ld -r -o /tmp/linux/tools/perf/fd/libapi-in.o /tmp/linux/tools/perf/fd/array.o
gcc -Wp,-MD,/tmp/linux/tools/perf/ui/gtk/.annotate.o.d -Wp,-MT,/tmp/linux/tools/perf/ui/gtk/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -I/tmp/linux/tools/perf/arch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/home/groeck/src/linux-next/tools/perf/lib/include -I/home/groeck/src/linux-next/tools/perf/util/include -I/home/groeck/src/linux-next/tools/perf/arch/x86/include -I/home/groeck/src/linux-next/tools/include/uapi -I/home/groeck/src/linux-next/tools/include/ -I/home/groeck/src/linux-next/tools/arch/x86/include/uapi -I/home/groeck/src/linux-next/tools/arch/x86/include/ -I/home/groeck/src/linux-next/tools/arch/x86/ -I/tmp/linux/tools/perf//util -I/tmp/linux/tools/perf/ -I/home/groeck/src/linux-next/tools/perf/util -I/home/groeck/src/linux-next/tools/perf -I/home/groeck/src/linux-next/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_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_GTK2_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -I/tmp/linux/tools/perf/ -D"BUILD_STR(s)=#s" -fPIC -DHAVE_GTK_INFO_BAR_SUPPORT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -c -o /tmp/linux/tools/perf/ui/gtk/annotate.o ui/gtk/annotate.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.trace-seq.o.d -Wp,-MT,/tmp/linux/tools/perf/trace-seq.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/trace-seq.o trace-seq.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.bpf.o.d -Wp,-MT,/tmp/linux/tools/perf/bpf.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/bpf.o bpf.c
ld -r -o /tmp/linux/tools/perf/plugin_jbd2-in.o /tmp/linux/tools/perf/plugin_jbd2.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.nlattr.o.d -Wp,-MT,/tmp/linux/tools/perf/nlattr.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/nlattr.o nlattr.c
In file included from /home/groeck/src/linux-next/tools/include/asm/atomic.h:6:0,
from /home/groeck/src/linux-next/tools/include/linux/atomic.h:5,
from /home/groeck/src/linux-next/tools/include/linux/refcount.h:41,
from cpumap.c:4:
/home/groeck/src/linux-next/tools/include/asm/../../arch/x86/include/asm/atomic.h:11:10: fatal error: asm/cmpxchg.h: No such file or directory
#include <asm/cmpxchg.h>
^~~~~~~~~~~~~~~
compilation terminated.
gcc -Wp,-MD,/tmp/linux/tools/perf/.btf.o.d -Wp,-MT,/tmp/linux/tools/perf/btf.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/btf.o btf.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.parse-filter.o.d -Wp,-MT,/tmp/linux/tools/perf/parse-filter.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/parse-filter.o parse-filter.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_hrtimer.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_hrtimer.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_hrtimer.o plugin_hrtimer.c
mv: cannot stat '/tmp/linux/tools/perf/.cpumap.o.tmp': No such file or directory
/home/groeck/src/linux-next/tools/build/Makefile.build:96: recipe for target '/tmp/linux/tools/perf/cpumap.o' failed
make[7]: *** [/tmp/linux/tools/perf/cpumap.o] Error 1
Makefile:92: recipe for target '/tmp/linux/tools/perf/libperf-in.o' failed
make[6]: *** [/tmp/linux/tools/perf/libperf-in.o] Error 2
Makefile.perf:762: recipe for target '/tmp/linux/tools/perf/libperf.a' failed
make[5]: *** [/tmp/linux/tools/perf/libperf.a] Error 2
make[5]: *** Waiting for unfinished jobs....
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_kmem.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_kmem.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_kmem.o plugin_kmem.c
ld -r -o /tmp/linux/tools/perf/fs/libapi-in.o /tmp/linux/tools/perf/fs/fs.o /tmp/linux/tools/perf/fs/tracing_path.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_kvm.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_kvm.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_kvm.o plugin_kvm.c
ld -r -o /tmp/linux/tools/perf/libapi-in.o /tmp/linux/tools/perf/fd/libapi-in.o /tmp/linux/tools/perf/fs/libapi-in.o /tmp/linux/tools/perf/cpu.o /tmp/linux/tools/perf/debug.o /tmp/linux/tools/perf/str_error_r.o
rm -f /tmp/linux/tools/perf/libapi.a && ar rcs /tmp/linux/tools/perf/libapi.a /tmp/linux/tools/perf/libapi-in.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.help.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/help.o help.c
ld -r -o /tmp/linux/tools/perf/plugin_hrtimer-in.o /tmp/linux/tools/perf/plugin_hrtimer.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.parse-utils.o.d -Wp,-MT,/tmp/linux/tools/perf/parse-utils.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/parse-utils.o parse-utils.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.libbpf_errno.o.d -Wp,-MT,/tmp/linux/tools/perf/libbpf_errno.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/libbpf_errno.o libbpf_errno.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.kbuffer-parse.o.d -Wp,-MT,/tmp/linux/tools/perf/kbuffer-parse.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/kbuffer-parse.o kbuffer-parse.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_mac80211.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_mac80211.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_mac80211.o plugin_mac80211.c
ld -r -o /tmp/linux/tools/perf/plugin_kmem-in.o /tmp/linux/tools/perf/plugin_kmem.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.tep_strerror.o.d -Wp,-MT,/tmp/linux/tools/perf/tep_strerror.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/tep_strerror.o tep_strerror.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.str_error.o.d -Wp,-MT,/tmp/linux/tools/perf/str_error.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/str_error.o str_error.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.pager.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/pager.o pager.c
ld -r -o /tmp/linux/tools/perf/plugin_kvm-in.o /tmp/linux/tools/perf/plugin_kvm.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.parse-options.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/parse-options.o parse-options.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.run-command.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/run-command.o run-command.c
ld -r -o /tmp/linux/tools/perf/plugin_mac80211-in.o /tmp/linux/tools/perf/plugin_mac80211.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.sigchain.o.d -Wp,-MT,/tmp/linux/tools/perf/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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/sigchain.o sigchain.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_sched_switch.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_sched_switch.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_sched_switch.o plugin_sched_switch.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.event-parse-api.o.d -Wp,-MT,/tmp/linux/tools/perf/event-parse-api.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/event-parse-api.o event-parse-api.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_function.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_function.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_function.o plugin_function.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.netlink.o.d -Wp,-MT,/tmp/linux/tools/perf/netlink.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/netlink.o netlink.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_xen.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_xen.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_xen.o plugin_xen.c
ld -r -o /tmp/linux/tools/perf/plugin_sched_switch-in.o /tmp/linux/tools/perf/plugin_sched_switch.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_scsi.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_scsi.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_scsi.o plugin_scsi.c
ld -r -o /tmp/linux/tools/perf/plugin_function-in.o /tmp/linux/tools/perf/plugin_function.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.bpf_prog_linfo.o.d -Wp,-MT,/tmp/linux/tools/perf/bpf_prog_linfo.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/bpf_prog_linfo.o bpf_prog_linfo.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.subcmd-config.o.d -Wp,-MT,/tmp/linux/tools/perf/subcmd-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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -O6 -Werror -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/groeck/src/linux-next/tools/include/ -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/subcmd-config.o subcmd-config.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.libbpf_probes.o.d -Wp,-MT,/tmp/linux/tools/perf/libbpf_probes.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/libbpf_probes.o libbpf_probes.c
ld -r -o /tmp/linux/tools/perf/jvmti/jvmti-in.o /tmp/linux/tools/perf/jvmti/libjvmti.o /tmp/linux/tools/perf/jvmti/jvmti_agent.o
ld -r -o /tmp/linux/tools/perf/plugin_xen-in.o /tmp/linux/tools/perf/plugin_xen.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.xsk.o.d -Wp,-MT,/tmp/linux/tools/perf/xsk.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/xsk.o xsk.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.hashmap.o.d -Wp,-MT,/tmp/linux/tools/perf/hashmap.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/hashmap.o hashmap.c
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_jbd2.so /tmp/linux/tools/perf/plugin_jbd2-in.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_hrtimer.so /tmp/linux/tools/perf/plugin_hrtimer-in.o
gcc -Wp,-MD,/tmp/linux/tools/perf/.btf_dump.o.d -Wp,-MT,/tmp/linux/tools/perf/btf_dump.o -g -Wall -DHAVE_LIBELF_MMAP_SUPPORT -DCOMPAT_NEED_REALLOCARRAY -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 -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -Werror -Wall -fPIC -I. -I/home/groeck/src/linux-next/tools/include -I/home/groeck/src/linux-next/tools/arch/x86_64/include/uapi -I/home/groeck/src/linux-next/tools/include/uapi -fvisibility=hidden -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/btf_dump.o btf_dump.c
gcc -Wp,-MD,/tmp/linux/tools/perf/.plugin_cfg80211.o.d -Wp,-MT,/tmp/linux/tools/perf/plugin_cfg80211.o -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -D"BUILD_STR(s)=#s" -c -o /tmp/linux/tools/perf/plugin_cfg80211.o plugin_cfg80211.c
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_kmem.so /tmp/linux/tools/perf/plugin_kmem-in.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_kvm.so /tmp/linux/tools/perf/plugin_kvm-in.o
ld -r -o /tmp/linux/tools/perf/plugin_scsi-in.o /tmp/linux/tools/perf/plugin_scsi.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_mac80211.so /tmp/linux/tools/perf/plugin_mac80211-in.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_sched_switch.so /tmp/linux/tools/perf/plugin_sched_switch-in.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_function.so /tmp/linux/tools/perf/plugin_function-in.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_xen.so /tmp/linux/tools/perf/plugin_xen-in.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_scsi.so /tmp/linux/tools/perf/plugin_scsi-in.o
ld -r -o /tmp/linux/tools/perf/plugin_cfg80211-in.o /tmp/linux/tools/perf/plugin_cfg80211.o
gcc -g -Wall -fPIC -I. -I /home/groeck/src/linux-next/tools/include -D_GNU_SOURCE -shared -Wl,-z,noexecstack -lunwind-x86_64 -lunwind -llzma -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -nostartfiles -o /tmp/linux/tools/perf/plugin_cfg80211.so /tmp/linux/tools/perf/plugin_cfg80211-in.o
ld -r -o /tmp/linux/tools/perf/pmu-events/jevents-in.o /tmp/linux/tools/perf/pmu-events/json.o /tmp/linux/tools/perf/pmu-events/jsmn.o /tmp/linux/tools/perf/pmu-events/jevents.o
ld -r -o /tmp/linux/tools/perf/libtraceevent-in.o /tmp/linux/tools/perf/event-parse.o /tmp/linux/tools/perf/event-plugin.o /tmp/linux/tools/perf/trace-seq.o /tmp/linux/tools/perf/parse-filter.o /tmp/linux/tools/perf/parse-utils.o /tmp/linux/tools/perf/kbuffer-parse.o /tmp/linux/tools/perf/tep_strerror.o /tmp/linux/tools/perf/event-parse-api.o
rm -f /tmp/linux/tools/perf/libtraceevent.a; ar rcs /tmp/linux/tools/perf/libtraceevent.a /tmp/linux/tools/perf/libtraceevent-in.o
ld -r -o /tmp/linux/tools/perf/libbpf-in.o /tmp/linux/tools/perf/libbpf.o /tmp/linux/tools/perf/bpf.o /tmp/linux/tools/perf/nlattr.o /tmp/linux/tools/perf/btf.o /tmp/linux/tools/perf/libbpf_errno.o /tmp/linux/tools/perf/str_error.o /tmp/linux/tools/perf/netlink.o /tmp/linux/tools/perf/bpf_prog_linfo.o /tmp/linux/tools/perf/libbpf_probes.o /tmp/linux/tools/perf/xsk.o /tmp/linux/tools/perf/hashmap.o /tmp/linux/tools/perf/btf_dump.o
rm -f /tmp/linux/tools/perf/libbpf.a; ar rcs /tmp/linux/tools/perf/libbpf.a /tmp/linux/tools/perf/libbpf-in.o
ld -r -o /tmp/linux/tools/perf/libsubcmd-in.o /tmp/linux/tools/perf/exec-cmd.o /tmp/linux/tools/perf/help.o /tmp/linux/tools/perf/pager.o /tmp/linux/tools/perf/parse-options.o /tmp/linux/tools/perf/run-command.o /tmp/linux/tools/perf/sigchain.o /tmp/linux/tools/perf/subcmd-config.o
rm -f /tmp/linux/tools/perf/libsubcmd.a && ar rcs /tmp/linux/tools/perf/libsubcmd.a /tmp/linux/tools/perf/libsubcmd-in.o
ld -r -o /tmp/linux/tools/perf/ui/gtk/gtk-in.o /tmp/linux/tools/perf/ui/gtk/browser.o /tmp/linux/tools/perf/ui/gtk/hists.o /tmp/linux/tools/perf/ui/gtk/setup.o /tmp/linux/tools/perf/ui/gtk/util.o /tmp/linux/tools/perf/ui/gtk/helpline.o /tmp/linux/tools/perf/ui/gtk/progress.o /tmp/linux/tools/perf/ui/gtk/annotate.o
ld -r -o /tmp/linux/tools/perf/gtk-in.o /tmp/linux/tools/perf/ui/gtk/gtk-in.o
PERF_VERSION = 5.3.rc4.g0c3d3d648b3e
touch /tmp/linux/tools/perf/PERF-VERSION-FILE
Makefile.perf:218: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:69: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:80: recipe for target 'perf' failed
make[2]: *** [perf] Error 2
/home/groeck/src/linux-next/Makefile:1756: recipe for target 'tools/perf' failed
make[1]: *** [tools/perf] Error 2
make[1]: Leaving directory '/tmp/linux'
Makefile:179: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2