Re: build failure on powerpc with current -git
From: Grant Likely
Date: Sat Oct 18 2008 - 02:49:21 EST
On Fri, Oct 17, 2008 at 01:32:59PM -0600, Chris Friesen wrote:
> The current -git fails to build on 64-bit powerpc (failure log below) .
> Initially I tried using my older toolchain, when I first saw the problem
> I built a new toolchain with crosstool (gcc 4.1.2 and binutils 2.16.1)
> and tried again but got the same problem.
> 2.6.27 doesn't show this problem.
> Any ideas what's going on and how I can fix it?
This is a know bug with binutils 2.16.1. You can work around it by
either reverting commit 549e8152de8039506f69c677a4546e5427aa6ae7 or
upgrading to a newer version of binutils.
Nobody has a fix for this problem yet. (it's definitely a binutils bug,
but the kernel exposed it where it wasn't an issue before. I don't know
if support for 2.16.1 is going to be depreciated due to this. It seems
like there are still a fair few users of binutils 2.16.1)
> LD vmlinux.o
> MODPOST vmlinux.o
> WARNING: modpost: Found 4 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> BFD 2.16.1 internal error, aborting at
> line 6419 in elf_link_output_extsym
> Please report this bug.
> make: *** [.tmp_vmlinux1] Error 1
> make: *** [sub-make] Error 2
> 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/
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/