Re: [PATCH 2/2] initramfs: Fix initramfs size calculation

From: Mike Frysinger
Date: Mon Oct 18 2010 - 19:07:41 EST


On Mon, Oct 18, 2010 at 06:37, Hendrik Brueckner wrote:
> On Sun, Oct 17, 2010 at 02:28:11PM -0400, Mike Frysinger wrote:
>> On Tue, Aug 31, 2010 at 04:23, Hendrik Brueckner wrote:
>> i'm pretty sure this breaks on every symbol-prefixed arch. Âat least,
>> it broke every Blackfin board:
>> init/built-in.o: In function `populate_rootfs':
>> init/initramfs.c:(.init.text+0x2548): undefined reference to `__initramfs_size'
>> init/initramfs.c:(.init.text+0x254e): undefined reference to `__initramfs_size'
>> make: *** [.tmp_vmlinux1] Error 1
>>
>> look at VMLINUX_SYMBOL() in the vmlinux.lds.h file
>
> Thanks for your feedback. ÂCould you try the patch below and let me know
> if it works for your Blackfin board.

negative. same error. vmlinux.lds.h might need to be switched to
CONFIG_SYMBOL_PREFIX.
-mike
--
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/