From: Artem Bityutskiy <dedekind@infradead.org>
To: Hamish Moffatt <hamish@cloud.net.au>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [RFC][PATCH] making ubifs compile with gcc-3.4
Date: Mon, 05 May 2008 10:28:14 +0300 [thread overview]
Message-ID: <1209972494.3645.4.camel@sauron> (raw)
In-Reply-To: <20080502052211.GB6654@cloud.net.au>
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@cloud.net.au>
Applied, thank you.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
prev parent reply other threads:[~2008-05-05 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 5:22 [RFC][PATCH] making ubifs compile with gcc-3.4 Hamish Moffatt
2008-05-05 7:28 ` Artem Bityutskiy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1209972494.3645.4.camel@sauron \
--to=dedekind@infradead.org \
--cc=hamish@cloud.net.au \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.