gcc seg fault on kernel build
Michael Hope
michael.hope at linaro.org
Thu Nov 18 21:08:22 UTC 2010
On Fri, Nov 19, 2010 at 6:26 AM, Rob Herring <robherring2 at gmail.com> wrote:
> Doing an allmodconfig build on the kernel, I get the following:
>
> CC arch/arm/kernel/asm-offsets.s
> In file included from
> /home/rob/proj/git/linux-2.6-dt/include/linux/kernel.h:12,
> from
> /home/rob/proj/git/linux-2.6-dt/include/linux/sched.h:54,
> from
> /home/rob/proj/git/linux-2.6-dt/arch/arm/kernel/asm-offsets.c:13:
> /usr/lib/gcc/arm-linux-gnueabi/4.4.5/include/stdarg.h:40: internal compiler
> error: Segmentation fault
>
> It occurs on Maverick 4.4, 4.5 and CodeSourcery 2009Q1 cross toolchains.
> It's confirmed by Codesourcery here:
>
> http://www.codesourcery.com/archives/arm-gnu/msg03719.html
>
> What's the status on this issue? I didn't see anything in Linaro gcc bugs
> that looks related.
Hi Rob. This is LP: #623945 'ICE using va_list with -g
-femit-struct-debug-baseonly' which was fixed in the recently released
Linaro GCC 4.5-2010.11. See:
https://bugs.launchpad.net/gcc-linaro/+bug/623945
for more information. Note that Linaro GCC 4.4 is in maintenance and
doesn't include the fix.
Out of interest, where do you pick up the binary build of your
toolchain from? Self built? From Ubuntu? Some other way? I'm
wondering about the best way you can pick up this fix.
-- Michael
More information about the linaro-toolchain
mailing list