[lkml]   [2010]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: mmotm 2010-01-28-01-36 uploaded (elfcore/compat_binfmt_elf)
    On Thu, 28 Jan 2010 01:36:55 -0800 wrote:

    > The mm-of-the-moment snapshot 2010-01-28-01-36 has been uploaded to
    > and will soon be available at
    > git://
    > It contains the following patches against 2.6.33-rc5:

    > elf-coredump-replace-elf_core_extra_-macros-by-functions.patch
    > elf-coredump-make-offset-calculation-process-and-writing-process-explicit.patch
    > elf-coredump-add-extended-numbering-support.patch

    These patches can cause build errors. See arch/x86/Kconfig:

    config IA32_EMULATION
    bool "IA32 Emulation"
    depends on X86_64

    COMPAT_BINFMT_ELF can be enabled (selected) even when BINFMT_ELF is not
    enabled (due to "select" not looking at dependencies).

    That causes the kernel/Makefile of elfcore not to be built:

    diff -puN arch/ia64/kernel/Makefile~elf-coredump-replace-elf_core_extra_-macros-by-functions arch/ia64/kernel/Makefile
    --- a/arch/ia64/kernel/Makefile~elf-coredump-replace-elf_core_extra_-macros-by-functions
    +++ a/arch/ia64/kernel/Makefile
    @@ -47,6 +47,8 @@ endif
    obj-$(CONFIG_DMAR) += pci-dma.o
    obj-$(CONFIG_SWIOTLB) += pci-swiotlb.o

    +obj-$(CONFIG_BINFMT_ELF) += elfcore.o

    since only COMPAT_BINFMT_ELF is enabled but not BINFMT_ELF.

    So then the errors are:

    fs/built-in.o: In function `elf_core_dump':
    compat_binfmt_elf.c:(.text+0x551e8): undefined reference to `elf_core_extra_phdrs'
    compat_binfmt_elf.c:(.text+0x55413): undefined reference to `elf_core_extra_data_size'
    compat_binfmt_elf.c:(.text+0x556c4): undefined reference to `elf_core_write_extra_phdrs'
    compat_binfmt_elf.c:(.text+0x559fd): undefined reference to `elf_core_write_extra_data'


     \ /
      Last update: 2010-01-28 21:53    [W:0.050 / U:4.076 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site