Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329276

Re: [PATCH v3 3/3] mips: Differentiate between 32 and 64 bit ELF header

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/3] mips: Differentiate between 32 and 64 bit ELF header
Date 2016-02-08 17:30 +0100
Message-ID <qZWRk-7IX-27@gated-at.bofh.it> (permalink)
References <qZWeB-7eV-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Daniel,

[auto build test ERROR on v4.5-rc3]
[also build test ERROR on next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Daniel-Wagner/Differentiate-between-32-and-64-bit-ELF-header/20160208-234759
config: mips-fuloong2e_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=mips 

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

   arch/mips/kernel/../../../fs/binfmt_elf.c: In function 'load_elf_interp':
>> arch/mips/kernel/binfmt_elfn32.c:38:7: error: implicit declaration of function 'mips_elf_check_machine' [-Werror=implicit-function-declaration]
     if (!mips_elf_check_machine(__h))    \
          ^
>> arch/mips/kernel/../../../fs/binfmt_elf.c:536:7: note: in expansion of macro 'elf_check_arch'
     if (!elf_check_arch(interp_elf_ex))
          ^
   cc1: some warnings being treated as errors
--
   arch/mips/kernel/../../../fs/binfmt_elf.c: In function 'load_elf_interp':
>> arch/mips/kernel/binfmt_elfo32.c:50:7: error: implicit declaration of function 'mips_elf_check_machine' [-Werror=implicit-function-declaration]
     if (!mips_elf_check_machine(__h))    \
          ^
>> arch/mips/kernel/../../../fs/binfmt_elf.c:536:7: note: in expansion of macro 'elf_check_arch'
     if (!elf_check_arch(interp_elf_ex))
          ^
   cc1: some warnings being treated as errors

vim +/mips_elf_check_machine +38 arch/mips/kernel/binfmt_elfn32.c

    32	 */
    33	#define elf_check_arch(hdr)						\
    34	({									\
    35		int __res = 1;							\
    36		struct elfhdr *__h = (hdr);					\
    37										\
  > 38		if (!mips_elf_check_machine(__h))				\
    39			__res = 0;						\
    40		if (__h->e_ident[EI_CLASS] != ELFCLASS32)			\
    41			__res = 0;						\

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH tip v6 0/5] Simple wait queue support Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-01-28 16:00 +0100
  [PATCH tip v6 5/5] rcu: use simple wait queues where possible in rcutree Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-01-28 16:00 +0100
  [PATCH] MIPS: Differentiate between 32 and 64 bit ELF header Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-01-29 14:30 +0100
    Re: [PATCH] MIPS: Differentiate between 32 and 64 bit ELF header "Maciej W. Rozycki" <macro@imgtec.com> - 2016-02-01 02:00 +0100
      Re: [PATCH] MIPS: Differentiate between 32 and 64 bit ELF header Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-01 17:10 +0100
        Re: [PATCH] MIPS: Differentiate between 32 and 64 bit ELF header "Maciej W. Rozycki" <macro@imgtec.com> - 2016-02-06 18:20 +0100
          [PATCH v3 0/3] Differentiate between 32 and 64 bit ELF header Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-08 16:50 +0100
            [PATCH v3 3/3] mips: Differentiate between 32 and 64 bit ELF header Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-08 16:50 +0100
              Re: [PATCH v3 3/3] mips: Differentiate between 32 and 64 bit ELF  header kbuild test robot <lkp@intel.com> - 2016-02-08 17:30 +0100
                Re: [PATCH v3 3/3] mips: Differentiate between 32 and 64 bit ELF  header Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-09 09:10 +0100
              Re: [PATCH v3 3/3] mips: Differentiate between 32 and 64 bit ELF  header "Maciej W. Rozycki" <macro@imgtec.com> - 2016-02-08 18:10 +0100
            [PATCH v3 1/3] mips: Use arch specific auxvec.h instead of generic-asm version Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-08 16:50 +0100
              Re: [PATCH v3 1/3] mips: Use arch specific auxvec.h instead of  generic-asm version "Maciej W. Rozycki" <macro@imgtec.com> - 2016-02-08 18:20 +0100
                Re: [PATCH v3 1/3] mips: Use arch specific auxvec.h instead of  generic-asm version Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-09 08:10 +0100
            [PATCH v3 2/3] crash_dump: Add vmcore_elf32_check_arch Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-02-08 16:50 +0100
              Re: [PATCH v3 2/3] crash_dump: Add vmcore_elf32_check_arch "Maciej W. Rozycki" <macro@imgtec.com> - 2016-02-08 18:10 +0100
  [PATCH] video: Use bool instead int pointer for get_opt_bool() argument Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-01-29 14:30 +0100

csiph-web