Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1329350
| From | "Maciej W. Rozycki" <macro@imgtec.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 1/3] mips: Use arch specific auxvec.h instead of generic-asm version |
| Date | 2016-02-08 18:20 +0100 |
| Message-ID | <qZXDH-8ih-1@gated-at.bofh.it> (permalink) |
| References | <qZeGB-1ZW-3@gated-at.bofh.it> <qZWeB-7eV-9@gated-at.bofh.it> <qZWeC-7eV-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 8 Feb 2016, Daniel Wagner wrote: > The generic auxvec.h is used instead the arch specific version. > This happens when cross compiling the kernel. > > mips64-linux-gnu-gcc (GCC) 5.2.1 20151104 (Red Hat Cross 5.2.1-4) > > arch/mips/kernel/../../../fs/binfmt_elf.c: In function ‘create_elf_tables’: > ./arch/mips/include/asm/elf.h:425:14: error: ‘AT_SYSINFO_EHDR’ undeclared (first use in this function) There must be something wrong with your setup, or maybe a bug somewhere in our build machinery you just happened to trigger. Most of us routinely use a cross-compiler to build the kernel and you're the first one to report the problem. Can you report the compiler invocation that has lead to this error? Have you used a default config or a custom one? > diff --git a/arch/mips/include/asm/auxvec.h b/arch/mips/include/asm/auxvec.h > new file mode 100644 > index 0000000..fbd388c > --- /dev/null > +++ b/arch/mips/include/asm/auxvec.h > @@ -0,0 +1 @@ > +#include <uapi/asm/auxvec.h> You're not supposed to require a header in asm/ merely to include a header of the same name from uapi/asm/ as there are normally -I./arch/mips/include and -I./arch/mips/include/uapi options present both at once, in this order, on the compiler's invocation line. So: #include <asm/auxvec.h> will pull the header from uapi/asm/ if none is present in asm/. Maciej
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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