From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755400Ab0FSJyJ (ORCPT ); Sat, 19 Jun 2010 05:54:09 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:48364 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755290Ab0FSJyG (ORCPT ); Sat, 19 Jun 2010 05:54:06 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VZ9ndNRYQIIDdUi+LCSbyvILwx6lqH5tVLl4ecs+ZoY238CwyAGNN8wwOpbmD6+Pn0 4oE0t/ZCNS4KTPrcrG6f+TPCVMHgu3Gwy5t5eyzkwQx3ztpgAuCYdkwb3dk4k45G/phL VJMSaEfyx0+u9teGnb+TmwsUETkgQ6LkoCCjE= MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 19 Jun 2010 11:54:02 +0200 Message-ID: Subject: Re: [RESEND][REGRESSION] um: CONFIG_STATIC_LINK=y broken From: richard -rw- weinberger To: Geert Uytterhoeven Cc: akpm@linux-foundation.org, tabbott@ksplice.com, linux-kernel@vger.kernel.org, Jeff Dike , user-mode-linux-devel@lists.sourceforge.net, stable@kernel.org, maurer@ugcs.caltech.edu Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 19, 2010 at 10:59 AM, Geert Uytterhoeven wrote: > On Sat, Jun 19, 2010 at 00:23, richard -rw- weinberger > wrote: >> On Fri, Jun 18, 2010 at 10:01 PM, Geert Uytterhoeven >> wrote: >>> On Fri, Jun 18, 2010 at 19:50, richard -rw- weinberger >>> wrote: >>>> On Fri, Jun 18, 2010 at 7:17 PM, Geert Uytterhoeven >>>> wrote: >>>>> On Fri, Jun 18, 2010 at 17:22, richard -rw- weinberger >>>>> wrote: >>>>>> On Fri, Jun 18, 2010 at 4:27 PM, Geert Uytterhoeven >>>>>> wrote: >>>>>>> On Fri, Jun 18, 2010 at 15:49, richard -rw- weinberger >>>>>>> wrote: >>>>>>>> Andrew, Linus, Jeff, ... anyone? >>>>>>>> Please apply this patch. >>>>>>>> >>>>>>>> CONFIG_STATIC_LINK is still broken. :( >>>>>>> >>>>>>> I wanted to verify Tim's patch, but after enabling CONFIG_STATIC_LINK, >>>>>>> it fails to link >>>>>>> (with or without your patch): >>>>>>> >>>>>> >>>>>> BTW: Does CONFIG_STATIC_LINK work for you when you revert commit >>>>>> 5d150a97f9391f5bcd7ba0d59d7a11c3de3cea80 (um: Clean up linker script >>>>>> using standard macros)? >>>>> >>>>> Still the same linking errors ;-( >>>>> >>>> >>>> Are you using a non-x86 environment? >>>> Maybe CONFIG_STATIC_LINK is more broken than i thought. >>> >>> I'm using amd64 on Ubuntu 10.04. >>> >> >> Can please you test this patch? >> http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/03cd264b00551949?pli=1 > > Matthew's patch fixes the linking problem for me. > > Interestingly, CONFIG_STATIC_LINK=y now boots fine for me, with and > without Tim's patch? Tim's patch fixes the issue on x86 and Matthew's patch fixes it on amd64. I'll combine both patches and test them also on some other archs. -- Cheers, //richard