Messages in this thread Patch in this message | | | Date | Tue, 22 Dec 2009 01:39:31 +0100 | Subject | Re: [REGRESSION] um: CONFIG_STATIC_LINK=y broken | From | richard -rw- weinberger <> |
| |
This is the bad changeset:
diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S index 2ebd397..e7a6cca 100644 --- a/arch/um/kernel/uml.lds.S +++ b/arch/um/kernel/uml.lds.S @@ -22,11 +22,7 @@ SECTIONS _text = .; _stext = .; __init_begin = .; - .init.text : { - _sinittext = .; - INIT_TEXT - _einittext = .; - } + INIT_TEXT_SECTION(PAGE_SIZE) . = ALIGN(PAGE_SIZE);
.text : //richard 2009/12/22, Tim Abbott <tabbott@ksplice.com>: > The individual chunks of that patch are all independent; could you > determine which one of the changes causes the problem? > > -Tim Abbott > > On Tue, 22 Dec 2009, richard -rw- weinberger wrote: > >> Hi, >> >> CONFIG_STATIC_LINK=y is broken since 2.6.32. >> The linux binary segfaults immediately. >> >> This patch introduced the regression (bisected): >> 5d150a97f9391f5bcd7ba0d59d7a11c3de3cea80 is first bad commit >> commit 5d150a97f9391f5bcd7ba0d59d7a11c3de3cea80 >> Author: Tim Abbott <tabbott@ksplice.com> >> Date: Thu Sep 24 10:36:20 2009 -0400 >> >> um: Clean up linker script using standard macros. >> >> Signed-off-by: Tim Abbott <tabbott@ksplice.com> >> Cc: Jeff Dike <jdike@addtoit.com> >> Cc: user-mode-linux-devel@lists.sourceforge.net >> Acked-by: Sam Ravnborg <sam@ravnborg.org> >> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> >> >> :040000 040000 43c1b7afe756beb0dc5073195916d54ac41e7546 >> fe33dda7c1b15c61a6a65195cc6522beb25e7ba2 M arch >> >> Cheers, >> //richard >> >
| |