[RFC][PATCH] making ubifs compile with gcc-3.4
Artem Bityutskiy
dedekind at infradead.org
Mon May 5 03:28:14 EDT 2008
On Fri, 2008-05-02 at 15:22 +1000, Hamish Moffatt wrote:
> ubifs fails to compile with my gcc 3.4.4 (for arm), bombing with:
>
> fs/built-in.o: In function `ubifs_create_dflt_lpt':
> lpt_commit.c:(.text+0x88690): undefined reference to `__you_cannot_kmalloc_that_much'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> It compiles with 4.1.2 ok though. Some web searches suggest that this is
> due to a compiler bug. Patches have been applied in other parts of the
> tree to work around this so perhaps you'll consider this patch for ubifs
> also.
>
> I found that rearranging the kmalloc order makes it compile. I don't
> believe there is any effect on the behaviour.
>
> Signed-off-by: Hamish Moffatt <hamish at cloud.net.au>
Applied, thank you.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list