[Buildroot] Unable to compile kernel

John Voltz john.voltz at gmail.com
Sun Mar 16 13:21:08 UTC 2008


Set the gcc optimization level to 2, 3, or S in menuconfig, under build
options.

John


On Sun, Mar 16, 2008 at 8:52 AM, Thiago A. Corrêa <thiago.correa at gmail.com>
wrote:

> Hi,
>
>   I have been recently unable to compile the kernel, using both
> atstk1002_defconfig and atngw100_defconfig.
>
>   Here is what I get:
>
> include/asm/ocd.h: In function 'die':
> include/asm/ocd.h:525: error: Parameter 1 to __builtin_mfdr must be a
> constant number
> make[2]: *** [arch/avr32/kernel/traps.o] Error 1
> make[1]: *** [arch/avr32/kernel] Error 2
> make[1]: Leaving directory
> `/root/buildroot2-avr32/project_build_avr32/atngw100/linux-2.6.24'
> make: *** [/root/buildroot2-avr32/binaries/atngw100/atngw100-
> linux-2.6.24-20080316]
> Error 2
>
>   The kernel version hasn't changed (2.6.24) or the toolchain as far
> as I know, so I can only guess it's a new patch(?).
>   Anyone having the same issue?
>
> Kind Regards,
>   Thiago A. Correa
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20080316/bdb1c7d9/attachment-0002.htm 


More information about the buildroot mailing list