[OE-core] gcc 4.7 + mips64 architecture support

Khem Raj raj.khem at gmail.com
Mon Apr 30 14:15:11 UTC 2012


On Mon, Apr 30, 2012 at 3:43 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> I've found one more, which seems to happen only on x86(-64)
> /OE/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libav/libav_0.7.4.bb
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'

port the below commit from OE-Core/master

commit 1161c40a26146629613bd6a17b263175a492b751
Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Mar 30 12:07:39 2012 -0700

    gst-ffmpeg: Fix build with gcc 4.7

    A cmp instruction with two constants is invalid, therefore 'g' constraint
    is not correct but must be "rm" instead.

    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>




More information about the Openembedded-core mailing list