Skip to contentSkip to conversation

um: Fix build error and kconfig for i386

PATCH Superseded Mickaël Salaün 2 participants 3 messages Dec 22, 2015 – Dec 23, 2015

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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'

Cc Jeff Dike <[email protected]>
Cc Richard Weinberger <[email protected]>
---
 arch/x86/um/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/x86/um/Kconfig +1 -0
index ed56a1c4ae73..bb7cd8b38043 100644
@@ -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/
#1 lore raw

Am 22.12.2015 um 22:44 schrieb Mickaël Salaün:

Quoted 19 lines

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'

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
index ed56a1c4ae73..bb7cd8b38043 100644

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/

#2 lore raw
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_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'

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
index ed56a1c4ae73..bb7cd8b38043 100644
@@ -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?

After some bisecting, it's broken since v3.15. I'll send a new patch including this info.

Mickaël