[yocto] [PATCH 1/1] beagleboard.conf: set DEFAULT_TUNE to cortexa8

Darren Hart dvhart at linux.intel.com
Tue Aug 23 12:06:29 PDT 2011



On 08/23/2011 11:36 AM, Saul Wold wrote:
>     [YOCTO #1381]
> 
>     lttng-ust generates an ICE when building for armv7, so change it to armv5
>     | vfprintf.c:956:1: error: unrecognizable insn:
>     | (insn 3968 3967 3969 145 (set (subreg:SI (reg/v:DI 160 [ _umax ]) 0)
>     |         (sign_extend:SI (mem:QI (plus:SI (mult:SI (reg/v:SI 166 [ nextarg ])
>     |                         (const_int 8 [0x8]))
>     |                     (reg/f:SI 370 [ argtable.7 ])) [0 *D.6937_569+0 S1
>     A32]))) vfprintf.c:555 -1
>     |      (nil))
>     | vfprintf.c:956:1: internal compiler error: in extract_insn, at recog.c:2109
> 
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  meta-yocto/conf/machine/beagleboard.conf |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-yocto/conf/machine/beagleboard.conf b/meta-yocto/conf/machine/beagleboard.conf
> index 0b3cebc..9ed8c59 100644
> --- a/meta-yocto/conf/machine/beagleboard.conf
> +++ b/meta-yocto/conf/machine/beagleboard.conf
> @@ -18,6 +18,8 @@ MACHINE_EXTRA_RRECOMMENDS += "beagleboard-audio"
>  # Allow for MMC booting (required by the NAND-less Beagleboard XM)
>  EXTRA_IMAGEDEPENDS += "u-boot x-load"
>  
> +DEFAULT_TUNE = "cortexa8"
> +

Sorry, I didn't mean for this to be a final solution, just a means to
determine the problem. Removing neon eliminates the vector floating
point, which we do not want to do. The correct fix for this is probably
in gcc. I'd rather not build lttng for beagleboard than change the tune
default to DEFAULT_TUNE to "cortexa8".

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list