Re: Compile error on 2.6.10-rc1-mm1

From: Andrew Morton
Date: Fri Oct 29 2004 - 04:48:20 EST


Hariprasad Nellitheertha <hari@xxxxxxxxxx> wrote:
>
> The compile time error that few people have been seeing with
> the last couple of -mm releases are due to the changes
> introduced to arch/i386/kernel/vmlinux.lds.S to enable kexec
> based crashdumps.
> ...
> --- linux-2.6.10-rc1/arch/i386/kernel/vmlinux.lds.S~kdump-fix-bss-compile-error 2004-10-28 15:15:43.000000000 +0530
> +++ linux-2.6.10-rc1-hari/arch/i386/kernel/vmlinux.lds.S 2004-10-28 15:18:04.000000000 +0530
> @@ -117,8 +117,9 @@ SECTIONS
> /* freed after init ends here */
>
> __bss_start = .; /* BSS */
> + .bss.page_aligned : AT(ADDR(.bss.page_aligned) - LOAD_OFFSET) {
> + *(.bss.page_aligned) }
> .bss : AT(ADDR(.bss) - LOAD_OFFSET) {
> - *(.bss.page_aligned)
> *(.bss)
> }
> . = ALIGN(4);

It's hard to see how that could go wrong. Did you compare the before- and
after- output from `objdump -h vmlinux'?
-
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/