[OE-core] gcc 4.7 + mips64 architecture support

Martin Jansa martin.jansa at gmail.com
Mon Apr 30 14:31:55 UTC 2012


On Mon, Apr 30, 2012 at 07:15:11AM -0700, Khem Raj wrote:
> 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>

Thanks, works, done in meta-oe-contrib/jansa/test

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120430/7027eea3/attachment-0002.sig>


More information about the Openembedded-core mailing list