um: Fix build error and kconfig for i386
Subsystems (3)
PATCH 1/1 um: Fix build error and kconfig for i386
Fix build error by selecting COREDUMP when X86_32 is selected:
arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs':
(.text+0x3e62): undefined reference to dump_emit' arch/x86/um/built-in.o: In function elf_core_write_extra_data':
(.text+0x3eef): undefined reference to `dump_emit'
--- arch/x86/um/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/x86/um/Kconfig +1 -0
@@ -26,6 +26,7 @@ config X86_32 select CLONE_BACKWARDS select OLD_SIGSUSPEND3 select OLD_SIGACTION + select COREDUMP config X86_64 def_bool 64BIT
Signature · 7 lines
2.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Richard Weinberger
maintainerAm 22.12.2015 um 22:44 schrieb Mickaël Salaün:
Quoted 19 lines
Fix build error by selecting COREDUMP when
X86_32is selected:
arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs':
(.text+0x3e62): undefined reference todump_emit' arch/x86/um/built-in.o: In functionelf_core_write_extra_data':
(.text+0x3eef): undefined reference to `dump_emit'Signed-off-by Mickaël Salaün <[email protected]>Cc Jeff Dike <[email protected]>Cc Richard Weinberger <[email protected]>--- arch/x86/um/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/x86/um/Kconfig +0
-0
arch/x86/um/Kconfig config X86_32 · line 29
Quoted 4 lines
arch/x86/um/Kconfig +1
-0@@ -26,6 +26,7 @@ config X86_32 select CLONE_BACKWARDS select OLD_SIGSUSPEND3 select OLD_SIGACTION + select COREDUMP
Do you know since when this is broken?
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 15 lines · Richard Weinberger
Am 22.12.2015 um 22:44 schrieb Mickaël Salaün:
Quoted 14 lines
Fix build error by selecting COREDUMP when
X86_32is selected:
arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs':
(.text+0x3e62): undefined reference todump_emit' arch/x86/um/built-in.o: In functionelf_core_write_extra_data':
(.text+0x3eef): undefined reference to `dump_emit'Signed-off-by Mickaël Salaün <[email protected]>Cc Jeff Dike <[email protected]>Cc Richard Weinberger <[email protected]>--- arch/x86/um/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
arch/x86/um/Kconfig config X86_32 · line 29
Quoted 9 lines
arch/x86/um/Kconfig +1
-0@@ -26,6 +26,7 @@ config X86_32 select CLONE_BACKWARDS select OLD_SIGSUSPEND3 select OLD_SIGACTION + select COREDUMPDo you know since when this is broken?
After some bisecting, it's broken since v3.15. I'll send a new patch including this info.
Mickaël