lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 29 Aug 2016 05:22:16 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        linuxppc-dev@...ts.ozlabs.org,
        Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Jiri Olsa <jolsa@...nel.org>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Stephane Eranian <eranian@...il.com>,
        Russell King <linux@....linux.org.uk>,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will.deacon@....com>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Michael Ellerman <mpe@...erman.id.au>,
        Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Subject: Re: [PATCH 01/13] perf/core: Add perf_arch_regs and mask to
 perf_regs structure

Hi Madhavan,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.8-rc3 next-20160825]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Madhavan-Srinivasan/perf-core-Add-perf_arch_regs-and-mask-to-perf_regs-structure/20160829-050443
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

>> kernel/events/core.c:5356:27: error: redefinition of 'perf_get_arch_regs_mask'
    u64 __attribute__((weak)) perf_get_arch_regs_mask()
                              ^
   In file included from include/linux/perf_event.h:54:0,
                    from include/linux/trace_events.h:9,
                    from include/trace/syscall.h:6,
                    from include/linux/syscalls.h:81,
                    from kernel/events/core.c:34:
   include/linux/perf_regs.h:52:5: note: previous definition of 'perf_get_arch_regs_mask' was here
    u64 perf_get_arch_regs_mask(void)
        ^
>> kernel/events/core.c:5361:46: error: redefinition of 'perf_get_arch_reg'
    struct perf_arch_regs *__attribute__((weak)) perf_get_arch_reg()
                                                 ^
   In file included from include/linux/perf_event.h:54:0,
                    from include/linux/trace_events.h:9,
                    from include/trace/syscall.h:6,
                    from include/linux/syscalls.h:81,
                    from kernel/events/core.c:34:
   include/linux/perf_regs.h:57:24: note: previous definition of 'perf_get_arch_reg' was here
    struct perf_arch_regs *perf_get_arch_reg(void)
                           ^
>> kernel/events/core.c:5366:27: error: redefinition of 'perf_arch_reg_value'
    u64 __attribute__((weak)) perf_arch_reg_value(struct perf_arch_regs *regs,
                              ^
   In file included from include/linux/perf_event.h:54:0,
                    from include/linux/trace_events.h:9,
                    from include/trace/syscall.h:6,
                    from include/linux/syscalls.h:81,
                    from kernel/events/core.c:34:
   include/linux/perf_regs.h:62:5: note: previous definition of 'perf_arch_reg_value' was here
    u64 perf_arch_reg_value(struct perf_arch_regs *regs, int idx)
        ^

vim +/perf_get_arch_regs_mask +5356 kernel/events/core.c

  5350	{
  5351		perf_guest_cbs = NULL;
  5352		return 0;
  5353	}
  5354	EXPORT_SYMBOL_GPL(perf_unregister_guest_info_callbacks);
  5355	
> 5356	u64 __attribute__((weak)) perf_get_arch_regs_mask()
  5357	{
  5358		return 0;
  5359	}
  5360	
> 5361	struct perf_arch_regs *__attribute__((weak)) perf_get_arch_reg()
  5362	{
  5363		return 0;
  5364	}
  5365	
> 5366	u64 __attribute__((weak)) perf_arch_reg_value(struct perf_arch_regs *regs,
  5367									int idx)
  5368	{
  5369		return 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (47053 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ