Re: [RESEND][REGRESSION] um: CONFIG_STATIC_LINK=y broken

From: Geert Uytterhoeven
Date: Sat Jun 19 2010 - 04:59:12 EST


On Sat, Jun 19, 2010 at 00:23, richard -rw- weinberger
<richard.weinberger@xxxxxxxxx> wrote:
> On Fri, Jun 18, 2010 at 10:01 PM, Geert Uytterhoeven
> <geert@xxxxxxxxxxxxxx> wrote:
>> On Fri, Jun 18, 2010 at 19:50, richard -rw- weinberger
>> <richard.weinberger@xxxxxxxxx> wrote:
>>> On Fri, Jun 18, 2010 at 7:17 PM, Geert Uytterhoeven
>>> <geert@xxxxxxxxxxxxxx> wrote:
>>>> On Fri, Jun 18, 2010 at 17:22, richard -rw- weinberger
>>>> <richard.weinberger@xxxxxxxxx> wrote:
>>>>> On Fri, Jun 18, 2010 at 4:27 PM, Geert Uytterhoeven
>>>>> <geert@xxxxxxxxxxxxxx> wrote:
>>>>>> On Fri, Jun 18, 2010 at 15:49, richard -rw- weinberger
>>>>>> <richard.weinberger@xxxxxxxxx> 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?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/