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]
Message-ID: <201511060024.OEOmXGqA%fengguang.wu@intel.com>
Date:	Fri, 6 Nov 2015 00:27:26 +0800
From:	kbuild test robot <lkp@...el.com>
To:	mudongliang <mudongliangabcd@...il.com>
Cc:	kbuild-all@...org, benh@...nel.crashing.org, paulus@...ba.org,
	mpe@...erman.id.au, takahiro.akashi@...aro.org,
	will.deacon@....com, linuxppc-dev@...ts.ozlabs.org,
	linux-kernel@...r.kernel.org, linux-api@...r.kernel.org
Subject: Re: [PATCH] uapi elf: delete unused macros

Hi mudongliang,

[auto build test ERROR on: powerpc/next]
[also build test ERROR on: v4.3 next-20151105]

url:    https://github.com/0day-ci/linux/commits/mudongliang/uapi-elf-delete-unused-macros/20151105-234433
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: m68k-sun3_defconfig (attached as .config)
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=m68k 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/elf.h:4:0,
                    from include/linux/module.h:15,
                    from fs/binfmt_elf.c:12:
   fs/binfmt_elf.c: In function 'fill_elf_header':
>> arch/m68k/include/asm/elf.h:54:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
    #define ELF_DATA ELFDATA2MSB
                     ^
>> fs/binfmt_elf.c:1350:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^
   arch/m68k/include/asm/elf.h:54:18: note: each undeclared identifier is reported only once for each function it appears in
    #define ELF_DATA ELFDATA2MSB
                     ^
>> fs/binfmt_elf.c:1350:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^
--
   In file included from include/linux/elf.h:4:0,
                    from fs/proc/kcore.c:17:
   fs/proc/kcore.c: In function 'elf_kcore_store_hdr':
>> arch/m68k/include/asm/elf.h:54:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
    #define ELF_DATA ELFDATA2MSB
                     ^
>> fs/proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^
   arch/m68k/include/asm/elf.h:54:18: note: each undeclared identifier is reported only once for each function it appears in
    #define ELF_DATA ELFDATA2MSB
                     ^
>> fs/proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^
--
   In file included from include/linux/elf.h:4:0,
                    from fs//proc/kcore.c:17:
   fs//proc/kcore.c: In function 'elf_kcore_store_hdr':
>> arch/m68k/include/asm/elf.h:54:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
    #define ELF_DATA ELFDATA2MSB
                     ^
   fs//proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^
   arch/m68k/include/asm/elf.h:54:18: note: each undeclared identifier is reported only once for each function it appears in
    #define ELF_DATA ELFDATA2MSB
                     ^
   fs//proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^

vim +/ELFDATA2MSB +54 arch/m68k/include/asm/elf.h

f358cbcd Greg Ungerer 2009-01-29  48  #define elf_check_arch(x) ((x)->e_machine == EM_68K)
f358cbcd Greg Ungerer 2009-01-29  49  
f358cbcd Greg Ungerer 2009-01-29  50  /*
f358cbcd Greg Ungerer 2009-01-29  51   * These are used to set parameters in the core dumps.
f358cbcd Greg Ungerer 2009-01-29  52   */
f358cbcd Greg Ungerer 2009-01-29  53  #define ELF_CLASS	ELFCLASS32
f358cbcd Greg Ungerer 2009-01-29 @54  #define ELF_DATA	ELFDATA2MSB
f358cbcd Greg Ungerer 2009-01-29  55  #define ELF_ARCH	EM_68K
f358cbcd Greg Ungerer 2009-01-29  56  
f358cbcd Greg Ungerer 2009-01-29  57  /* For SVR4/m68k the function pointer to be registered with `atexit' is

:::::: The code at line 54 was first introduced by commit
:::::: f358cbcd49027d3a58c1f29dbf02a8369bfedcf7 m68k: use mmu version of elf.h for non-mmu builds as well

:::::: TO: Greg Ungerer <gerg@...inux.org>
:::::: CC: Greg Ungerer <gerg@...inux.org>

---
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" (10998 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ